kernel: enumerate internal kexts during boot

This commit is contained in:
2023-04-08 09:27:21 +01:00
parent a1f54fd156
commit 9b75ca8b8c
6 changed files with 151 additions and 4 deletions

View File

@@ -6,3 +6,7 @@ kern_status_t online(struct kext *self)
printk("Hello, world!");
return KERN_OK;
}
DEFINE_KEXT("net.doorstuck.socks.hello-world",
online, NULL,
"net.doorstuck.socks-kernel");