Il giorno gio 12 ago 2021 alle ore 17:15 Lauri Kasanen <[email protected]> ha scritto:
> On Thu, 12 Aug 2021 16:59:35 +0200 > Emmanuel Deloget <[email protected]> wrote: > > > * busybox-1.33.0_skip-loop-control.patch makes get_free_loop() behave > > as if there was no free loop devices (unconditionnaly). It would help > > to have some background info here, as it does not seem to fix a bug. > > It fixes a specific case of non-devtmpfs + the loop device returned by > loop-control does not exist in /dev yet. The code after in that case is > racy and buggy, but such a combo is rare, probably just us, so we didn't > submit it. > I made a new patch that checks if the devtmpfs is supported otherwise skip the loop control. I have tested the code in simple main() for both cases and in a running busybox without devtmpfs. Cheers, -- Roberto A. Foglietta +39.349.33.30.697
busybox-1.33.0_if-not-devtmpfs-skip-loop-control.patch
Description: Binary data
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
