freebsd-skq/usr.sbin/rpcbind
Conrad Meyer 055569f608 rpcbind: Do not use signal-unsafe functions in SIGTERM handler
syslog(3), routines used in write_warmstart(), and exit(3) are all
signal-unsafe.  Instead, set a signal-safe flag and check the flag in the
rpcbind main loop to shutdown safely.

PR:		224503
Reviewed by:	kib, markj
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D13728
2018-01-02 00:48:19 +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: Do not use signal-unsafe functions in SIGTERM handler 2018-01-02 00:48:19 +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: Do not use signal-unsafe functions in SIGTERM handler 2018-01-02 00:48:19 +00:00
rpcbind.h rpcbind: Do not use signal-unsafe functions in SIGTERM handler 2018-01-02 00:48:19 +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