progs/shell.c
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 05 Aug 2015 09:48:01 +0200
changeset 376 8098bde31185
parent 221 ae6074cc446a
permissions -rw-r--r--
typos

#include <stdio.h>

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