Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/inetd call sigsetmask() on ipsec initialization fai...



details:   https://anonhg.NetBSD.org/src/rev/78fff8c0f7e7
branches:  trunk
changeset: 480469:78fff8c0f7e7
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Jan 13 15:53:00 2000 +0000

description:
call sigsetmask() on ipsec initialization failure.

diffstat:

 usr.sbin/inetd/inetd.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r f7b72a1de783 -r 78fff8c0f7e7 usr.sbin/inetd/inetd.c
--- a/usr.sbin/inetd/inetd.c    Thu Jan 13 15:09:52 2000 +0000
+++ b/usr.sbin/inetd/inetd.c    Thu Jan 13 15:53:00 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inetd.c,v 1.55 1999/10/06 21:54:10 ad Exp $    */
+/*     $NetBSD: inetd.c,v 1.56 2000/01/13 15:53:00 itojun Exp $        */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
 #if 0
 static char sccsid[] = "@(#)inetd.c    8.4 (Berkeley) 4/13/94";
 #else
-__RCSID("$NetBSD: inetd.c,v 1.55 1999/10/06 21:54:10 ad Exp $");
+__RCSID("$NetBSD: inetd.c,v 1.56 2000/01/13 15:53:00 itojun Exp $");
 #endif
 #endif /* not lint */
 
@@ -835,6 +835,7 @@
                                            "%s: ipsec initialization failed",
                                            sep->se_service);
                                        sep->se_checked = 0;
+                                       sigsetmask(omask);
                                        continue;
                                }
                        }



Home | Main Index | Thread Index | Old Index