[Toybox] oh, the irony...

Rob Landley rob at landley.net
Thu Oct 18 10:51:44 PDT 2018


On 10/17/2018 06:24 PM, enh wrote:
> $ ./toybox su --help
> toybox: Not root (see "toybox --help")
> 
> not sure what the fix is there though.

Hmmm, I think it's that TOYFLAG_NEEDROOT should be checking geteuid() not
getuid(), but that's a security thing and I want to go over all the users
thoroughly before making the change.

The todo list for this release is now:

Finish/promote watch
  fix crunch_str(): utf8 combining chars are trailing, not leading
promote gzip (decompression side, using lib/deflate.c)
Finish 79c403179b603a9f 482c422f8e8ec51 009b55edc4bad5b4 8993496e496cdbc
getconf: -a, build on musl (missing symbol?)
find -empty
NDK dynamic build (__android_log_write redef)
su - root says "not root"
  TOYFLAG_NEEDROOT should check geteuid() not getuid()? Audit everybody.

Rob



More information about the Toybox mailing list