All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nfs-utils - 6 of 6 - mountd - ignore sigpipe
@ 2003-06-18 18:13 Steve Dickson
  0 siblings, 0 replies; only message in thread
From: Steve Dickson @ 2003-06-18 18:13 UTC (permalink / raw)
  To: nfs

[-- Attachment #1: Type: text/plain, Size: 157 bytes --]

This patch makes mountd ignore SIGPIPE. If forget exactly
how a SIGPIPE can be generated, but was being generated
which in turn was kill mountd...

SteveD.


[-- Attachment #2: nfs-utils-1.0.3-06-mountd.sigpipe.patch --]
[-- Type: text/plain, Size: 415 bytes --]

--- ./utils/mountd/mountd.c.orig	2003-02-18 23:25:04.000000000 -0500
+++ ./utils/mountd/mountd.c	2003-06-02 15:13:37.000000000 -0400
@@ -481,6 +481,7 @@ main(int argc, char **argv)
 	sigaction(SIGHUP, &sa, NULL);
 	sigaction(SIGINT, &sa, NULL);
 	sigaction(SIGTERM, &sa, NULL);
+	sigaction(SIGPIPE, &sa, NULL);
 	/* WARNING: the following works on Linux and SysV, but not BSD! */
 	sigaction(SIGCHLD, &sa, NULL);
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-18 18:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-18 18:13 [PATCH] nfs-utils - 6 of 6 - mountd - ignore sigpipe Steve Dickson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.