kernel: rename extensions/ to kexts/

This commit is contained in:
2023-04-06 21:18:56 +01:00
parent 84e5b848c7
commit 3e2164c7c2
3 changed files with 11 additions and 0 deletions

View File

@@ -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

View 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;
}