--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/progs/shell.c Tue Oct 07 01:43:46 2014 +0100 @@ -0,0 +1,8 @@ +#include <stdio.h> + +int main() +{ char *name[2]; + name[0] = "/bin/sh"; + name[1] = NULL; + execve(name[0], name, NULL); +}