News for hackers. Stuff that matters.
Re:Dtrace for Linux by JdeBP on Thursday February 15, 2018 @05:20AM (#16382973)
We've talked before about FreeBSD's process descriptors and EVFILT_PROC kevents, ne?
Re:Dtrace for Linux by loeg on Thursday February 15, 2018 @01:32PM (#16386336)
Process descriptors are unfortunately a little incomplete -- pdwait() was never implemented. They don't seem to be getting much use.
Re:Dtrace for Linux by crest on Thursday February 22, 2018 @08:57AM (#16437532)
You don't need pdwait(). You can watch the process descriptor with kqueue to get the process exit status look for EVFILT_PROCDESC in https://www.freebsd.org/cgi/man.cgi?kevent.