Re: [Toybox] [PATCH] test.tar: fix tar tests on Android.

2019-07-08 Thread Rob Landley
Yes please. (Sorry, hip deep in https://twitter.com/landley/status/1148345079565864960 and https://twitter.com/landley/status/1148324286144425984 and https://twitter.com/landley/status/1147267507344084992 and I keep frogging functions when I figure out another aspect of the weirdness and my file

[Toybox] dd in toybox?

2019-07-08 Thread scsijon
I was wondering if you would consider adding parts of ddfldd (https://linuxx.info/dcfldd/, https://linux.die.net/man/1/dcfldd and http://dcfldd.sourceforge.net/) rather than having just the ordinary dd 'bits' to your dd implementation if possible? I know it's not new, but the extra operands

[Toybox] [PATCH] bind/connect cleanup.

2019-07-08 Thread enh via Toybox
Rename the existing xbind/xconnect to xbindany/xconnectany, to make room for new xbind/xconnect that are more like 'x' versions of the regular bind and connect. Move explicit bind/connect callers over to xbind/xconnect. Of the affected commands, only netcat is actually used by Android. It was the

Re: [Toybox] [PATCH] test.tar: fix tar tests on Android.

2019-07-08 Thread enh via Toybox
do you want me to send another patch that only contains the fixes and doesn't include the workaround for the dd issue? On Wed, Jul 3, 2019 at 12:51 PM Rob Landley wrote: > > On 7/1/19 4:26 PM, enh via Toybox wrote: > > There's no /etc/group on Android. > > > > Loop devices are in different

Re: [Toybox] xargs "argument too long"

2019-07-08 Thread enh via Toybox
patch attached. i did check, in case we're crazy, and the kernel does do the right thing, there's no weird special case for these bytes in the kernel (this is linux; i didn't actually check a BSD kernel): /* * We must account for the size of all the argv and envp pointers to * the argv and envp