Added the null syscall and a userapp that exploits it.
[akaros.git] / user / buggyhello.c
1 // buggy hello world -- unmapped pointer passed to kernel
2 // kernel should destroy user environment in response
3
4 #include <inc/lib.h>
5
6 void
7 umain(void)
8 {
9         sys_cputs((char*SAFE)TC(1), 1);
10 }
11