Re: [Toybox] oh, the irony...

2018-10-18 Thread Rob Landley
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

Re: [Toybox] --help annoyance

2018-10-18 Thread Rob Landley
Sorry for the delay, everything you wrote yesterday wound up in gmail's spam filter again. On 10/17/2018 04:51 PM, enh wrote: > i wanted to check that the Android scheduler policy output wasn't > broken by recent changes, but i can't remember what the -O option is > called... > > # ps -A -O >

Re: [Toybox] oh, the irony...

2018-10-18 Thread enh
On Thu, Oct 18, 2018, 10:51 Rob Landley wrote: > 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

Re: [Toybox] --help annoyance

2018-10-18 Thread enh
Yeah, my assumption was that as long as I'm still in the flags, --help should work. (But not *anywhere*.) Personally, I often just add --help on the end of what I've already typed if I get stuck. For this specific case, I think in my ideal world, a flag that takes arguments from a list should

Re: [Toybox] oh, the irony...

2018-10-18 Thread Rob Landley
On 10/18/2018 12:59 PM, enh wrote:> On Thu, Oct 18, 2018, 10:51 Rob Landley > wrote: > > 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. > >

Re: [Toybox] --help annoyance

2018-10-18 Thread Rob Landley
On 10/18/2018 01:12 PM, enh wrote: > Yeah, my assumption was that as long as I'm still in the flags, --help should > work. (But not *anywhere*.) Most commands never _stop_ accepting flags: ls file file file -l rm file file file -i lib/args.c has ^ to stop at the first non-option argument,

Re: [Toybox] --help annoyance

2018-10-18 Thread Kevin Spiteri
> > Sorry for the delay, everything you wrote yesterday wound up in gmail's > spam > filter again. > Have you tried the "Never send it to spam" gmail filter action? ___ Toybox mailing list Toybox@lists.landley.net