Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/fs/nfs/nfsservice/rpcbind Don't ignore SIGHUP here sin...



details:   https://anonhg.NetBSD.org/src/rev/48afa19da741
branches:  trunk
changeset: 756675:48afa19da741
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Jul 28 15:11:30 2010 +0000

description:
Don't ignore SIGHUP here since mountd uses it.  The mountd signal
handler is installed later, so technically this is unnecessary,
but try to be complete.

diffstat:

 tests/fs/nfs/nfsservice/rpcbind/rpcbind.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 091ba016a71c -r 48afa19da741 tests/fs/nfs/nfsservice/rpcbind/rpcbind.c
--- a/tests/fs/nfs/nfsservice/rpcbind/rpcbind.c Wed Jul 28 14:23:02 2010 +0000
+++ b/tests/fs/nfs/nfsservice/rpcbind/rpcbind.c Wed Jul 28 15:11:30 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpcbind.c,v 1.1 2010/07/26 15:53:00 pooka Exp $        */
+/*     $NetBSD: rpcbind.c,v 1.2 2010/07/28 15:11:30 pooka Exp $        */
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -173,7 +173,7 @@
        (void) signal(SIGQUIT, terminate);
        /* ignore others that could get sent */
        (void) signal(SIGPIPE, SIG_IGN);
-       (void) signal(SIGHUP, SIG_IGN);
+       //(void) signal(SIGHUP, SIG_IGN); used by mountd
        (void) signal(SIGUSR1, SIG_IGN);
        (void) signal(SIGUSR2, SIG_IGN);
 #ifdef WARMSTART



Home | Main Index | Thread Index | Old Index