Is there a demo hello world linux kernel module for zig v0.14.*.
I have found this project: GitHub - kassane/LKModule-zig: Zig Kernel Module
but looks like it was too old to compile.
Hi @rebornwwp, welcome to ziggit!
You are correct, that won’t compile as there have been a lot of changes to the build system. I created a fork and got it to compile with 0.14.*, and I think it is correct. There were a few build options that no longer seem to be available. It’s at least an updated starting point.
6 Likes
@Southporter works fine. thanks very much.
here is the result
[Thu Aug 7 02:22:34 2025] zigmodule: loading out-of-tree module taints kernel.
[Thu Aug 7 02:22:34 2025] zigmodule: module verification failed: signature and/or required key missing - tainting kernel
2 Likes