kernel: add second example kext for dependency test
This commit is contained in:
@@ -6,4 +6,4 @@ id: net.doorstuck.socks.hello-world
|
||||
license: BSD-3-Clause
|
||||
copyright: Copyright © Max Wash 2023
|
||||
sources:
|
||||
- hello-world.c
|
||||
- main.c
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <socks/printk.h>
|
||||
#include <socks/kext.h>
|
||||
|
||||
kern_status_t online(struct kext *self)
|
||||
static kern_status_t online(struct kext *self)
|
||||
{
|
||||
printk("Hello, world!");
|
||||
return KERN_OK;
|
||||
@@ -9,4 +9,4 @@ kern_status_t online(struct kext *self)
|
||||
|
||||
DEFINE_KEXT("net.doorstuck.socks.hello-world",
|
||||
online, NULL,
|
||||
"net.doorstuck.socks-kernel");
|
||||
"net.doorstuck.socks.test-base");
|
||||
Reference in New Issue
Block a user