Date: Wed, 18 Mar 2009 05:04:39 GMT From: Stacey Son <sson@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 159366 for review Message-ID: <200903180504.n2I54dY7096490@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=159366 Change 159366 by sson@sson_amd64 on 2009/03/18 05:04:10 Remove convenience macros because of potential namespace pollution. The convenience field macros for struct au_session could cause problems for other code that includes bsm/audit.h. Affected files ... .. //depot/projects/trustedbsd/openbsm/sys/bsm/audit.h#8 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/sys/bsm/audit.h#8 (text+ko) ==== @@ -26,7 +26,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit.h#7 $ + * $P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit.h#8 $ */ #ifndef _BSM_AUDIT_H @@ -230,11 +230,6 @@ struct au_session { auditinfo_addr_t *as_aia_p; /* Ptr to full audit info. */ -#define as_asid as_aia_p->ai_asid -#define as_auid as_aia_p->ai_auid -#define as_termid as_aia_p->ai_termid -#define as_flags as_aia_p->ai_flags - au_mask_t as_mask; /* Process Audit Masks. */ }; typedef struct au_session au_session_t;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903180504.n2I54dY7096490>