Give a hint when setuid logic fails.
authorRob Landley <rob@landley.net>
Sun, 31 Aug 2014 16:58:39 +0000 (11:58 -0500)
committerRob Landley <rob@landley.net>
Sun, 31 Aug 2014 16:58:39 +0000 (11:58 -0500)
commit5c87c1426b5c99dd1f2a3ac7493996c342efef4e
treeea3f7d88780d714c0a0a2db13eab2a5f0e47913f
parent96146200ea3b7b67b7e4a6b91f3419013d4cfaab
Give a hint when setuid logic fails.

Toybox expects to be setuid root; setuid some other user confuses the attempt to drop privileges, and we err on the side of avoiding shenanigans.
main.c