Re: [Toybox] sort tests broken?

2022-08-24 Thread enh via Toybox
huh, so the timeout bug wasn't anything i was expecting... patch sent! that just leaves the tar tests failing now. in the absence of any better plan, should we just go ahead and use one of the low-numbered gids that happens to match between Linux and macOS? On Tue, Aug 23, 2022 at 11:29 PM Rob La

[Toybox] [PATCH] timeout.c: fix for macOS.

2022-08-24 Thread enh via Toybox
I don't know why we get away with this on Linux, but macOS really means business with the "values of objects of automatic storage invocation duration that do not have the volatile type and have been changed between the setjmp() invocation and longjmp() call are indeterminate" thing, leading to bad

Re: [Toybox] [PATCH] losetup: Wait for ueventd to create loop device on Android

2022-08-24 Thread enh via Toybox
On Wed, Aug 24, 2022 at 6:04 AM Yi-yo Chiang via Toybox < toybox@lists.landley.net> wrote: > > > On Wed, Aug 24, 2022 at 7:56 PM Rob Landley wrote: > >> On 8/24/22 05:04, Yi-yo Chiang wrote: >> > Digging through git history and I believe AOSP has been using "tmpfs as >> /dev" >> > plus "init and/

Re: [Toybox] [PATCH] losetup: Wait for ueventd to create loop device on Android

2022-08-24 Thread enh via Toybox
On Wed, Aug 24, 2022 at 1:13 AM Rob Landley wrote: > Applied the patch, but WOW this is conceptually ugly... > > On 8/23/22 10:57, Yi-yo Chiang via Toybox wrote:> Android doesn't use > devtmpfs. > > Huh, I thought Android was using it because you guys got blamed for > shoehorning > userspace poli

Re: [Toybox] diff.c

2022-08-24 Thread enh via Toybox
On Wed, Aug 24, 2022 at 1:26 AM Rob Landley wrote: > On 8/22/22 10:39, enh via Toybox wrote: > > On Sun, Aug 21, 2022 at 9:12 AM Ray Gardner > > wrote: > > > > I guess I'll skip writing up an explanation of these algos then; I > > thought you were looking for a

Re: [Toybox] [PATCH] losetup: Wait for ueventd to create loop device on Android

2022-08-24 Thread Yi-yo Chiang via Toybox
On Wed, Aug 24, 2022 at 7:56 PM Rob Landley wrote: > On 8/24/22 05:04, Yi-yo Chiang wrote: > > Digging through git history and I believe AOSP has been using "tmpfs as > /dev" > > plus "init and/or ueventd servicing uevents" since at least Android 1.0 > (circa > > 2008, > > > https://android.googl

Re: [Toybox] [PATCH] losetup: Wait for ueventd to create loop device on Android

2022-08-24 Thread Rob Landley
On 8/24/22 05:04, Yi-yo Chiang wrote: > Digging through git history and I believe AOSP has been using "tmpfs as /dev" > plus "init and/or ueventd servicing uevents" since at least Android 1.0 (circa > 2008, > https://android.googlesource.com/platform/system/core/+/4f6e8d7a00cbeda1e70cc15be9c4af1018

Re: [Toybox] [PATCH] losetup: Wait for ueventd to create loop device on Android

2022-08-24 Thread Yi-yo Chiang via Toybox
Digging through git history and I believe AOSP has been using "tmpfs as /dev" plus "init and/or ueventd servicing uevents" since at least Android 1.0 (circa 2008, https://android.googlesource.com/platform/system/core/+/4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 ) I'm not sure if the 2013 article is o

Re: [Toybox] diff.c

2022-08-24 Thread Rob Landley
On 8/22/22 10:39, enh via Toybox wrote: > On Sun, Aug 21, 2022 at 9:12 AM Ray Gardner > wrote: > > I guess I'll skip writing up an explanation of these algos then; I > thought you were looking for a less "mathematical" explanation ("why > can nobody explain w

Re: [Toybox] [PATCH] losetup: Wait for ueventd to create loop device on Android

2022-08-24 Thread Rob Landley
Applied the patch, but WOW this is conceptually ugly... On 8/23/22 10:57, Yi-yo Chiang via Toybox wrote:> Android doesn't use devtmpfs. Huh, I thought Android was using it because you guys got blamed for shoehorning userspace policy into the kernel back in 2013: https://lwn.net/Articles/548477/#