aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/false.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-01-30 16:28:13 -0600
committerRob Landley <rob@landley.net>2016-01-30 16:28:13 -0600
commitca311f1a41a579a57076adfeb2cc08b20dbca21a (patch)
tree464d3d1daba831016cdd4ac17f0996706e7cd229 /toys/posix/false.c
parent4a13ca98e18cea4acc8d605653d0ee8425e34f59 (diff)
downloadtoybox-ca311f1a41a579a57076adfeb2cc08b20dbca21a.tar.gz
Fix two CFG_TOYBOX_SUID corner cases:
1) Don't try to force re-exec unless we actually dropped permissions. (Fixes "./toybox mount" when no suid bit on toybox binary, which previously exited.) 2) Set temporary toys.which value for error reporting. (Fixes "ln -s toybox mount && ./mount" with CFG_TOYBOX_DEBUG and no suid bit, which previously segfaulted.)
Diffstat (limited to 'toys/posix/false.c')
0 files changed, 0 insertions, 0 deletions