{"id":181745,"date":"2026-05-26T02:49:17","date_gmt":"2026-05-26T00:49:17","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/kernelscript-0-1-0"},"modified":"2026-05-26T02:49:17","modified_gmt":"2026-05-26T00:49:17","slug":"kernelscript-0-1-0","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/kernelscript-0-1-0","title":{"rendered":"KernelScript 0.1.0","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex>      <noindex><\/p>\n<p>Bemutatva <strong><a rel=\"nofollow\" href=\"https:\/\/github.com\/multikernel\/kernelscript\">KernelScript<\/a><\/strong> \u2014 egy k\u00eds\u00e9rleti programoz\u00e1si nyelv az eBPF-programok, felhaszn\u00e1l\u00f3i bet\u00f6lt\u0151k \u00e9s a Linux kernel kiterjeszt\u00e9seinek fejleszt\u00e9s\u00e9hez egyetlen k\u00f3db\u00e1zisb\u00f3l. A projekt folytatja <strong>Multikernel Technologies<\/strong>, egy olyan c\u00e9g, amely a split-kernel \/ multikernel architekt\u00far\u00e1t n\u00e9pszer\u0171s\u00edti Linuxhoz. A KernelScript-r\u0151l a c\u00e9g alap\u00edt\u00f3ja, Cong Wang besz\u00e9lt a Linux Alap\u00edtv\u00e1ny Ny\u00edlt Forr\u00e1sk\u00f3d\u00fa Cs\u00facstal\u00e1lkoz\u00f3j\u00e1n; a projekt k\u00f3dja a GitHubon tal\u00e1lhat\u00f3, publik\u00e1lt licenc alatt <strong>Apache 2.0<\/strong>.<\/p>\n<p><\/noindex><\/noindex><br \/>\n<noindex><\/p>\n<p>Az eBPF (Extended Berkeley Packet Filter) egy technol\u00f3gia, amely lehet\u0151v\u00e9 teszi, hogy kis programokat futtassunk a Linux kernelben an\u00e9lk\u00fcl, hogy meg\u00e9rintetn\u00e9nk a k\u00f3dj\u00e1t, \u00e9s ne kock\u00e1ztatn\u00e1nk a rendszer stabilit\u00e1s\u00e1t. Az eBPF sz\u00e1mos feladat megold\u00e1s\u00e1ban seg\u00edt, a teljes\u00edtm\u00e9nyfigyel\u00e9st\u0151l kezdve a biztons\u00e1g \u00e9s a h\u00e1l\u00f3zati optimaliz\u00e1ci\u00f3 biztos\u00edt\u00e1s\u00e1ig. P\u00e9ld\u00e1ul az eBPF seg\u00edts\u00e9g\u00e9vel val\u00f3s id\u0151ben nyomon lehet k\u00f6vetni a rendszerh\u00edv\u00e1sokat, a h\u00e1l\u00f3zati forgalmat \u00e9s m\u00e1s esem\u00e9nyeket. Ez lehet\u0151v\u00e9 teszi a teljes\u00edtm\u00e9ny sz\u0171k keresztmetszeteinek azonos\u00edt\u00e1s\u00e1t \u00e9s a rendszer optimaliz\u00e1l\u00e1s\u00e1t (<a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/companies\/selectel\/articles\/887272\/\">Habr<\/a>).<\/p>\n<p><\/noindex><\/p>\n<p>A KernelScript \u00f6tlete, hogy az eBPF fejleszt\u00e9s\u00e9t kev\u00e9sb\u00e9 megterhel\u0151v\u00e9 tegye, mint a C + libbpf kombin\u00e1ci\u00f3val, \u00e9s ne korl\u00e1toz\u00f3djon csup\u00e1n a nyomk\u00f6vet\u00e9sre, mint a bpftrace. A fejleszt\u0151k a nyelvet t\u00edpusbiztos DSL-k\u00e9nt \u00edrj\u00e1k le, amely \u00f6tv\u00f6zi <strong>eBPF<\/strong>, a felhaszn\u00e1l\u00f3i \u00e9s kernelspace fejleszt\u00e9st: egyetlen forr\u00e1sf\u00e1jlb\u00f3l a ford\u00edt\u00f3nak kell gener\u00e1lnia a k\u00f3dot eBPF-programokhoz, a felhaszn\u00e1l\u00f3i t\u00e9r r\u00e9sz\u00e9hez \u00e9s az integr\u00e1ci\u00f3hoz kernel modulokkal a kfunc-on kereszt\u00fcl.<\/p>\n<p>A KernelScript \u00e1ltal \u00edg\u00e9rt lehet\u0151s\u00e9gek:<\/p>\n<ul>\n<li>\n<p><strong>K\u00fcl\u00f6nb\u00f6z\u0151 c\u00e9lokra val\u00f3 ford\u00edt\u00e1s egy f\u00e1jlb\u00f3l<\/strong> \u2014 a @xdp, @tc, @helper \u00e9s @kfunc attrib\u00fatumokkal rendelkez\u0151 funkci\u00f3k automatikusan a megfelel\u0151 r\u00e9szhez tartoznak: XDP\/TC program, helper funkci\u00f3, kernel funkci\u00f3 vagy norm\u00e1l felhaszn\u00e1l\u00f3i t\u00e9r k\u00f3d.<\/p>\n<\/li>\n<li>\n<p><strong>A tail calls automatiz\u00e1l\u00e1sa<\/strong> \u2014 a programt\u00f6mb manu\u00e1lis be\u00e1ll\u00edt\u00e1sa \u00e9s a bpf_tail_call() h\u00edv\u00e1sok helyett a fejleszt\u0151knek javasolt a m\u00e1sik funkci\u00f3 egyszer\u0171 h\u00edv\u00e1sa, m\u00edg az alacsony szint\u0171 eBPF-k\u00f3d gener\u00e1l\u00e1s\u00e1t a ford\u00edt\u00f3ra b\u00edzz\u00e1k.<\/p>\n<\/li>\n<li>\n<p><strong>Egyszer\u0171s\u00edtett munka a dynptr \u00e9s eBPF t\u00e9rk\u00e9pekkel<\/strong> \u2014 a nyelv elrejti a bpf_ringbuf_reserve_dynptr, bpf_dynptr_write \u00e9s hasonl\u00f3 API-k k\u00e9zi kezel\u00e9s\u00e9nek egy r\u00e9sz\u00e9t. Az eBPF t\u00e9rk\u00e9pek glob\u00e1lis v\u00e1ltoz\u00f3kk\u00e9nt haszn\u00e1lhat\u00f3k, amelyek k\u00fcl\u00f6nb\u00f6z\u0151 programok sz\u00e1m\u00e1ra el\u00e9rhet\u0151k.<\/p>\n<\/li>\n<li>\n<p><strong>A programok \u00e9letciklus\u00e1nak ellen\u0151rz\u00e9se<\/strong> \u2014 az eBPF-programok t\u00edpusbiztos \u00e9rt\u00e9kk\u00e9nt vannak megjelen\u00edtve, ami elk\u00e9pzel\u00e9s szerint lehet\u0151v\u00e9 teszi a ford\u00edt\u00e1si szakaszban olyan hib\u00e1k elker\u00fcl\u00e9s\u00e9t, mint p\u00e9ld\u00e1ul a attach() h\u00edv\u00e1sa a sikeres load() el\u0151tt.<\/p>\n<\/li>\n<li>\n<p><strong>A kfunc t\u00e1mogat\u00e1sa<\/strong> \u2014 A KernelScript lehet\u0151v\u00e9 teszi a @kfunc attrib\u00fatummal rendelkez\u0151 funkci\u00f3k deklar\u00e1l\u00e1s\u00e1t, amelyek a mag t\u00e9rben hajt\u00f3dnak v\u00e9gre, \u00e9s eBPF programokb\u00f3l h\u00edvhat\u00f3k; sz\u00e1mukra automatikus kernel modul \u00e9s BTF regisztr\u00e1ci\u00f3k gener\u00e1l\u00e1s\u00e1t \u00edg\u00e9rik.<\/p>\n<\/li>\n<li>\n<p><strong>F\u0151bb eBPF programt\u00edpusok t\u00e1mogat\u00e1sa<\/strong> \u2014 A README p\u00e9ld\u00e1kat tartalmaz XDP, TC, probe programokra \u00e9s perf_eventre, bele\u00e9rtve a hardveres teljes\u00edtm\u00e9nym\u00e9r\u0151kkel val\u00f3 munk\u00e1t is.<\/p>\n<\/li>\n<\/ul>\n<p>A szerz\u0151k k\u00fcl\u00f6n hangs\u00falyozz\u00e1k, hogy a KernelScript nem helyettes\u00edti a Linux magot vagy az \u00faj eBPF runtime-ot. Ez ink\u00e1bb egy ford\u00edt\u00f3 \u00e9s egy magas szint\u0171 nyelv, amelynek c\u00e9lja a megszokott alacsony szint\u0171 komponensek, mint az eBPF k\u00f3d, felhaszn\u00e1l\u00f3i ter\u00fclet\u0171 bet\u00f6lt\u0151k, Makefile \u00e9s sz\u00fcks\u00e9g eset\u00e9n kernel modul gener\u00e1l\u00e1sa.<\/p>\n<p>Jelenleg a projektet korai k\u00eds\u00e9rletk\u00e9nt kell kezelni. A rep\u00f3ban egy\u00e9rtelm\u0171en szerepel, hogy a KernelScript a <strong>beta<\/strong>st\u00e1diumban van, a szintaxis \u00e9s az API v\u00e1ltozhat visszamen\u0151leges kompatibilit\u00e1s n\u00e9lk\u00fcl, \u00e9s production k\u00f6rnyezetben val\u00f3 haszn\u00e1lata jelenleg nem aj\u00e1nlott.<\/p>\n<p>Forr\u00e1s: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/news\/opensource\/18301757\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d KernelScript \u2014 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439 \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 eBPF-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u043e\u0432 \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439 \u044f\u0434\u0440\u0430 Linux \u0438\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u043a\u043e\u0434\u043e\u0432\u043e\u0439 \u0431\u0430\u0437\u044b. \u041f\u0440\u043e\u0435\u043a\u0442 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 Multikernel Technologies, \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f, \u043f\u0440\u043e\u0434\u0432\u0438\u0433\u0430\u044e\u0449\u0430\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 split-kernel \/ multikernel \u0434\u043b\u044f Linux. \u041e KernelScript \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043b \u043e\u0441\u043d\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Cong Wang \u043d\u0430 Linux Foundation Open Source Summit; \u043a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043d\u0430 GitHub \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 Apache 2.0. eBPF (Extended [&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-181745","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=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d KernelScript \u2014 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439 \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 eBPF-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c.\" \/>\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\/hu\/blog\/news\/kernelscript-0-1-0\" \/>\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\udd47KernelScript 0.1.0 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d KernelScript \u2014 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439 \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 eBPF-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/kernelscript-0-1-0\" \/>\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-26T00:49:17+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-05-26T00:49:17+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\udd47KernelScript 0.1.0 | ProHoster","description":"Bemutat\u00e1sra ker\u00fclt a KernelScript \u2014 egy k\u00eds\u00e9rleti programoz\u00e1si nyelv az eBPF programok fejleszt\u00e9s\u00e9hez.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/kernelscript-0-1-0","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\udd47KernelScript 0.1.0 | ProHoster","og:description":"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d KernelScript \u2014 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439 \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 eBPF-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c.","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/kernelscript-0-1-0","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-26T00:49:17+00:00","article:modified_time":"2026-05-26T00:49:17+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\/181745","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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=181745"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/181745\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=181745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=181745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=181745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}