summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2011-01-12 19:54:14 +0000
committermdf <mdf@FreeBSD.org>2011-01-12 19:54:14 +0000
commit536d58a251b1ba1915a1b29f23d1f9b221352d4a (patch)
treec684346723c5bdcc9cd29e75e76cf18263c69e5e /sys/security
parenta47f6d552cd6128f7680fa3cf7d1d859a6266181 (diff)
downloadFreeBSD-src-536d58a251b1ba1915a1b29f23d1f9b221352d4a.zip
FreeBSD-src-536d58a251b1ba1915a1b29f23d1f9b221352d4a.tar.gz
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the security directory.
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/mac/mac_framework.c2
-rw-r--r--sys/security/mac_seeotheruids/mac_seeotheruids.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac/mac_framework.c b/sys/security/mac/mac_framework.c
index fa06928..d4960f9 100644
--- a/sys/security/mac/mac_framework.c
+++ b/sys/security/mac/mac_framework.c
@@ -151,7 +151,7 @@ static int mac_late = 0;
* for an object type at run-time.
*/
uint64_t mac_labeled;
-SYSCTL_QUAD(_security_mac, OID_AUTO, labeled, CTLFLAG_RD, &mac_labeled, 0,
+SYSCTL_UQUAD(_security_mac, OID_AUTO, labeled, CTLFLAG_RD, &mac_labeled, 0,
"Mask of object types being labeled");
MALLOC_DEFINE(M_MACTEMP, "mactemp", "MAC temporary label storage");
diff --git a/sys/security/mac_seeotheruids/mac_seeotheruids.c b/sys/security/mac_seeotheruids/mac_seeotheruids.c
index e1b73e0..872647d 100644
--- a/sys/security/mac_seeotheruids/mac_seeotheruids.c
+++ b/sys/security/mac_seeotheruids/mac_seeotheruids.c
@@ -98,7 +98,7 @@ SYSCTL_INT(_security_mac_seeotheruids, OID_AUTO, specificgid_enabled,
"with a specific gid as their real primary group id or group set");
static gid_t specificgid = 0;
-SYSCTL_INT(_security_mac_seeotheruids, OID_AUTO, specificgid, CTLFLAG_RW,
+SYSCTL_UINT(_security_mac_seeotheruids, OID_AUTO, specificgid, CTLFLAG_RW,
&specificgid, 0, "Specific gid to be exempt from seeotheruids policy");
static int
OpenPOWER on IntegriCloud