kernel: add second example kext for dependency test

This commit is contained in:
2023-04-09 16:42:16 +01:00
parent c7fdb81ef9
commit 076a15e47b
4 changed files with 24 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
#include <socks/printk.h>
#include <socks/kext.h>
static kern_status_t online(struct kext *self)
{
printk("Kernel extension base online");
return KERN_OK;
}
DEFINE_KEXT("net.doorstuck.socks.test-base",
online, NULL,
KEXT_NO_DEPENDENCIES);