From owner-p4-projects Thu Aug 22 6:26:42 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 714D037B406; Thu, 22 Aug 2002 06:26:35 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D2BE37B401 for ; Thu, 22 Aug 2002 06:26:34 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBDF143E75 for ; Thu, 22 Aug 2002 06:26:33 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7MDQXJU027663 for ; Thu, 22 Aug 2002 06:26:33 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7MDQXuU027660 for perforce@freebsd.org; Thu, 22 Aug 2002 06:26:33 -0700 (PDT) Date: Thu, 22 Aug 2002 06:26:33 -0700 (PDT) Message-Id: <200208221326.g7MDQXuU027660@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 16421 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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