Fallthrough.

This commit is contained in:
elad 2007-01-05 13:21:53 +00:00
parent d717c89c37
commit 0ff4d47ce3
1 changed files with 2 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: secmodel_bsd44_suser.c,v 1.28 2007/01/02 23:58:20 elad Exp $ */
/* $NetBSD: secmodel_bsd44_suser.c,v 1.29 2007/01/05 13:21:53 elad Exp $ */
/*-
* Copyright (c) 2006 Elad Efrat <elad@NetBSD.org>
* All rights reserved.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: secmodel_bsd44_suser.c,v 1.28 2007/01/02 23:58:20 elad Exp $");
__KERNEL_RCSID(0, "$NetBSD: secmodel_bsd44_suser.c,v 1.29 2007/01/05 13:21:53 elad Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -729,10 +729,6 @@ secmodel_bsd44_suser_machdep_cb(kauth_cred_t cred, kauth_action_t action,
case KAUTH_MACHDEP_IOPERM_SET:
case KAUTH_MACHDEP_IOPL:
case KAUTH_MACHDEP_MTRR_SET:
if (isroot)
result = KAUTH_RESULT_ALLOW;
break;
case KAUTH_MACHDEP_UNMANAGEDMEM:
if (isroot)
result = KAUTH_RESULT_ALLOW;