ls -l /bin/busybox shows -rwxr-xr-x 1 root root 869632 2008-01-21 18:37 /bin/busybox I expected the the u+s bit should be there: -rwsr-xr-x 1 root root 869632 2008-01-21 18:37 /bin/busybox
Dear Joakim, please clarify why you expect it to be setuid root and reopen this bug.
If a non root user wants to use busybox ping it needs to be setuid root as ping opens a raw socket. I am sure there are other cases too.
What would happen if a non-root user wanted to use busybox' rm as well? Anyway, passing to the embedded team.
busybox drops privs for those commands that doesn't need it.
Sorry Jocke but we wont be setting any setXid bits for busybox. If you need that functionality of bb please select the proper options in the .config and set the u+s bit locally.
OK good to know. I will fix it locally on our board.