svn commit: trunk/busybox/networking
vodz at busybox.net
vodz at busybox.net
Sun Jan 15 14:55:49 UTC 2006
Author: vodz
Date: 2006-01-15 06:55:48 -0800 (Sun, 15 Jan 2006)
New Revision: 13348
Log:
setgid and setuid have changes effective id too
Modified:
trunk/busybox/networking/fakeidentd.c
Changeset:
Modified: trunk/busybox/networking/fakeidentd.c
===================================================================
--- trunk/busybox/networking/fakeidentd.c 2006-01-15 14:21:01 UTC (rev 13347)
+++ trunk/busybox/networking/fakeidentd.c 2006-01-15 14:55:48 UTC (rev 13348)
@@ -184,9 +184,7 @@
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);
More information about the busybox-cvs
mailing list