Source-Changes-HG archive

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

[src/trunk]: src/sys Remove KAUTH_MACHDEP_X86PMC, now unused.



details:   https://anonhg.NetBSD.org/src/rev/8bada4838ddc
branches:  trunk
changeset: 320592:8bada4838ddc
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri Jul 13 09:58:49 2018 +0000

description:
Remove KAUTH_MACHDEP_X86PMC, now unused.

diffstat:

 sys/secmodel/suser/secmodel_suser.c |  5 ++---
 sys/sys/kauth.h                     |  3 +--
 2 files changed, 3 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r 9093f7a7eb28 -r 8bada4838ddc sys/secmodel/suser/secmodel_suser.c
--- a/sys/secmodel/suser/secmodel_suser.c       Fri Jul 13 09:53:42 2018 +0000
+++ b/sys/secmodel/suser/secmodel_suser.c       Fri Jul 13 09:58:49 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: secmodel_suser.c,v 1.44 2018/04/26 18:54:09 alnsn Exp $ */
+/* $NetBSD: secmodel_suser.c,v 1.45 2018/07/13 09:58:49 maxv Exp $ */
 /*-
  * Copyright (c) 2006 Elad Efrat <elad%NetBSD.org@localhost>
  * All rights reserved.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: secmodel_suser.c,v 1.44 2018/04/26 18:54:09 alnsn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: secmodel_suser.c,v 1.45 2018/07/13 09:58:49 maxv Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -853,7 +853,6 @@
        case KAUTH_MACHDEP_NVRAM:
        case KAUTH_MACHDEP_UNMANAGEDMEM:
        case KAUTH_MACHDEP_PXG:
-       case KAUTH_MACHDEP_X86PMC:
        case KAUTH_MACHDEP_SVS_DISABLE:
                if (isroot)
                        result = KAUTH_RESULT_ALLOW;
diff -r 9093f7a7eb28 -r 8bada4838ddc sys/sys/kauth.h
--- a/sys/sys/kauth.h   Fri Jul 13 09:53:42 2018 +0000
+++ b/sys/sys/kauth.h   Fri Jul 13 09:58:49 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kauth.h,v 1.76 2018/04/26 18:54:09 alnsn Exp $ */
+/* $NetBSD: kauth.h,v 1.77 2018/07/13 09:58:49 maxv Exp $ */
 
 /*-
  * Copyright (c) 2005, 2006 Elad Efrat <elad%NetBSD.org@localhost>  
@@ -320,7 +320,6 @@
        KAUTH_MACHDEP_NVRAM,
        KAUTH_MACHDEP_UNMANAGEDMEM,
        KAUTH_MACHDEP_PXG,
-       KAUTH_MACHDEP_X86PMC,
        KAUTH_MACHDEP_SVS_DISABLE
 };
 



Home | Main Index | Thread Index | Old Index