projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb29b46
)
setgid and setuid have changes effective id too
author
"Vladimir N. Oleynik"
<dzo@simtreas.ru>
Sun, 15 Jan 2006 14:55:48 +0000
(14:55 -0000)
committer
"Vladimir N. Oleynik"
<dzo@simtreas.ru>
Sun, 15 Jan 2006 14:55:48 +0000
(14:55 -0000)
networking/fakeidentd.c
patch
|
blob
|
history
diff --git
a/networking/fakeidentd.c
b/networking/fakeidentd.c
index 3d714fd7e1e5d1e499c0eeab97c2c0d4cc91161c..40d5cf1b7c5b9bb65f53133ce396403dd89f6aa1 100644
(file)
--- a/
networking/fakeidentd.c
+++ b/
networking/fakeidentd.c
@@
-184,9
+184,7
@@
static int godaemon(void)
close(0);
inetbind();
if (setgid(nogrp)) bb_error_msg_and_die("Could not setgid()");
- if (setegid(nogrp)) bb_error_msg_and_die("Could not setegid()");
if (setuid(nobody)) bb_error_msg_and_die("Could not setuid()");
- if (seteuid(nobody)) bb_error_msg_and_die("Could not seteuid()");
close(1);
close(2);