All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Dickson <SteveD@redhat.com>
To: nfs@lists.sourceforge.net
Subject: [PATCH] nfs-utils - 6 of 6 - mountd - ignore sigpipe
Date: Wed, 18 Jun 2003 14:13:26 -0400	[thread overview]
Message-ID: <3EF0ABC6.2030302@RedHat.com> (raw)

[-- 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);
 

                 reply	other threads:[~2003-06-18 18:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EF0ABC6.2030302@RedHat.com \
    --to=steved@redhat.com \
    --cc=nfs@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.