[Bug 4544] $TMPDIR lost on launching a new non-root shell instance when the SUID bit is set

bugzilla at busybox.net bugzilla at busybox.net
Mon Nov 28 19:13:14 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=4544

--- Comment #2 from Dennis Groenen <tj.groenen at gmail.com> 2011-11-28 19:13:14 UTC ---
(In reply to comment #1)
> Found this at http://www.win.tue.nl/~aeb/linux/hh/hh-8.html (see ***):
> 
Thank you for looking into this bug.

> 
> So. The question is: do you use glibc?
> 
Yes, eglibc on the N900 and GNU libc on my notebook.

> I did test uclibc-based static build and $TMPDIR is not cleared there in
> scenarios you described.
I see. However, is it desireable that BusyBox' shell behaves this differently
with different C libraries?

It seems to me that losing environment variables when the very same user
launches a new shell is something we do not want, even though this is not
caused by BusyBox itself. What is your opinion about working around this
feature of glibc (if possible)? Maybe as a configurable option of BusyBox?

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list