Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2003 18:28:01 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 33485 for review
Message-ID:  <200306220128.h5M1S1AM066122@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=33485

Change 33485 by rwatson@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 */



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