Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/blacklist/bin Re-enable the routing perm check ...



details:   https://anonhg.NetBSD.org/src/rev/d5ef0ca019ef
branches:  trunk
changeset: 745831:d5ef0ca019ef
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Mar 13 16:38:45 2020 +0000

description:
Re-enable the routing perm check now that the kernel has been fixed to return
valid information.

diffstat:

 external/bsd/blacklist/bin/conf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0b528f74f027 -r d5ef0ca019ef external/bsd/blacklist/bin/conf.c
--- a/external/bsd/blacklist/bin/conf.c Fri Mar 13 16:37:12 2020 +0000
+++ b/external/bsd/blacklist/bin/conf.c Fri Mar 13 16:38:45 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.30 2020/03/12 19:47:32 christos Exp $       */
+/*     $NetBSD: conf.c,v 1.31 2020/03/13 16:38:45 christos Exp $       */
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: conf.c,v 1.30 2020/03/12 19:47:32 christos Exp $");
+__RCSID("$NetBSD: conf.c,v 1.31 2020/03/13 16:38:45 christos Exp $");
 
 #include <stdio.h>
 #ifdef HAVE_LIBUTIL_H
@@ -1006,7 +1006,7 @@
 static int
 conf_route_perm(int fd) {
 /* Disable for now, the access check in the routing socket uses curlwp */
-#if defined(RTM_IFANNOUNCE) && defined(RT_ROUNDUP) && 0
+#if defined(RTM_IFANNOUNCE) && defined(RT_ROUNDUP)
        /*
         * Send a routing message that is not supported to check for access
         * We expect EOPNOTSUPP for having access, since we are sending a



Home | Main Index | Thread Index | Old Index