{"id":181784,"date":"2026-05-28T14:48:41","date_gmt":"2026-05-28T12:48:41","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/greg-kroa-hartman-rasskazal-o-tom-kak-rust-mozhet-pomoch-v-borbe-s-oshibkami-v-yadre-linux"},"modified":"2026-05-28T14:48:41","modified_gmt":"2026-05-28T12:48:41","slug":"greg-kroa-hartman-rasskazal-o-tom-kak-rust-mozhet-pomoch-v-borbe-s-oshibkami-v-yadre-linux","status":"publish","type":"post","link":"https:\/\/prohoster.info\/et\/blog\/news\/greg-kroa-hartman-rasskazal-o-tom-kak-rust-mozhet-pomoch-v-borbe-s-oshibkami-v-yadre-linux","title":{"rendered":"Greg Croa-Hartman r\u00e4\u00e4kis, kuidas Rust v\u00f5ib aidata tuuma Linuxi vigade vastu v\u00f5itlemisel.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Greg Kroah-Hartman, kes vastutab Linuxi tuuma stabiilsete ja \"staging\" harude toetamise eest ning on peamine hooldaja 16 tuuma alam s\u00fcsteemi, esitles ettekannet Rust Week 2026 konverentsil, kus kirjeldas, kuidas Rust keel aitab v\u00e4ltida tuumas tekkivaid haavatavusi, mis tulenevad t\u00fc\u00fcpilistest C-keele arendajate vigadest m\u00e4lu, lukustuse, vigade k\u00e4sitlemise ja ebausaldusv\u00e4\u00e4rsete andmete t\u00f6\u00f6tlemise alal. Rusti peamiseks eelduseks peetakse selliste vigade avastamist kompileerimise etapis, mitte inimeste koodi \u00fclevaatamisel. Sellegipoolest ei peeta Rusti universaalseks lahenduseks, mis suudaks k\u00f5ik probleemid k\u00f5rvaldada, ning keegi ei plaani tuuma Rusti kirjutada: oodatakse Rusti j\u00e4rkj\u00e4rgulist rakendamist uute draiverite ja alam s\u00fcsteemide kaudu.<\/p>\n<p>As an example of kernel errors that could be avoided with Rust, an issue in the Bluetooth subsystem that went unnoticed for 15 years and a problem in the Xen hypervisor were mentioned. In the first case, a developer dereferenced a pointer without checking, and in the second case, a lock was forgotten in the error handling code.<br \/>\nAccording to Greg, most errors in the kernel are caused by such minor issues that accumulate over time and surface as vulnerabilities. In Rust, many of these problems are prevented by the compiler. For instance, Rust abstractions for locks in the kernel only allow access to internal pointers of structures after acquiring the corresponding lock, which is released automatically. Without acquiring the lock, it is impossible to access the structure pointers in Rust. <\/p>\n<p>Greg believes that such capabilities in Rust would have prevented 60% of the errors detected in the kernel, and the checks performed by the compiler would save maintainers time from having to discuss error handling correctness and the justification for placing locks in the right spots with the authors. Moreover, the introduction of Rust support has already positively influenced the C code in the kernel by tidying up the C code and interfaces, as well as borrowing some development techniques (for example, locks with limited scope have been implemented).<\/p>\n<p>T\u00e4nu t\u00fcpihalduss\u00fcsteemile, mis tagab kindlate reeglite j\u00e4rgimise, ja pideva integreerimise s\u00fcsteemide rakendamisele, mis kontrollivad koodi kogumise ajal, saavad muutuste vaatlejad Rustis keskenduda t\u00f6\u00f6loogika kontrollimisele, mitte ressurssidega manipuleerimise j\u00e4lgimisele. Rusti kasutamine v\u00f5imaldab ka andmete, mis tulevad varustuselt v\u00f5i v\u00e4liste s\u00fcsteemidelt, eest hoolikamalt suhtuda. Seda saavutatakse, eristades usaldusv\u00e4\u00e4rseid ja usaldamatuid andmeid t\u00fcpihaldustasandil: arendaja peab lihtsalt anal\u00fc\u00fcsima, kui liikuda usaldamatust olekust usaldatavasse seisundisse.<\/p>\n<p>Viimasel ajal avaldab Linuxi tuumaturvalisuse meeskond iga p\u00e4ev umbes 13 haavatavuse raporteid, mis tundub varasemate haavatavuste tuvastamise d\u00fcnaamikaga v\u00f5rreldes m\u00f5istuse maalt v\u00e4lja minevana (n\u00e4iteks eilse p\u00e4eva jooksul avaldati 277 haavatavuse raporteid tuumas). Gregi arvates on Rusti kasutamine \u00fcks t\u00f5husamaid viise v\u00e4hendada tuumas vigu, mis on p\u00f5hjustatud traditsioonilistest vigadest, mis on seotud vigade k\u00e4sitlemise ja ressursside haldamisega. Rusti toetus on tuumas juba katsetamisest kaugemale j\u00f5udnud ja m\u00f6\u00f6dunud aasta l\u00f5pus tunnustati seda tuuma p\u00f5hifunktsioonina. <\/p>\n<p><center><div class=\"youtube-placeholder\" data-id=\"0vhGWclF7LU\" onclick=\"loadVideo(this)\">\r\n        <img decoding=\"async\" src=\"https:\/\/img.youtube.com\/vi\/0vhGWclF7LU\/hqdefault.jpg\" alt=\"M\u00e4ngi videot\" loading=\"lazy\" width=\"480\" height=\"360\" style=\"width:100%;height:auto;\">\r\n        <div class=\"play-button\"><\/div>\r\n    <\/div><\/center><br \/>\n<br \/>Allikas: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=65549\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0413\u0440\u0435\u0433 \u041a\u0440\u043e\u0430-\u0425\u0430\u0440\u0442\u043c\u0430\u043d (Greg Kroah-Hartman), \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0438 &#171;staging&#187; \u0432\u0435\u0442\u043e\u043a \u044f\u0434\u0440\u0430 Linux \u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0439 \u043f\u043e\u0441\u0442 \u043c\u044d\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0432 16 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u044f\u0434\u0440\u0430, \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b \u0441 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u043c \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Rust Week 2026, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043b, \u043a\u0430\u043a \u044f\u0437\u044b\u043a Rust \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0432 \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0438 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u044f\u0434\u0440\u0435 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439, \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0449\u0438\u0445 \u0438\u0437-\u0437\u0430 \u0442\u0438\u043f\u0438\u0447\u043d\u044b\u0445 \u043e\u0448\u0438\u0431\u043e\u043a \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u0421\u0438 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043f\u0430\u043c\u044f\u0442\u044c\u044e, [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-181784","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0413\u0440\u0435\u0433 \u041a\u0440\u043e\u0430-\u0425\u0430\u0440\u0442\u043c\u0430\u043d (Greg Kroah-Hartman), \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0438 &quot;staging&quot; \u0432\u0435\u0442\u043e\u043a \u044f\u0434\u0440\u0430 Linux \u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0439 \u043f\u043e\u0441\u0442 \u043c\u044d\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0432 16 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u044f\u0434\u0440\u0430, \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b \u0441 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u043c \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Rust Week 2026, \u0432.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Erik Peterson\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/et\/blog\/news\/greg-kroa-hartman-rasskazal-o-tom-kak-rust-mozhet-pomoch-v-borbe-s-oshibkami-v-yadre-linux\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"et_EE\" \/>\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\u0413\u0440\u0435\u0433 \u041a\u0440\u043e\u0430-\u0425\u0430\u0440\u0442\u043c\u0430\u043d \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043b \u043e \u0442\u043e\u043c, \u043a\u0430\u043a Rust \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0432 \u0431\u043e\u0440\u044c\u0431\u0435 \u0441 \u043e\u0448\u0438\u0431\u043a\u0430\u043c\u0438 \u0432 \u044f\u0434\u0440\u0435 Linux | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0413\u0440\u0435\u0433 \u041a\u0440\u043e\u0430-\u0425\u0430\u0440\u0442\u043c\u0430\u043d (Greg Kroah-Hartman), \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0438 &quot;staging&quot; \u0432\u0435\u0442\u043e\u043a \u044f\u0434\u0440\u0430 Linux \u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0439 \u043f\u043e\u0441\u0442 \u043c\u044d\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0432 16 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u044f\u0434\u0440\u0430, \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b \u0441 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u043c \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Rust Week 2026, \u0432.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/et\/blog\/news\/greg-kroa-hartman-rasskazal-o-tom-kak-rust-mozhet-pomoch-v-borbe-s-oshibkami-v-yadre-linux\" \/>\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=\"2026-05-28T12:48:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-05-28T12:48:41+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\udd47Greg Kroah-Hartman r\u00e4\u00e4kis, kuidas Rust v\u00f5ib aidata v\u00e4hendada vigu Linuxi tuumas | ProHoster","description":"Greg Kroah-Hartman, kes vastutab Linuxi tuuma stabiilsete ja \"staging\" harude toe eest ning t\u00f6\u00f6tab 16 tuuma alams\u00fcsteemi hooldurina, esines ettekandega Rust Week 2026 konverentsil.","canonical_url":"https:\/\/prohoster.info\/et\/blog\/news\/greg-kroa-hartman-rasskazal-o-tom-kak-rust-mozhet-pomoch-v-borbe-s-oshibkami-v-yadre-linux","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"et_EE","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\u0413\u0440\u0435\u0433 \u041a\u0440\u043e\u0430-\u0425\u0430\u0440\u0442\u043c\u0430\u043d \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043b \u043e \u0442\u043e\u043c, \u043a\u0430\u043a Rust \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0432 \u0431\u043e\u0440\u044c\u0431\u0435 \u0441 \u043e\u0448\u0438\u0431\u043a\u0430\u043c\u0438 \u0432 \u044f\u0434\u0440\u0435 Linux | ProHoster","og:description":"\u0413\u0440\u0435\u0433 \u041a\u0440\u043e\u0430-\u0425\u0430\u0440\u0442\u043c\u0430\u043d (Greg Kroah-Hartman), \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0438 &quot;staging&quot; \u0432\u0435\u0442\u043e\u043a \u044f\u0434\u0440\u0430 Linux \u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0439 \u043f\u043e\u0441\u0442 \u043c\u044d\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0432 16 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u044f\u0434\u0440\u0430, \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b \u0441 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u043c \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Rust Week 2026, \u0432.","og:url":"https:\/\/prohoster.info\/et\/blog\/news\/greg-kroa-hartman-rasskazal-o-tom-kak-rust-mozhet-pomoch-v-borbe-s-oshibkami-v-yadre-linux","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":"2026-05-28T12:48:41+00:00","article:modified_time":"2026-05-28T12:48:41+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\/et\/wp-json\/wp\/v2\/posts\/181784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/comments?post=181784"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts\/181784\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/media?parent=181784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/categories?post=181784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/tags?post=181784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}