freebsd-skq/usr.sbin/rpcbind
cem dbe43632ad rpcbind: Fix race in signal termination
If a 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.  (This race was introduced very recently, in
r327482.)

PR:		224503
Reported by:	kib
Reviewed by:	kib, markj
Sponsored by:	Dell EMC Isilon
2018-01-02 17:25:13 +00:00
..
tests Remove unused includes. 2018-01-01 09:41:18 +00:00
check_bound.c Remove unused includes. 2018-01-01 09:41:18 +00:00
Makefile Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pmap_svc.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
rpcb_stat.c Remove unused includes. 2018-01-01 09:41:18 +00:00
rpcb_svc_4.c Remove unused includes. 2018-01-01 09:41:18 +00:00
rpcb_svc_com.c rpcbind: Fix race in signal termination 2018-01-02 17:25:13 +00:00
rpcb_svc.c Remove unused includes. 2018-01-01 09:41:18 +00:00
rpcbind.8 rpcbind(8): post-humously document -w (warmstart) support added in r74462 2017-04-19 20:23:27 +00:00
rpcbind.c rpcbind: Fix race in signal termination 2018-01-02 17:25:13 +00:00
rpcbind.h rpcbind: Fix race in signal termination 2018-01-02 17:25:13 +00:00
security.c Remove unused includes. 2018-01-01 09:41:18 +00:00
util.c Remove unused includes. 2018-01-01 09:41:18 +00:00
warmstart.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00