Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2011 19:54:14 +0000 (UTC)
From:      Matthew D Fleming <mdf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r217325 - in head/sys/security: mac mac_seeotheruids
Message-ID:  <201101121954.p0CJsExi005269@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101121954.p0CJsExi005269>