Source-Changes-HG archive

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

[src/trunk]: src/sys/kern undo previous, wrong file.



details:   https://anonhg.NetBSD.org/src/rev/962a1f873e57
branches:  trunk
changeset: 1023670:962a1f873e57
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Sep 21 14:54:02 2021 +0000

description:
undo previous, wrong file.

diffstat:

 sys/kern/kern_event.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a8abf02aef33 -r 962a1f873e57 sys/kern/kern_event.c
--- a/sys/kern/kern_event.c     Tue Sep 21 14:49:01 2021 +0000
+++ b/sys/kern/kern_event.c     Tue Sep 21 14:54:02 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_event.c,v 1.119 2021/09/21 14:52:40 christos Exp $        */
+/*     $NetBSD: kern_event.c,v 1.120 2021/09/21 14:54:02 christos Exp $        */
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_event.c,v 1.119 2021/09/21 14:52:40 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_event.c,v 1.120 2021/09/21 14:54:02 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -546,7 +546,7 @@
         */
        mutex_enter(p->p_lock);
        mutex_exit(&proc_lock);
-       if (kauth_authorize_process(curl->l_proc, curl->l_cred,
+       if (kauth_authorize_process(curl->l_cred,
            KAUTH_PROCESS_KEVENT_FILTER, p, NULL, NULL, NULL) != 0) {
                mutex_exit(p->p_lock);
                return EACCES;



Home | Main Index | Thread Index | Old Index