[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-733049-105":59,"doc-detail-733049-en":130,"doc-similar-733049":201},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","making-safe-os-kernel-extensions-expressive-efficient-and-easy-to-program-dissertation","MAKING SAFE OS KERNEL EXTENSIONS EXPRESSIVE, EFFICIENT, AND EASY TO PROGRAM - Dissertation","","OS Kernel extensibility is fundamental for modern operating systems, and safe kernel extensions have expanded from simple packet filtering to large programs customizing storage, networking, and scheduling. These frameworks target safety properties such as preventing crashes and ensuring proper termination, notably via Linux eBPF’s static verification. The dissertation analyzes emerging limitations in three dimensions: expressiveness, efficiency, and programmability. It introduces Seccomp-eBPF, Uno-kprobe, eKCFI, and Rex to address tradeoffs harming security-policy power, instrumentation overhead, and verifier-related programming gaps.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/making-safe-os-kernel-extensions-expressive-efficient-and-easy-to-program-dissertation/733049/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/making-safe-os-kernel-extensions-expressive-efficient-and-easy-to-program-dissertation/733049.png","ImageObject",300,407,{"name":92,"@type":93},"Stanford","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-11-22",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What safety goals do safe kernel extension frameworks target?","Question",{"text":112,"@type":113},"They aim to provide important safety properties for extension programs, including the absence of crashing behavior and proper termination across program paths.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does this dissertation address the expressiveness limitation in system call filtering?",{"text":117,"@type":113},"It proposes Seccomp-eBPF, a programmable system call filtering mechanism that leverages more expressive eBPF capabilities through a designed framework and security model.",{"name":119,"@type":110,"acceptedAnswer":120},"What solutions are proposed to improve efficiency and programmability of kernel extensions?",{"text":121,"@type":113},"For efficiency, it presents Uno-kprobe for universally trapless kernel probing and eKCFI for scalable, complete-coverage kernel control flow integrity protection. For programmability, it introduces Rex to avoid reliance on a static verifier by using Rust language safety plus a lightweight extralingual runtime.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},733049,1795383439,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":145,"preview_urls":146},2336477552062,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","© 2025 Jinghao Jia  \nMAKING SAFE OS KERNEL EXTENSIONS EXPRESSIVE, EFFICIENT,  \nAND EASY TO PROGRAM  \nBY  \nJINGHAO JIA  \nDISSERTATION  \nSubmitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Computer Science in the Graduate College of the  \nUniversity of Illinois Urbana-Champaign, 2025  \nUrbana, Illinois  \nDoctoral Committee:  \nAssistant Professor Tianyin Xu, Chair  \nAssociate Professor Adam Bates  \nProfessor Hubertus Franke  \nDr. Michael V. Le, IBM  \nProfessor Darko Marinov  \nAssistant Professor Dan Williams, Virginia Tech  \nABSTRACT  \nOS Kernel extensibility has long been an essential capability of contemporary operating systems. In recent years, safe kernel extensions have gained significant traction, evolving from simple packet filters to large, complex programs that customize storage, networking, and scheduling. As the name suggests, these frameworks promise important safety properties for extension programs, including the absence of crashing behavior and proper termination. A notable example is the eBPF kernel extensions on Linux, which employs a static verification scheme to ensure safety properties hold on all program paths. With the increasing popularity, problems and issues in existing safe kernel extension frameworks gradually emerge. This dissertation dives into these problems for three important aspects of safe kernel extensibility—expressiveness, efficiency, as well as programmability—and identifies them as consequences of improper tradeoffs in the design of safe kernel extensions.  \nOn the expressiveness aspect, this dissertation looks at the use case of system call filtering with Linux’s Seccomp, where the existing cBPF extension fails to provide the needed expressiveness to support advanced system call security use cases. This dissertation proposes a new, programmable system call filtering mechanism, Seccomp-eBPF, which leverages the more expressive eBPF extensions through a carefully designed framework and security model. Using Seccomp-eBPF, users, whether privileged or not, are able to implement enhanced system call security policies to mitigate vulnerabilities that cannot be handled before.  \nNext, on the efficiency aspect, this dissertation considers two instrumentation use cases of kernel extensions: kernel probing and kernel control flow integrity protection, both suffering from the inefficiency of existing mechanisms. For the kernel probing use case, this dissertation presents Uno-kprobe, a new kernel probe design that achieves universally trapless probing and eliminates the expensive context switches associated with existing trap-based probing implementation for kernel extensions. For kernel control flow integrity protection, this dissertation introduces eKCFI, an eBPF-based KCFI framework that features new instrumentation and attachment mechanisms, which achieves complete kernel code coverage, scalable eBPF program attachment, and efficient kernel instrumentation.  \nLastly, on the programmability aspect, this dissertation focuses on the existing eBPF extension framework, where the use of static verification incurs significant difficulties in programming eBPF programs—correct programs are often rejected by the verifier due toa gap between the high-level programming language and the low-level verification. This dissertation proposes a new design of safe kernel extension frameworks with Rex, in which  \nextension safety is realized through the inherent language-based safety from Rust, combined with a lightweight extralingual runtime for properties unsuitable for static analysis. Rex eliminates the need for a static verifier and the associated efforts to work around verification issues, thereby closing the language-verifier gap and significantly improving extension programmability.  \nTo those who have been there seeing me and supporting me—we dreamed alone, but  \ntogether we believed.  \nACKNOWLEDGMENTS  \nAs I sit down to write my dissertation, I still cannot believe t","cbCaikGSi5I7j93q","https://ap.wps.com/l/cbCaikGSi5I7j93q","pdf",1552803,126,"English","# Abstract\n## Expressiveness: Seccomp-eBPF\n## Efficiency: Uno-kprobe and eKCFI\n## Programmability: Rex\n# Acknowledgments","[{\"question\":\"What safety goals do safe kernel extension frameworks target?\",\"answer\":\"They aim to provide important safety properties for extension programs, including the absence of crashing behavior and proper termination across program paths.\"},{\"question\":\"How does this dissertation address the expressiveness limitation in system call filtering?\",\"answer\":\"It proposes Seccomp-eBPF, a programmable system call filtering mechanism that leverages more expressive eBPF capabilities through a designed framework and security model.\"},{\"question\":\"What solutions are proposed to improve efficiency and programmability of kernel extensions?\",\"answer\":\"For efficiency, it presents Uno-kprobe for universally trapless kernel probing and eKCFI for scalable, complete-coverage kernel control flow integrity protection. For programmability, it introduces Rex to avoid reliance on a static verifier by using Rust language safety plus a lightweight extralingual runtime.\"}]","MAKING SAFE OS KERNEL EXTENSIONS EXPRESSIVE, EFFICIENT, AND EASY TO PROGRAM - Dissertation | PDF",318,13,[147,151,155,159,163,167,171,175,179,183,187,192,197],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/53f281d80c380b14b58a0d175aa98da7.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/469a3cd019e2987a916c7fb112c97500.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/86e453fa881933e9acb9c9d33f637e7c.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/37e21828025a7e91df3319cdc5c3f4b1.webp",980,1268,{"page_no":24,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/bb95878a326204fac312b0c56a146ec0.webp",979,1267,{"page_no":29,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/8e23783c9c92edf716522257438481c4.webp",978,1265,{"page_no":34,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/f3d5e4a7ae4f49795931b01b8f5a89ae.webp",977,1264,{"page_no":39,"url":176,"width":177,"height":178},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/aa2d2da50bfedc991cd8219b6888bdf2.webp",976,1263,{"page_no":44,"url":180,"width":181,"height":182},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/22e4f35341dce086f03e2aa6161847e6.webp",975,1261,{"page_no":52,"url":184,"width":185,"height":186},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/542a926dd14b4be40ff5ebcf8ab29533.webp",974,1260,{"page_no":188,"url":189,"width":190,"height":191},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/37a0225440db97f4cacfde4ad9d329d2.webp",973,1259,{"page_no":193,"url":194,"width":195,"height":196},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/838281dcf5920c82e72f469df15c4a9b.webp",972,1257,{"page_no":145,"url":198,"width":199,"height":200},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/587c2fedf73393ca849bd9619b4fde1e.webp",971,1256,{"list":202,"token":66},[203,210,216,222,229,236,243,250,257,264],{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":208,"category_name":40,"create_tm":209},84663,"Characterizing and Bridging the Diagnostic Gap in eBPF Verifier Rejections","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809195254/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=x4i57NMlGQPsOs6R2f19QgUnutE%3D","characterizing-and-bridging-the-diagnostic-gap-in-ebpf-verifier-rejections",33,1784197546,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":81,"category_name":40,"create_tm":215},725976,"Drootkit - Kernel-Level Rootkit Detection and Recovery Based on eBPF","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230028830678/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=NZnbRCMuE7IthftJkA2YYi08T5w%3D","drootkit-kernel-level-rootkit-detection-and-recovery-based-on-ebpf",1795210573,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":8,"category_name":40,"create_tm":221},759582,"Approaches to Solving Proxy Performance Problems - for the Case of Multi-Port Passwordless Access","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044204012/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=77XcJVPJ3N%2B5vtrSHjnp%2BVGx36g%3D","approaches-to-solving-proxy-performance-problems-for-the-case-of-multi-port-passwordless-access",1795888585,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":227,"category_name":40,"create_tm":228},234,"XNX Gas Detector Calibration Guide 2023","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=lZ3zitQj1BB%2FKbLA4U%2Fwctn4nd4%3D","xnx-gas-detector-calibration-2023",7896,1776136863,{"doc_id":230,"doc_title":231,"file_type":137,"home_preview_img_url":232,"slug":233,"view_count":234,"category_name":40,"create_tm":235},227,"Sridevi Matka Chart Full Guide to Panel, Jodi & Pana Records","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727553/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=OTubymKXobC%2Bq05dN%2Fjosg2O57Q%3D","sridevi-matka-chart-full-guide-to-panel-jodi-pana-records",6934,1776136851,{"doc_id":237,"doc_title":238,"file_type":137,"home_preview_img_url":239,"slug":240,"view_count":241,"category_name":40,"create_tm":242},167314,"Linear Algebra and Its Applications 6th edition Textbook by david c. lay","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229876163444/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=E1JpQhNC6PMMTWAB0aU2h2TOWgk%3D","linear-algebra-and-its-applications-sixth-edition-david-c-lay-steven-r-lay-judi-j-mcdonald",5867,1788211707,{"doc_id":244,"doc_title":245,"file_type":137,"home_preview_img_url":246,"slug":247,"view_count":248,"category_name":40,"create_tm":249},32070,"Blueprint Pengelolaan Sumber Daya Manusia Kesehatan (SDMK) Tahun 2025–2029","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229758685683/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=7Upi5VR%2FDIaMkeqo3Rh8TeDtT8k%3D","healthcare-human-resources-management-blueprint-sdmk-20252029",1292,1780779716,{"doc_id":251,"doc_title":252,"file_type":137,"home_preview_img_url":253,"slug":254,"view_count":255,"category_name":40,"create_tm":256},148514,"Developmental Biology - Twelfth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229868853261/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=rZxXmi8C%2BJjeVjL4NW6aoXtpjw8%3D","developmental-biology-twelfth-edition",1250,1787780705,{"doc_id":258,"doc_title":259,"file_type":137,"home_preview_img_url":260,"slug":261,"view_count":262,"category_name":40,"create_tm":263},121,"Letter of Intent Sample for School","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693418846/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=5hSeP8QyBZIYG6DMaci2JcjfN7Q%3D","letter-of-intent-sample-for-school",1059,1776135210,{"doc_id":265,"doc_title":266,"file_type":137,"home_preview_img_url":267,"slug":268,"view_count":269,"category_name":40,"create_tm":270},129209,"Laboratory Manual for Principles of General Chemistry - J. A. Beran - 11th Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840760175/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=KWbVwNxkrHWBWfM9sokv8%2B%2FguuU%3D","laboratory-manual-for-principles-of-general-chemistry-j-a-beran-11th-edition",887,1786011673]