mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 19:21:35 +01:00
Rm useless init.sh, init_hello and poweroff are not init specific, so rename them more generically
This commit is contained in:
10
kernel_module/user/sleep_forever.c
Normal file
10
kernel_module/user/sleep_forever.c
Normal file
@@ -0,0 +1,10 @@
|
||||
/* Sleeping beauty, your prince is called Ctrl + C. */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int main(void) {
|
||||
puts(__FILE__);
|
||||
while (1)
|
||||
sleep(0xFFFFFFFF);
|
||||
}
|
||||
Reference in New Issue
Block a user