mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-13 20:12:26 +00:00
12 lines
235 B
C
12 lines
235 B
C
/* 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);
|
|
}
|