Comment describing the semantics of mac_late.
Trim trailing whitespace. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
This commit is contained in:
parent
1b89bed0f7
commit
068e73d389
@ -108,6 +108,11 @@ static unsigned int mac_policy_offsets_free = (1 << MAC_MAX_POLICIES) - 1;
|
||||
SYSCTL_UINT(_security_mac, OID_AUTO, max_policies, CTLFLAG_RD,
|
||||
&mac_max_policies, 0, "");
|
||||
|
||||
/*
|
||||
* Has the kernel started generating labeled objects yet? All read/write
|
||||
* access to this variable is serialized during the boot process. Following
|
||||
* the end of serialization, we don't update this flag; no locking.
|
||||
*/
|
||||
static int mac_late = 0;
|
||||
|
||||
static int mac_enforce_fs = 1;
|
||||
|
@ -108,6 +108,11 @@ static unsigned int mac_policy_offsets_free = (1 << MAC_MAX_POLICIES) - 1;
|
||||
SYSCTL_UINT(_security_mac, OID_AUTO, max_policies, CTLFLAG_RD,
|
||||
&mac_max_policies, 0, "");
|
||||
|
||||
/*
|
||||
* Has the kernel started generating labeled objects yet? All read/write
|
||||
* access to this variable is serialized during the boot process. Following
|
||||
* the end of serialization, we don't update this flag; no locking.
|
||||
*/
|
||||
static int mac_late = 0;
|
||||
|
||||
static int mac_enforce_fs = 1;
|
||||
|
@ -108,6 +108,11 @@ static unsigned int mac_policy_offsets_free = (1 << MAC_MAX_POLICIES) - 1;
|
||||
SYSCTL_UINT(_security_mac, OID_AUTO, max_policies, CTLFLAG_RD,
|
||||
&mac_max_policies, 0, "");
|
||||
|
||||
/*
|
||||
* Has the kernel started generating labeled objects yet? All read/write
|
||||
* access to this variable is serialized during the boot process. Following
|
||||
* the end of serialization, we don't update this flag; no locking.
|
||||
*/
|
||||
static int mac_late = 0;
|
||||
|
||||
static int mac_enforce_fs = 1;
|
||||
|
@ -108,6 +108,11 @@ static unsigned int mac_policy_offsets_free = (1 << MAC_MAX_POLICIES) - 1;
|
||||
SYSCTL_UINT(_security_mac, OID_AUTO, max_policies, CTLFLAG_RD,
|
||||
&mac_max_policies, 0, "");
|
||||
|
||||
/*
|
||||
* Has the kernel started generating labeled objects yet? All read/write
|
||||
* access to this variable is serialized during the boot process. Following
|
||||
* the end of serialization, we don't update this flag; no locking.
|
||||
*/
|
||||
static int mac_late = 0;
|
||||
|
||||
static int mac_enforce_fs = 1;
|
||||
|
@ -108,6 +108,11 @@ static unsigned int mac_policy_offsets_free = (1 << MAC_MAX_POLICIES) - 1;
|
||||
SYSCTL_UINT(_security_mac, OID_AUTO, max_policies, CTLFLAG_RD,
|
||||
&mac_max_policies, 0, "");
|
||||
|
||||
/*
|
||||
* Has the kernel started generating labeled objects yet? All read/write
|
||||
* access to this variable is serialized during the boot process. Following
|
||||
* the end of serialization, we don't update this flag; no locking.
|
||||
*/
|
||||
static int mac_late = 0;
|
||||
|
||||
static int mac_enforce_fs = 1;
|
||||
|
@ -108,6 +108,11 @@ static unsigned int mac_policy_offsets_free = (1 << MAC_MAX_POLICIES) - 1;
|
||||
SYSCTL_UINT(_security_mac, OID_AUTO, max_policies, CTLFLAG_RD,
|
||||
&mac_max_policies, 0, "");
|
||||
|
||||
/*
|
||||
* Has the kernel started generating labeled objects yet? All read/write
|
||||
* access to this variable is serialized during the boot process. Following
|
||||
* the end of serialization, we don't update this flag; no locking.
|
||||
*/
|
||||
static int mac_late = 0;
|
||||
|
||||
static int mac_enforce_fs = 1;
|
||||
|
@ -108,6 +108,11 @@ static unsigned int mac_policy_offsets_free = (1 << MAC_MAX_POLICIES) - 1;
|
||||
SYSCTL_UINT(_security_mac, OID_AUTO, max_policies, CTLFLAG_RD,
|
||||
&mac_max_policies, 0, "");
|
||||
|
||||
/*
|
||||
* Has the kernel started generating labeled objects yet? All read/write
|
||||
* access to this variable is serialized during the boot process. Following
|
||||
* the end of serialization, we don't update this flag; no locking.
|
||||
*/
|
||||
static int mac_late = 0;
|
||||
|
||||
static int mac_enforce_fs = 1;
|
||||
|
@ -108,6 +108,11 @@ static unsigned int mac_policy_offsets_free = (1 << MAC_MAX_POLICIES) - 1;
|
||||
SYSCTL_UINT(_security_mac, OID_AUTO, max_policies, CTLFLAG_RD,
|
||||
&mac_max_policies, 0, "");
|
||||
|
||||
/*
|
||||
* Has the kernel started generating labeled objects yet? All read/write
|
||||
* access to this variable is serialized during the boot process. Following
|
||||
* the end of serialization, we don't update this flag; no locking.
|
||||
*/
|
||||
static int mac_late = 0;
|
||||
|
||||
static int mac_enforce_fs = 1;
|
||||
|
@ -108,6 +108,11 @@ static unsigned int mac_policy_offsets_free = (1 << MAC_MAX_POLICIES) - 1;
|
||||
SYSCTL_UINT(_security_mac, OID_AUTO, max_policies, CTLFLAG_RD,
|
||||
&mac_max_policies, 0, "");
|
||||
|
||||
/*
|
||||
* Has the kernel started generating labeled objects yet? All read/write
|
||||
* access to this variable is serialized during the boot process. Following
|
||||
* the end of serialization, we don't update this flag; no locking.
|
||||
*/
|
||||
static int mac_late = 0;
|
||||
|
||||
static int mac_enforce_fs = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user