Re: [Toybox] [PATCH] bufgetgrgid: fix for very large groups.

2018-07-02 Thread Rob Landley
On 07/02/2018 01:13 PM, enh wrote: >> These twio functions irritate me because it's the same code with trivially >> different data types. It's even using the same structure offsets and putting >> the >> same stuff on the stack, just using a different static list pointer and >> calling >> a differ

Re: [Toybox] Does anybody use ipcmk?

2018-07-02 Thread enh
On Mon, Jul 2, 2018 at 12:37 PM Rob Landley wrote: > > On 07/02/2018 10:37 AM, enh wrote: > > (sysv ipc is disabled in multiple ways on Android. you can't pass CTS > > with a kernel that supports it.) > > Indeed, but the CLONE_NEWIPC container namespace implies it'll probably be > back > someday.

Re: [Toybox] Github "failed to load latest commit information"?

2018-07-02 Thread Rob Landley
On 07/01/2018 10:50 PM, Robert Thompson wrote: > I've seen that when javascript is blocked, or partially blocked. I > think I've seen it once when I was behind a non-transparent > non-CONNECT proxy, but that was a while ago and I can't verify. > > It's not new behavior. I've been seeing this for a

Re: [Toybox] Does anybody use ipcmk?

2018-07-02 Thread Rob Landley
On 07/02/2018 10:37 AM, enh wrote: > (sysv ipc is disabled in multiple ways on Android. you can't pass CTS > with a kernel that supports it.) Indeed, but the CLONE_NEWIPC container namespace implies it'll probably be back someday. And it's still in posix. And the pending/ code was contributed by s

Re: [Toybox] [PATCH] bufgetgrgid: fix for very large groups.

2018-07-02 Thread enh
On Sat, Jun 30, 2018 at 10:12 PM Rob Landley wrote: > > On 06/30/2018 09:45 PM, Rob Landley wrote: > > Sigh, but I might as well keep the two functions matching in case I do work > > out > > a way to collapse them together later. > > Question, which requires some context first: > > I've been tria

Re: [Toybox] [PATCH] bufgetgrgid: fix for very large groups.

2018-07-02 Thread enh
On Sat, Jun 30, 2018 at 7:45 PM Rob Landley wrote: > > On 06/28/2018 06:41 PM, enh wrote: > > In theory, both getpwuid_r and getgrgid_r need to loop until the buffer > > is large enough. In practice, that's true for me with getgrgid_r. > > A fixed size 512 byte allocation is pretty small. It shoul

Re: [Toybox] Does anybody use ipcmk?

2018-07-02 Thread enh
(sysv ipc is disabled in multiple ways on Android. you can't pass CTS with a kernel that supports it.) On Sun, Jul 1, 2018 at 7:32 PM Rob Landley wrote: > > toys/pending/ipcs.c and toys/pending/iprm.c will list and delete sysv > inter-process communication resources (shared memory, message queue,