diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-09-18 02:00:19 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-09-18 02:00:19 +0000 |
commit | 22d6bef96d7f7f126802d0ea7652fe4b6f014386 (patch) | |
tree | dbc45e2c19fc485198854285526d22c3b19fb8e7 /sys/kern/kern_mac.c | |
parent | b66e6f201a30f8b93664f9507aa6dfa2bfb248d0 (diff) | |
download | FreeBSD-src-22d6bef96d7f7f126802d0ea7652fe4b6f014386.zip FreeBSD-src-22d6bef96d7f7f126802d0ea7652fe4b6f014386.tar.gz |
At the cost of seeming a little gauche, make use of more traditional
alphabetization for mac_enforce_pipe sysctl.
Obtained from: TrustedBSD Project
Sponsored by: DAPRA, NAI Labs
Diffstat (limited to 'sys/kern/kern_mac.c')
-rw-r--r-- | sys/kern/kern_mac.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_mac.c b/sys/kern/kern_mac.c index 5926f55..0bdffc7 100644 --- a/sys/kern/kern_mac.c +++ b/sys/kern/kern_mac.c @@ -130,6 +130,10 @@ SYSCTL_INT(_security_mac, OID_AUTO, enforce_network, CTLFLAG_RW, &mac_enforce_network, 0, "Enforce MAC policy on network packets"); TUNABLE_INT("security.mac.enforce_network", &mac_enforce_network); +static int mac_enforce_pipe = 1; +SYSCTL_INT(_security_mac, OID_AUTO, enforce_pipe, CTLFLAG_RW, + &mac_enforce_pipe, 0, "Enforce MAC policy on pipe operations"); + static int mac_enforce_process = 1; SYSCTL_INT(_security_mac, OID_AUTO, enforce_process, CTLFLAG_RW, &mac_enforce_process, 0, "Enforce MAC policy on inter-process operations"); @@ -140,10 +144,6 @@ SYSCTL_INT(_security_mac, OID_AUTO, enforce_socket, CTLFLAG_RW, &mac_enforce_socket, 0, "Enforce MAC policy on socket operations"); TUNABLE_INT("security.mac.enforce_socket", &mac_enforce_socket); -static int mac_enforce_pipe = 1; -SYSCTL_INT(_security_mac, OID_AUTO, enforce_pipe, CTLFLAG_RW, - &mac_enforce_pipe, 0, "Enforce MAC policy on pipe operations"); - static int mac_label_size = sizeof(struct mac); SYSCTL_INT(_security_mac, OID_AUTO, label_size, CTLFLAG_RD, &mac_label_size, 0, "Pre-compiled MAC label size"); |