PERFORCE change 34949 for review

Chris Vance cvance at FreeBSD.org
Thu Jul 24 17:14:33 GMT 2003


http://perforce.freebsd.org/chv.cgi?CH=34949

Change 34949 by cvance at cvance_osx_laptop on 2003/07/24 10:13:51

	Attempt to add a 'security' top-level sysctl.  This doesn't quite 
	work yet.

Affected files ...

.. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_mib.c#2 edit
.. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/sys/sysctl.h#3 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_mib.c#2 (text+ko) ====

@@ -89,4 +89,6 @@
 	"machine dependent");
 SYSCTL_NODE(, CTL_USER,	  user,   CTLFLAG_RW, 0,
 	"user-level");
+SYSCTL_NODE(, CTL_SECURITY, security,   CTLFLAG_RW, 0,
+	"security");
 

==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/sys/sysctl.h#3 (text+ko) ====

@@ -245,7 +245,8 @@
 #define	CTL_HW		6		/* generic cpu/io */
 #define	CTL_MACHDEP	7		/* machine dependent */
 #define	CTL_USER	8		/* user-level */
-#define	CTL_MAXID	9		/* number of valid top-level ids */
+#define CTL_SECURITY	9		/* security information */
+#define	CTL_MAXID	10		/* number of valid top-level ids */
 
 #define CTL_NAMES { \
 	{ 0, 0 }, \
@@ -257,6 +258,7 @@
 	{ "hw", CTLTYPE_NODE }, \
 	{ "machdep", CTLTYPE_NODE }, \
 	{ "user", CTLTYPE_NODE }, \
+	{ "security", CTLTYPE_NODE }, \
 }
 
 /*
@@ -605,6 +607,7 @@
 SYSCTL_DECL(_hw);
 SYSCTL_DECL(_machdep);
 SYSCTL_DECL(_user);
+SYSCTL_DECL(_security);
 
 
 #ifdef DEBUG
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list