mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-24 18:51:36 +01:00
ioctl begins to work
This commit is contained in:
11
kernel_module/test/init_hello.c
Normal file
11
kernel_module/test/init_hello.c
Normal file
@@ -0,0 +1,11 @@
|
||||
/* Replacement init example for when we feel like running
|
||||
* a single non-interactive single executable Linux distro. */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int main(void) {
|
||||
puts("hello world");
|
||||
while (1)
|
||||
sleep(0xFFFFFFFF);
|
||||
}
|
||||
Reference in New Issue
Block a user