PERFORCE change 33485 for review

Robert Watson rwatson at FreeBSD.org
Sun Jun 22 01:28:01 GMT 2003


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

Change 33485 by rwatson at rwatson_powerbook on 2003/06/21 18:27:20

	Add label to the user credential structure.  Note that Darwin 6.6
	doesn't have xucred, so we'll want to add that at some point.

Affected files ...

.. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/sys/ucred.h#2 edit

Differences ...

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

@@ -60,6 +60,7 @@
 
 #include <sys/appleapiopts.h>
 #include <sys/param.h>
+#include <sys/_label.h>
 
 #ifdef __APPLE_API_UNSTABLE
 /*
@@ -70,6 +71,7 @@
 	uid_t	cr_uid;			/* effective user id */
 	short	cr_ngroups;		/* number of groups */
 	gid_t	cr_groups[NGROUPS];	/* groups */
+	struct label	cr_label;	/* MAC label */
 };
 #define cr_gid cr_groups[0]
 #define NOCRED ((struct ucred *)0)	/* no credential available */
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