[BusyBox] Improving Our Development Process

Matt Kraai kraai at alumni.carnegiemellon.edu
Thu Jan 25 16:12:28 UTC 2001


On Thu, Jan 25, 2001 at 07:01:38PM +0300, Vladimir N. Oleynik wrote:
> Matt Kraai wrote:
> 
> > busybox.c could drop priviledges when appropriate (i.e., for
> 
> It to do it is impossible.

Why is this?  tinylogin, for instance, contains the following:

	/* Drop permissions if possible (in case we are setuid root) */
	if (applet->need_suid != TRUE) {
		setuid(getuid());
		setgid(getgid());
	}

You're saying that this doesn't work?

Matt





More information about the busybox mailing list