If signal was delivered while the main thread was not in poll(2) and after
check was performed, we could reenter poll and never detect termination. Fix
this with the pipefd trick.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 14057 Build 14241: arc lint + arc unit
Event Timeline
usr.sbin/rpcbind/rpcbind.c | ||
---|---|---|
781 | It'd probably be reasonable to _exit() if the write somehow fails? |
usr.sbin/rpcbind/rpcbind.c | ||
---|---|---|
781 | Sure. |
Comment Actions
I wonder whether your fixes are enough to remove #ifdef WARMSTART and have this feature compiled in unconditionally.