progs/shell.c
author Christian Urban <urbanc@in.tum.de>
Sat, 21 Jan 2017 00:37:20 +0000
changeset 510 51267a687b85
parent 221 ae6074cc446a
permissions -rw-r--r--
updated test

#include <stdio.h>

int main()
{  char *name[2];
   name[0] = "/bin/sh";
   name[1] = NULL;
   execve(name[0], name, NULL);
}