Add userland hello world sanity check

This commit is contained in:
Ciro Santilli
2017-10-08 22:19:48 +01:00
parent 52c3ee15dc
commit a8fe6cce28
2 changed files with 8 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ C programs require cross compiling, but give us more control over system calls.
These programs can also be compiled and used on host. These programs can also be compiled and used on host.
1. Standalone 1. Standalone
1. [hello](hello.c)
1. [myinsmod](myinsmod.c) 1. [myinsmod](myinsmod.c)
1. [myrmmod](myrmmod.c) 1. [myrmmod](myrmmod.c)
1. [usermem](usermem.c) 1. [usermem](usermem.c)

View File

@@ -0,0 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
int main(void) {
puts("hello");
return EXIT_SUCCESS;
}