Make 'securelevel' internal to the secmodel.
This commit is contained in:
parent
f4c7b0fd4d
commit
a37f8a3813
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: secmodel_bsd44_securelevel.c,v 1.28 2007/01/09 12:57:56 elad Exp $ */
|
/* $NetBSD: secmodel_bsd44_securelevel.c,v 1.29 2007/01/10 11:20:21 elad Exp $ */
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2006 Elad Efrat <elad@NetBSD.org>
|
* Copyright (c) 2006 Elad Efrat <elad@NetBSD.org>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: secmodel_bsd44_securelevel.c,v 1.28 2007/01/09 12:57:56 elad Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: secmodel_bsd44_securelevel.c,v 1.29 2007/01/10 11:20:21 elad Exp $");
|
||||||
|
|
||||||
#ifdef _KERNEL_OPT
|
#ifdef _KERNEL_OPT
|
||||||
#include "opt_insecure.h"
|
#include "opt_insecure.h"
|
||||||
|
@ -54,7 +54,7 @@ __KERNEL_RCSID(0, "$NetBSD: secmodel_bsd44_securelevel.c,v 1.28 2007/01/09 12:57
|
||||||
|
|
||||||
#include <secmodel/bsd44/securelevel.h>
|
#include <secmodel/bsd44/securelevel.h>
|
||||||
|
|
||||||
int securelevel;
|
static int securelevel;
|
||||||
|
|
||||||
static kauth_listener_t l_system, l_process, l_network, l_machdep, l_device;
|
static kauth_listener_t l_system, l_process, l_network, l_machdep, l_device;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: systm.h,v 1.191 2006/12/31 10:35:53 elad Exp $ */
|
/* $NetBSD: systm.h,v 1.192 2007/01/10 11:20:20 elad Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1982, 1988, 1991, 1993
|
* Copyright (c) 1982, 1988, 1991, 1993
|
||||||
|
@ -61,7 +61,6 @@ struct uio;
|
||||||
struct vnode;
|
struct vnode;
|
||||||
struct vmspace;
|
struct vmspace;
|
||||||
|
|
||||||
extern int securelevel; /* system security level */
|
|
||||||
extern const char *panicstr; /* panic message */
|
extern const char *panicstr; /* panic message */
|
||||||
extern int doing_shutdown; /* shutting down */
|
extern int doing_shutdown; /* shutting down */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue