When a piped command is launched, register its process descriptor with the kqueue. The main kevent() loop is already setup to reap processes that trigger the EVFILT_PROCDESC filter
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Just a generate comment: when casper starts handling the popen(), syslogd will no longer be able to use waitpid() to reap the process, since it won't be the parent process.