Missed in previous merge: export sizeof(struct oldmac) rather than
sizeof(struct mac). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
This commit is contained in:
parent
53b8edec96
commit
2789e47e2c
@ -140,7 +140,7 @@ SYSCTL_INT(_security_mac, OID_AUTO, enforce_vm, CTLFLAG_RW,
|
||||
&mac_enforce_vm, 0, "Enforce MAC policy on vm operations");
|
||||
TUNABLE_INT("security.mac.enforce_vm", &mac_enforce_vm);
|
||||
|
||||
static int mac_label_size = sizeof(struct mac);
|
||||
static int mac_label_size = sizeof(struct oldmac);
|
||||
SYSCTL_INT(_security_mac, OID_AUTO, label_size, CTLFLAG_RD,
|
||||
&mac_label_size, 0, "Pre-compiled MAC label size");
|
||||
|
||||
|
@ -140,7 +140,7 @@ SYSCTL_INT(_security_mac, OID_AUTO, enforce_vm, CTLFLAG_RW,
|
||||
&mac_enforce_vm, 0, "Enforce MAC policy on vm operations");
|
||||
TUNABLE_INT("security.mac.enforce_vm", &mac_enforce_vm);
|
||||
|
||||
static int mac_label_size = sizeof(struct mac);
|
||||
static int mac_label_size = sizeof(struct oldmac);
|
||||
SYSCTL_INT(_security_mac, OID_AUTO, label_size, CTLFLAG_RD,
|
||||
&mac_label_size, 0, "Pre-compiled MAC label size");
|
||||
|
||||
|
@ -140,7 +140,7 @@ SYSCTL_INT(_security_mac, OID_AUTO, enforce_vm, CTLFLAG_RW,
|
||||
&mac_enforce_vm, 0, "Enforce MAC policy on vm operations");
|
||||
TUNABLE_INT("security.mac.enforce_vm", &mac_enforce_vm);
|
||||
|
||||
static int mac_label_size = sizeof(struct mac);
|
||||
static int mac_label_size = sizeof(struct oldmac);
|
||||
SYSCTL_INT(_security_mac, OID_AUTO, label_size, CTLFLAG_RD,
|
||||
&mac_label_size, 0, "Pre-compiled MAC label size");
|
||||
|
||||
|
@ -140,7 +140,7 @@ SYSCTL_INT(_security_mac, OID_AUTO, enforce_vm, CTLFLAG_RW,
|
||||
&mac_enforce_vm, 0, "Enforce MAC policy on vm operations");
|
||||
TUNABLE_INT("security.mac.enforce_vm", &mac_enforce_vm);
|
||||
|
||||
static int mac_label_size = sizeof(struct mac);
|
||||
static int mac_label_size = sizeof(struct oldmac);
|
||||
SYSCTL_INT(_security_mac, OID_AUTO, label_size, CTLFLAG_RD,
|
||||
&mac_label_size, 0, "Pre-compiled MAC label size");
|
||||
|
||||
|
@ -140,7 +140,7 @@ SYSCTL_INT(_security_mac, OID_AUTO, enforce_vm, CTLFLAG_RW,
|
||||
&mac_enforce_vm, 0, "Enforce MAC policy on vm operations");
|
||||
TUNABLE_INT("security.mac.enforce_vm", &mac_enforce_vm);
|
||||
|
||||
static int mac_label_size = sizeof(struct mac);
|
||||
static int mac_label_size = sizeof(struct oldmac);
|
||||
SYSCTL_INT(_security_mac, OID_AUTO, label_size, CTLFLAG_RD,
|
||||
&mac_label_size, 0, "Pre-compiled MAC label size");
|
||||
|
||||
|
@ -140,7 +140,7 @@ SYSCTL_INT(_security_mac, OID_AUTO, enforce_vm, CTLFLAG_RW,
|
||||
&mac_enforce_vm, 0, "Enforce MAC policy on vm operations");
|
||||
TUNABLE_INT("security.mac.enforce_vm", &mac_enforce_vm);
|
||||
|
||||
static int mac_label_size = sizeof(struct mac);
|
||||
static int mac_label_size = sizeof(struct oldmac);
|
||||
SYSCTL_INT(_security_mac, OID_AUTO, label_size, CTLFLAG_RD,
|
||||
&mac_label_size, 0, "Pre-compiled MAC label size");
|
||||
|
||||
|
@ -140,7 +140,7 @@ SYSCTL_INT(_security_mac, OID_AUTO, enforce_vm, CTLFLAG_RW,
|
||||
&mac_enforce_vm, 0, "Enforce MAC policy on vm operations");
|
||||
TUNABLE_INT("security.mac.enforce_vm", &mac_enforce_vm);
|
||||
|
||||
static int mac_label_size = sizeof(struct mac);
|
||||
static int mac_label_size = sizeof(struct oldmac);
|
||||
SYSCTL_INT(_security_mac, OID_AUTO, label_size, CTLFLAG_RD,
|
||||
&mac_label_size, 0, "Pre-compiled MAC label size");
|
||||
|
||||
|
@ -140,7 +140,7 @@ SYSCTL_INT(_security_mac, OID_AUTO, enforce_vm, CTLFLAG_RW,
|
||||
&mac_enforce_vm, 0, "Enforce MAC policy on vm operations");
|
||||
TUNABLE_INT("security.mac.enforce_vm", &mac_enforce_vm);
|
||||
|
||||
static int mac_label_size = sizeof(struct mac);
|
||||
static int mac_label_size = sizeof(struct oldmac);
|
||||
SYSCTL_INT(_security_mac, OID_AUTO, label_size, CTLFLAG_RD,
|
||||
&mac_label_size, 0, "Pre-compiled MAC label size");
|
||||
|
||||
|
@ -140,7 +140,7 @@ SYSCTL_INT(_security_mac, OID_AUTO, enforce_vm, CTLFLAG_RW,
|
||||
&mac_enforce_vm, 0, "Enforce MAC policy on vm operations");
|
||||
TUNABLE_INT("security.mac.enforce_vm", &mac_enforce_vm);
|
||||
|
||||
static int mac_label_size = sizeof(struct mac);
|
||||
static int mac_label_size = sizeof(struct oldmac);
|
||||
SYSCTL_INT(_security_mac, OID_AUTO, label_size, CTLFLAG_RD,
|
||||
&mac_label_size, 0, "Pre-compiled MAC label size");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user