progs/shell.c
changeset 221 ae6074cc446a
equal deleted inserted replaced
220:74772c30e0f4 221:ae6074cc446a
       
     1 #include <stdio.h>
       
     2 
       
     3 int main()
       
     4 {  char *name[2];
       
     5    name[0] = "/bin/sh";
       
     6    name[1] = NULL;
       
     7    execve(name[0], name, NULL);
       
     8 }