Date: Thu, 22 Aug 2002 06:26:33 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 16421 for review Message-ID: <200208221326.g7MDQXuU027660@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16421 Change 16421 by rwatson@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@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208221326.g7MDQXuU027660>