[BusyBox] Division of work.

Vladimir N. Oleynik dzo at simtreas.ru
Thu Mar 8 17:35:30 UTC 2001


Mark Whitley wrote:

> One of the things Erik and I have discussed is converting the 'enum Location'
> set into a more general-purpose 'flags' listing, which would allow us to add
> an entry called _BB_DROP_PERMS to all of the applets that need to be +s. Then,
> in busybox_main we would have code like tinylogin that tests if that bit is
> set and drops permissions accordingly

Please, do not make it. Please!
As a last resort only through preprocessor brackets.

Example:

% ls -l reboot
-rwsr-x---   1 root     wheel          7432 Oct 14  1999 /sbin/reboot

After this all `wheel' group can reboot system.
After you idea I can`t make this even with suid-wrapper!


--w
vodz





More information about the busybox mailing list