svn commit: r217325 - in head/sys/security: mac mac_seeotheruids

Matthew D Fleming mdf at FreeBSD.org
Wed Jan 12 19:54:14 UTC 2011


Author: mdf
Date: Wed Jan 12 19:54:14 2011
New Revision: 217325
URL: http://svn.freebsd.org/changeset/base/217325

Log:
  sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
  
  Commit the security directory.

Modified:
  head/sys/security/mac/mac_framework.c
  head/sys/security/mac_seeotheruids/mac_seeotheruids.c

Modified: head/sys/security/mac/mac_framework.c
==============================================================================
--- head/sys/security/mac/mac_framework.c	Wed Jan 12 19:54:07 2011	(r217324)
+++ head/sys/security/mac/mac_framework.c	Wed Jan 12 19:54:14 2011	(r217325)
@@ -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");

Modified: head/sys/security/mac_seeotheruids/mac_seeotheruids.c
==============================================================================
--- head/sys/security/mac_seeotheruids/mac_seeotheruids.c	Wed Jan 12 19:54:07 2011	(r217324)
+++ head/sys/security/mac_seeotheruids/mac_seeotheruids.c	Wed Jan 12 19:54:14 2011	(r217325)
@@ -98,7 +98,7 @@ SYSCTL_INT(_security_mac_seeotheruids, O
     "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


More information about the svn-src-all mailing list