progs/shell.c
author cu
Mon, 09 Oct 2017 10:07:35 +0100
changeset 547 eae9a2e6ff28
parent 221 ae6074cc446a
permissions -rw-r--r--
updated

#include <stdio.h>

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