diff options
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2006-01-15 14:55:48 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2006-01-15 14:55:48 +0000 |
commit | 0f9ae1a0d71b12a26d54c9cd25b78b6b884e9a05 (patch) | |
tree | 9c63c07e24eae33e6d9dc75a9629632345c3b101 /networking | |
parent | fb29b462012e43d2559f0cdf7b1051d4a7f82ef6 (diff) |
setgid and setuid have changes effective id too
Diffstat (limited to 'networking')
-rw-r--r-- | networking/fakeidentd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/networking/fakeidentd.c b/networking/fakeidentd.c index 3d714fd7e..40d5cf1b7 100644 --- 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); |