On 2021/09/24 19:36, Rafael Sadowski wrote: > I'm trying to port the more KDE stuff so my question is from porter > perspective. > > I need sigwaitinfo(2)/sigtimedwait(2) and I found both functions in > lib/libc/gen/sigwait.c with the comment "need kernel to fill in more > siginfo_t bits first". Is the comment still up to date? If no, is it > possible to unlock the functions? > > Thanks, Rafael >
I don't think any more bits have been filled in since these were added ---------------------------- revision 1.13 date: 2012/04/13 08:25:37; author: guenther; state: Exp; lines: +40 -1; Add sigwaitinfo and sigtimedwait stubs under #if 0; a bit more kernel support is needed before they can be usefully enabled but I don't want to misplace this diff yet again ---------------------------- For sure si_pid is not filled in, I ran into that with icinga2 relatively recently (jmatthew helped a lot figuring that one out).. https://marc.info/?t=120218031400002&r=1&w=2