{"id":105187,"date":"2022-09-28T09:36:45","date_gmt":"2022-09-28T07:36:45","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/desyataya-versiya-patchej-dlya-yadra-linux-s-podderzhkoj-yazyka-rust"},"modified":"2022-09-28T09:36:45","modified_gmt":"2022-09-28T07:36:45","slug":"desyataya-versiya-patchej-dlya-yadra-linux-s-podderzhkoj-yazyka-rust","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/desyataya-versiya-patchej-dlya-yadra-linux-s-podderzhkoj-yazyka-rust","title":{"rendered":"A Linux kernel patches tizedik verzi\u00f3ja Rust nyelv t\u00e1mogat\u00e1s\u00e1val","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Miguel Ojeda, a project author of Rust-for-Linux, proposed for consideration by the Linux kernel developers the release of version 10 components for device driver development in the Rust language. This is the eleventh edition of the patches considering the first variant, published without a version number. The inclusion of Rust support has been approved by Linus Torvalds for integration into the Linux kernel 6.1, provided no unforeseen issues arise. The development is financed by Google and the ISRG (Internet Security Research Group), which is the founder of the Let\u2019s Encrypt project and promotes HTTPS and the development of technologies to enhance internet security.      <\/p>\n<p>A legut\u00f3bbi jav\u00edt\u00e1shoz hasonl\u00f3an a v10-es kiad\u00e1s is a legsz\u00fcks\u00e9gesebb minimumra van reduk\u00e1lva, elegend\u0151 ahhoz, hogy egy egyszer\u0171, Rust nyelven \u00edrt kernelmodult \u00f6ssze lehessen \u00e1ll\u00edtani. A legut\u00f3bbi verzi\u00f3hoz k\u00e9pest a k\u00fcl\u00f6nbs\u00e9gek apr\u00f3 m\u00f3dos\u00edt\u00e1sokra, a sizeof ARRAY_SIZE \u00e9rt\u00e9kre t\u00f6rt\u00e9n\u0151 cser\u00e9j\u00e9re a kallsyms.c f\u00e1jlban \u00e9s a jav\u00edt\u00e1sok alkalmaz\u00e1s\u00e1ra a v6.0-rc7 kernelre vonatkoznak. A minim\u00e1lis patch m\u00e9rete 40 ezerr\u0151l 13 ezer sor k\u00f3dra cs\u00f6kkent, ami megk\u00f6nny\u00edti a Rust t\u00e1mogat\u00e1s\u00e1nak elfogad\u00e1s\u00e1t a k\u00f6zponti kernelbe. A minim\u00e1lis t\u00e1mogat\u00e1s biztos\u00edt\u00e1sa ut\u00e1n a megl\u00e9v\u0151 funkcionalit\u00e1st fokozatosan tervezik b\u0151v\u00edteni, \u00e1tv\u00e9ve m\u00e1s m\u00f3dos\u00edt\u00e1sokat is a Rust-for-Linux \u00e1gb\u00f3l.    <\/p>\n<p>A javasolt m\u00f3dos\u00edt\u00e1sok lehet\u0151v\u00e9 teszik a Rust haszn\u00e1lat\u00e1t m\u00e1sodik nyelvk\u00e9nt a meghajt\u00f3k \u00e9s kernel modulok fejleszt\u00e9s\u00e9hez. A Rust t\u00e1mogat\u00e1sa opcion\u00e1lnak sz\u00e1m\u00edt, amely alap\u00e9rtelmez\u00e9s szerint nem akt\u00edv, \u00e9s nem okoz Rust k\u00f6telez\u0151 build-f\u00fcgg\u0151s\u00e9gek k\u00f6z\u00e9 sorol\u00e1s\u00e1t a kernelhez. A Rust haszn\u00e1lata a meghajt\u00f3k fejleszt\u00e9se sor\u00e1n minim\u00e1lis er\u0151fesz\u00edt\u00e9ssel teszi lehet\u0151v\u00e9 biztons\u00e1gosabb \u00e9s jobb min\u0151s\u00e9g\u0171 meghajt\u00f3k l\u00e9trehoz\u00e1s\u00e1t, megszabad\u00edtva azokat az olyan probl\u00e9m\u00e1kt\u00f3l, mint a mem\u00f3ria ter\u00fclet\u00e9nek hozz\u00e1f\u00e9r\u00e9se a felszabad\u00edt\u00e1s ut\u00e1n, a null pointerek derefer\u00e1l\u00e1sa \u00e9s a puffert\u00fall\u00e9p\u00e9s.    <\/p>\n<p>A mem\u00f3ria biztons\u00e1gos kezel\u00e9se a Rust nyelvben a ford\u00edt\u00e1s sor\u00e1n a hivatkoz\u00e1sok ellen\u0151rz\u00e9s\u00e9vel, az objektumok tulajdonl\u00e1s\u00e1nak nyomon k\u00f6vet\u00e9s\u00e9vel, valamint az objektumok \u00e9lettartam\u00e1nak (l\u00e1that\u00f3s\u00e1g\u00e1nak) figyelembev\u00e9tel\u00e9vel t\u00f6rt\u00e9nik, tov\u00e1bb\u00e1 a mem\u00f3ri\u00e1hoz val\u00f3 hozz\u00e1f\u00e9r\u00e9s helyess\u00e9g\u00e9nek \u00e9rt\u00e9kel\u00e9s\u00e9vel a k\u00f3d futtat\u00e1sa alatt. A Rust eszk\u00f6z\u00f6ket is biztos\u00edt a eg\u00e9sz sz\u00e1mok t\u00falfut\u00e1s\u00e1nak v\u00e9delm\u00e9re, k\u00f6telez\u0151v\u00e9 teszi a v\u00e1ltoz\u00f3k \u00e9rt\u00e9keinek inicializ\u00e1l\u00e1s\u00e1t haszn\u00e1lat el\u0151tt, jobban kezeli a hib\u00e1kat a standard k\u00f6nyvt\u00e1rban, alkalmazza az immutable (v\u00e1ltozhatatlan) hivatkoz\u00e1sok \u00e9s v\u00e1ltoz\u00f3k fogalm\u00e1t alap\u00e9rtelmez\u00e9s szerint, valamint er\u0151s statikus t\u00edpust k\u00edn\u00e1l a logikai hib\u00e1k minimaliz\u00e1l\u00e1s\u00e1ra.<br \/>\n<br \/>Forr\u00e1s: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=57840\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041c\u0438\u0433\u0435\u043b\u044c \u041e\u0445\u0435\u0434\u0430 (Miguel Ojeda), \u0430\u0432\u0442\u043e\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Rust-for-Linux, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0434\u043b\u044f \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438 \u044f\u0434\u0440\u0430 Linux \u0432\u044b\u043f\u0443\u0441\u043a v10 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust. \u042d\u0442\u043e \u043e\u0434\u0438\u043d\u043d\u0430\u0434\u0446\u0430\u0442\u0430\u044f \u0440\u0435\u0434\u0430\u043a\u0446\u0438\u044f \u043f\u0430\u0442\u0447\u0435\u0439 \u0441 \u0443\u0447\u0451\u0442\u043e\u043c \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0431\u0435\u0437 \u043d\u043e\u043c\u0435\u0440\u0430 \u0432\u0435\u0440\u0441\u0438\u0438. \u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 Rust \u043e\u0434\u043e\u0431\u0440\u0435\u043d\u043e \u041b\u0438\u043d\u0443\u0441\u0443\u043c \u0422\u043e\u0440\u0432\u0430\u043b\u044c\u0434\u0441\u043e\u043c \u0434\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 \u044f\u0434\u0440\u0430 Linux 6.1, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0432\u0441\u043f\u043b\u044b\u0432\u0443\u0442 \u043d\u0435\u043f\u0440\u0435\u0434\u0432\u0438\u0434\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0444\u0438\u043d\u0430\u043d\u0441\u0438\u0440\u0443\u0435\u0442\u0441\u044f [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-105187","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041c\u0438\u0433\u0435\u043b\u044c \u041e\u0445\u0435\u0434\u0430 (Miguel Ojeda), \u0430\u0432\u0442\u043e\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Rust-for-Linux, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0434\u043b\u044f \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438 \u044f\u0434\u0440\u0430 Linux \u0432\u044b\u043f\u0443\u0441\u043a v10 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/news\/desyataya-versiya-patchej-dlya-yadra-linux-s-podderzhkoj-yazyka-rust\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0414\u0435\u0441\u044f\u0442\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u0430\u0442\u0447\u0435\u0439 \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u044f\u0437\u044b\u043a\u0430 Rust | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041c\u0438\u0433\u0435\u043b\u044c \u041e\u0445\u0435\u0434\u0430 (Miguel Ojeda), \u0430\u0432\u0442\u043e\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Rust-for-Linux, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0434\u043b\u044f \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438 \u044f\u0434\u0440\u0430 Linux \u0432\u044b\u043f\u0443\u0441\u043a v10 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/desyataya-versiya-patchej-dlya-yadra-linux-s-podderzhkoj-yazyka-rust\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-09-28T07:36:45+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-09-28T07:36:45+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47A Linux kernel tizedik verzi\u00f3ja, amely t\u00e1mogatja a Rust nyelvet | ProHoster","description":"Miguel Ojeda, a Rust-for-Linux projekt szerz\u0151je, felaj\u00e1nlotta a Linux kernel fejleszt\u0151inek, hogy fontolj\u00e1k meg a v10-es komponensek kiad\u00e1s\u00e1t eszk\u00f6zmeghajt\u00f3k Rust nyelv\u0171 fejleszt\u00e9s\u00e9hez.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/desyataya-versiya-patchej-dlya-yadra-linux-s-podderzhkoj-yazyka-rust","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0414\u0435\u0441\u044f\u0442\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u0430\u0442\u0447\u0435\u0439 \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u044f\u0437\u044b\u043a\u0430 Rust | ProHoster","og:description":"\u041c\u0438\u0433\u0435\u043b\u044c \u041e\u0445\u0435\u0434\u0430 (Miguel Ojeda), \u0430\u0432\u0442\u043e\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Rust-for-Linux, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0434\u043b\u044f \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438 \u044f\u0434\u0440\u0430 Linux \u0432\u044b\u043f\u0443\u0441\u043a v10 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust.","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/desyataya-versiya-patchej-dlya-yadra-linux-s-podderzhkoj-yazyka-rust","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2022-09-28T07:36:45+00:00","article:modified_time":"2022-09-28T07:36:45+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/105187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=105187"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/105187\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=105187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=105187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=105187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}