Module Name: src Committed By: maxv Date: Fri Jul 13 09:58:49 UTC 2018
Modified Files: src/sys/secmodel/suser: secmodel_suser.c src/sys/sys: kauth.h Log Message: Remove KAUTH_MACHDEP_X86PMC, now unused. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/secmodel/suser/secmodel_suser.c cvs rdiff -u -r1.76 -r1.77 src/sys/sys/kauth.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/secmodel/suser/secmodel_suser.c diff -u src/sys/secmodel/suser/secmodel_suser.c:1.44 src/sys/secmodel/suser/secmodel_suser.c:1.45 --- src/sys/secmodel/suser/secmodel_suser.c:1.44 Thu Apr 26 18:54:09 2018 +++ src/sys/secmodel/suser/secmodel_suser.c Fri Jul 13 09:58:49 2018 @@ -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 <e...@netbsd.org> * 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 @@ secmodel_suser_machdep_cb(kauth_cred_t c 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; Index: src/sys/sys/kauth.h diff -u src/sys/sys/kauth.h:1.76 src/sys/sys/kauth.h:1.77 --- src/sys/sys/kauth.h:1.76 Thu Apr 26 18:54:09 2018 +++ src/sys/sys/kauth.h Fri Jul 13 09:58:49 2018 @@ -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 <e...@netbsd.org> @@ -320,7 +320,6 @@ enum { KAUTH_MACHDEP_NVRAM, KAUTH_MACHDEP_UNMANAGEDMEM, KAUTH_MACHDEP_PXG, - KAUTH_MACHDEP_X86PMC, KAUTH_MACHDEP_SVS_DISABLE };