News for hackers. Stuff that matters.
Re:Towards userspaceification of POSIX – part I: signal hand... by mananaysiempre on Friday August 02, 2024 @10:31PM (#41144279)
Going straight to D-Bus feels excessive. Here's an 85-line file I had lying around that should cover most cases of FD passing: https://paste.rs/6FBFS.c.
Re:Towards userspaceification of POSIX – part I: signal hand... by folmar on Saturday August 03, 2024 @02:52PM (#41148436)
There are a few existing libraries like libancillary that would do this for you and provide some level of OS compatibility.
Re:Towards userspaceification of POSIX – part I: signal hand... by mananaysiempre on Saturday August 03, 2024 @03:15PM (#41148594)
Libancillary achieves more or less the same thing with more or less the same amount of code. I do still need to test compatibility with non-Linux Unices beyond checking the manuals. (If only I had jart’s stable of premade VMs for this purpose so it wasn’t such a pain.)