mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 14:39:37 +00:00
Ignore SIGPIPE signals on write() failures.
We already check for write() failures and handle EPIPE. Failure to handle SIGPIPE was resulting in rpc.lockd terminating. PR: bin/97768 Reported by: Gea-Suan Lin <gslin at csie dot nctu dot edu dot tw> MFC after: 1 day
This commit is contained in:
parent
bc5521260c
commit
a856bed399
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158921
@ -151,6 +151,7 @@ client_request(void)
|
||||
|
||||
signal(SIGHUP, (sig_t)client_cleanup);
|
||||
signal(SIGTERM, (sig_t)client_cleanup);
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
|
||||
/* Setup. */
|
||||
(void)time(&owner.tod);
|
||||
|
Loading…
Reference in New Issue
Block a user