2
2
Fork
You've already forked zig-kernel-module
0
A Linux kernel module example written in Zig
  • Zig 58.9%
  • Makefile 21.5%
  • C 19.6%
2026年06月04日 23:47:14 +02:00
src add module desc 2026年06月04日 23:02:57 +02:00
.gitignore add module desc 2026年06月04日 23:02:57 +02:00
build.zig add more build specifics 2026年06月04日 23:34:49 +02:00
build.zig.zon remove unneeded stuff 2026年06月04日 22:50:56 +02:00
Makefile init 2026年06月04日 22:02:41 +02:00
README.md add readme 2026年06月04日 23:47:14 +02:00

A Linux kernel module written in Zig

Make with:

make

Install:

sudo insmod zig.ko
sudo dmesg | tail -n 1
[50472.949571] Hello kernel from raw Zig!

Remove:

sudo rmmod zig
sudo dmesg | tail -n 2
[50472.949571] Hello kernel from raw Zig!
[50496.199949] Goodbye kernel from raw Zig!