kernel: rename extensions/ to kexts/
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
name: hello-world
|
name: hello-world
|
||||||
|
description: |
|
||||||
|
A sample kernel extension, demonstrating the structure of a kext.
|
||||||
|
No actual functionality.
|
||||||
id: net.doorstuck.socks.hello-world
|
id: net.doorstuck.socks.hello-world
|
||||||
license: BSD-3-Clause
|
license: BSD-3-Clause
|
||||||
copyright: Copyright © Max Wash 2023
|
copyright: Copyright © Max Wash 2023
|
||||||
8
kexts/hello-world/hello-world.c
Normal file
8
kexts/hello-world/hello-world.c
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#include <socks/printk.h>
|
||||||
|
#include <socks/kext.h>
|
||||||
|
|
||||||
|
kern_status_t online(struct kext *self)
|
||||||
|
{
|
||||||
|
printk("Hello, world!");
|
||||||
|
return KERN_OK;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user