Files
linux-kernel-module-cheat/packages/kernel_module/user/sleep_forever.c
Ciro Santilli 66fe5f6647 build runs, lots of uncommented and lots of untested though
Refactor everything. Create nice submodules/ and packages/ folders.
2018-09-07 10:08:59 +01:00

11 lines
191 B
C

/* https://github.com/cirosantilli/linux-kernel-module-cheat#sleep_forever-out */
#include <stdio.h>
#include <unistd.h>
int main(void) {
puts(__FILE__);
while (1)
sleep(0xFFFFFFFF);
}