Hi Bernhard, On Sat, Apr 30, 2022 at 1:42 AM Bernhard Reutner-Fischer <[email protected]> wrote: > The tool sounds like it should fit in about 1k if we're forced to ioctl > and cannot simply use the shell. We'd all be better off to remove that > unnecessary ioctl bloat from the kernel and userspace. It does not make > any sense at all. > In shell it would probably be done in a few hundred bytes, once and for > all.
I'm not quite able to parse this ramble here, but if you're upset that the kernel interface isn't as nice as it should be, I share your dismay. I've only inherited it after a several decade development history of warts. I'm doing my best to clean up the kernel interface, but compatibility is important, and there will always be old kernels. So the interface is what it is, and that means addressing complex error cases and ugly ioctls. Sorry. Jason _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
