For kernel integration layers, the strongest matches are fishinabarrel/linux-kernel-module-rust (This project provides a specialized framework for writing memory-safe), openbsd/src (This repository contains the complete source code and kernel) and torvalds/linux (This repository is the actual Linux kernel, which serves). microsoft/windows-driver-samples and microsoft/windows-drivers-rs round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Hand-picked open-source kernel integration layers, ranked by GitHub stars and activity. Compare the top alternatives and find the best fit.
This project provides a development framework for writing loadable Linux kernel modules using the Rust programming language. It establishes a methodology for safe systems programming by enforcing memory and thread safety within the restricted execution environment of the kernel, allowing developers to extend operating system functionality while preventing common memory corruption errors. The framework distinguishes itself through automated generation of type-safe foreign function interfaces, which bridge high-level code with low-level kernel headers and system structures. It maps high-level s
This project provides a specialized framework for writing memory-safe Linux kernel modules in Rust, directly addressing kernel-level integration and driver development needs despite its narrower platform scope.
This repository contains the complete source code for the OpenBSD operating system and its base utilities. It is a Unix-like operating system focused on a secure, portable, and multi-user environment, featuring a C-based system kernel that manages hardware resources and provides essential services. The project provides a source-based system construction model to compile the core kernel and base utilities from raw files. It includes a cross-compilation toolchain for generating the tools and headers necessary to build binaries for target architectures different from the host machine. The codeb
This repository contains the complete source code and kernel for OpenBSD, providing the underlying monolithic kernel, device drivers, and system architecture needed for operating system kernel integration and extension work.
The Linux kernel is a monolithic operating system core that manages hardware resources, memory, and process scheduling across diverse computing architectures. It provides a standardized, POSIX-compliant environment for application execution while maintaining a modular driver framework that allows for the dynamic loading and removal of hardware interfaces. The project is distinguished by its high-performance concurrency toolkit, which utilizes lockless synchronization primitives and read-copy-update mechanisms to manage shared data access in multi-core environments. It incorporates a comprehen
This repository is the actual Linux kernel, which serves as the definitive framework and core for operating system kernel integration and device driver development.
This repository is a collection of reference source code and implementation examples for developing drivers using the Windows Driver Kit. It provides hardware device driver samples and development templates for building kernel-mode software that enables communication between the Windows operating system and hardware devices. The library includes examples for creating universal Windows drivers, which utilize a shared set of interfaces to operate across multiple versions of the operating system. It also contains specialized implementation samples for various hardware categories, including netwo
This repository provides a comprehensive collection of driver development templates and kernel-mode implementation examples for Windows, making it a relevant resource for building device drivers and OS integrations despite being platform-specific.
This project provides a framework and toolset for developing memory-safe kernel-mode and user-mode drivers for the Windows operating system. It enables developers to build drivers using safe programming patterns that prevent common memory errors and system crashes, while providing the necessary infrastructure to interface with low-level hardware and system APIs. The framework distinguishes itself by offering procedural macros and binding generation tools that translate complex C-style system headers into idiomatic, type-safe code. It includes a custom global allocator designed for the strict
This repository provides a framework and toolset specifically for memory-safe kernel-mode and user-mode driver development in Windows using Rust, satisfying most of the required kernel integration features despite being platform-specific rather than cross-platform.
XNU is a hybrid operating system kernel that combines a microkernel architecture with a monolithic layer for system services. It provides a foundation for operating system development, incorporating standardized system-call interfaces, a modular device driver framework, and mandatory access control security. The architecture features a Mach-based microkernel and a BSD-based monolithic layer. It utilizes a message-passing inter-process communication bus for secure data exchange between isolated kernel components and user-space processes, alongside an object-oriented driver framework that decou
This repository provides the core XNU hybrid kernel source code, offering the modular device driver architecture, memory management, and system integration required for kernel-level development.
bpftrace is a high-level eBPF tracing tool and kernel instrumentation framework for Linux. It provides a tracing language to instrument kernel and user-space events without recompiling the system, functioning as a dynamic system profiler and event aggregator. The project enables dynamic system tracing and Linux kernel observability by capturing tracepoints and dynamic probes in real time. It allows for kernel data inspection and runtime process debugging by accessing internal data structures and filtering specific process events. Its capability surface covers system performance analysis, inc
bpftrace is a high-level eBPF tracing and kernel instrumentation framework for Linux that provides powerful performance tracing, though it focuses on observation and profiling rather than full device driver development or module writing.
This project provides a customized Linux kernel and driver suite designed to enable hardware compatibility for Surface devices. It focuses on building and patching the Linux kernel to provide driver support for proprietary hardware components that are missing from the upstream source. The system includes a secure boot kernel signing mechanism and a process for enrolling custom keys into the system firmware. This allows the execution of patched kernels while maintaining system security protections. The project covers peripheral driver support for touchscreens, styluses, and keyboards, as well
This repository provides patched Linux kernels and hardware driver suites specifically tailored for Surface devices, fulfilling the need for custom driver integration and kernel extensions even though it is focused on a specific hardware ecosystem rather than serving as a general-purpose framework.
BCC is an eBPF development toolkit and tracing framework used for monitoring and analyzing the Linux kernel. It functions as a performance analysis tool and debugging utility to capture system events, measure kernel latency, and provide network observability. The project distinguishes itself by providing a build system that integrates with LLVM to compile C-like code into BPF bytecode at runtime. It utilizes BPF Type Format data for relocations to maintain cross-kernel compatibility and extracts kernel headers to ensure the generated programs match the specific kernel version. The toolkit co
BCC is an eBPF development framework for tracing and analyzing the Linux kernel, matching the kernel tracing and debugging aspects of the intent while focusing on observability rather than general device driver development.
This project is an educational framework and toolkit designed for developing and testing operating system kernels. It provides a structured environment for implementing fundamental system primitives, including virtual memory management, preemptive process scheduling, and filesystem organization, using Rust and C. The framework is specifically oriented toward RISC-V and x86 architectures, serving as a laboratory for learning how to build core system software from the ground up. The project distinguishes itself by supporting both bare-metal deployment and hardware emulation, allowing developers
This repository provides an educational framework and toolkit for building and testing operating system kernels in Rust and C, offering core memory management and hardware-level primitives but lacking production-grade driver architectures and security hardening.
Magisk is an Android rooting framework designed to manage system-level modifications and grant administrative access to mobile devices. It functions by patching boot and recovery images to inject custom code into the operating system initialization sequence, allowing for system-wide control while maintaining compatibility with the underlying hardware. The project distinguishes itself through a systemless modification layer that overlays a virtual file system on top of read-only partitions, enabling changes without altering core system files. It includes a policy daemon to manage security cont
Magisk provides a systemless framework for kernel-level integration and system-level modifications on Android, fulfilling the core functionality for device modification and root access though targeted specifically at mobile operating systems.
Kernel is an educational hobby operating system and low-level systems programming project written in Rust. Designed for students and hobbyists, the project provides a minimalist environment to explore computer architecture, CPU design, and kernel development directly on hardware without relying on a standard library or underlying operating system. The implementation features a freestanding language runtime and a custom target specification that replaces standard library components for bare-metal execution. It includes a multiboot bootloader interface to parse early-boot hardware handoff stat
This repository provides a hobby operating system written in Rust, which serves as a lower-level educational framework for exploring kernel development, even though it lacks broader cross-platform support and extensive device driver architectures.
Kernel-Bridge is a C++ framework designed for Windows kernel-mode development, providing a comprehensive toolkit for building drivers, hypervisors, and system-level monitoring tools. It serves as a foundational environment for managing low-level operating system interactions, including memory management, process control, and cross-layer communication. The project distinguishes itself by offering specialized primitives for hypervisor construction and hardware-assisted memory isolation. It facilitates advanced system manipulation through techniques such as direct kernel object modification, asy
Kernel-Bridge is a C++ framework for Windows kernel-mode development that provides foundational device driver architecture and memory management primitives, though it is focused on Windows rather than being cross-platform.
FreeRTOS-Kernel is a real-time operating system kernel for microcontrollers. It provides a multitasking environment through a priority-based task scheduler, an embedded memory manager, and an inter-process communication framework to ensure time-critical tasks meet their deadlines. The kernel includes a software timer engine for executing functions at predefined intervals or after set delays. It supports a minimal model of concurrent tasks and lightweight co-routine execution for systems with limited memory resources. The project covers a broad surface of embedded resource management, includi
FreeRTOS-Kernel is a real-time operating system kernel for microcontrollers providing multitasking and memory management, though its focus is embedded RTOS rather than broad general-purpose OS driver architecture or kernel extension frameworks.
This project provides a Linux kernel development environment and a system emulation suite for building and debugging kernel modules and baremetal assembly across multiple hardware architectures. It functions as a comprehensive sandbox and framework for low-level system development, utilizing QEMU to simulate hardware environments without the need for physical devices. The environment integrates cross-compilation toolchains using Buildroot and crosstool-NG to target x86_64, ARMv7, and ARMv8 platforms from a single host. It features a specialized kernel debugging framework that leverages GDB an
This repository provides a Linux kernel development and emulation environment centered on kernel module building and debugging, making it a fitting sandbox for low-level system work despite lacking some high-level architecture features.
| 仓库 | Star 数 | 语言 | 许可证 | 最后推送 |
|---|---|---|---|---|
| fishinabarrel/linux-kernel-module-rust | 1.3K | Rust | GPL-2.0 | |
| openbsd/src | 3.8K | C | — | |
| torvalds/linux | 237.4K | C | NOASSERTION | |
| microsoft/windows-driver-samples | 7.8K | C | MS-PL | |
| microsoft/windows-drivers-rs | 1.9K | Rust | Apache-2.0 | |
| apple/darwin-xnu | 11.3K | C | NOASSERTION | |
| bpftrace/bpftrace | 10K | C++ | apache-2.0 | |
| linux-surface/linux-surface | 7.4K | Shell | — | |
| iovisor/bcc | 22.5K | C | Apache-2.0 | |
| chyyuu/os_kernel_lab | 4K | Rust | GPL-3.0 |