Source-Changes-HG archive

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

[src/trunk]: src/sys/net remove extra changes



details:   https://anonhg.NetBSD.org/src/rev/64545b09de1c
branches:  trunk
changeset: 1023672:64545b09de1c
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Sep 21 14:57:26 2021 +0000

description:
remove extra changes

diffstat:

 sys/net/if.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 43f7f53c6830 -r 64545b09de1c sys/net/if.c
--- a/sys/net/if.c      Tue Sep 21 14:54:26 2021 +0000
+++ b/sys/net/if.c      Tue Sep 21 14:57:26 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.489 2021/09/21 14:56:42 christos Exp $        */
+/*     $NetBSD: if.c,v 1.490 2021/09/21 14:57:26 christos Exp $        */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.489 2021/09/21 14:56:42 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.490 2021/09/21 14:57:26 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -3346,7 +3346,7 @@
                bound = curlwp_bind();
                if (l != NULL) {
                        ifp = if_get(ifr->ifr_name, &psref);
-                       error = kauth_authorize_network(l->l_proc, l->l_cred,
+                       error = kauth_authorize_network(l->l_cred,
                            KAUTH_NETWORK_INTERFACE,
                            KAUTH_REQ_NETWORK_INTERFACE_SETPRIV, ifp,
                            KAUTH_ARG(cmd), NULL);
@@ -3411,7 +3411,7 @@
        case SIOCS80211CHANNEL:
        case SIOCSLINKSTR:
                if (l != NULL) {
-                       error = kauth_authorize_network(l->l_proc, l->l_cred,
+                       error = kauth_authorize_network(l->l_cred,
                            KAUTH_NETWORK_INTERFACE,
                            KAUTH_REQ_NETWORK_INTERFACE_SETPRIV, ifp,
                            KAUTH_ARG(cmd), NULL);



Home | Main Index | Thread Index | Old Index