PERFORCE change 16421 for review
Robert Watson
rwatson at freebsd.org
Thu Aug 22 13:26:33 GMT 2002
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16421
Change 16421 by rwatson at rwatson_paprika on 2002/08/22 06:26:30
Move mac_pid_data to the common area for structures shared
by the kernel and userland, somehow it got moved to
kernel-only bit breaking the ps build.
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/sys/mac.h#156 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/sys/mac.h#156 (text+ko) ====
@@ -144,6 +144,12 @@
};
typedef struct mac *mac_t;
+struct mac_pid_data {
+ char mpd_name[128]; /* arbitrarily-sized */
+ char *mpd_data; /* label data to export */
+ size_t *mpd_datalen; /* passed both in and out */
+};
+
#define MAC_FLAG_INITIALIZED 0x00000001 /* Is initialized. */
#ifndef _KERNEL
@@ -151,7 +157,6 @@
/*
* POSIX.1e functions visible in the application namespace.
*/
-struct mac_pid_data;
int mac_dominate(const mac_t _labela, const mac_t _labelb);
int mac_equal(const mac_t labela, const mac_t _labelb);
int mac_free(void *_buf_p);
@@ -187,12 +192,6 @@
#else /* _KERNEL */
-struct mac_pid_data {
- char mpd_name[128]; /* arbitrarily-sized */
- char *mpd_data; /* label data to export */
- size_t *mpd_datalen; /* passed both in and out */
-};
-
/*
* Kernel functions to manage and evaluate labels.
*/
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