From owner-p4-projects@FreeBSD.ORG Sat Apr 23 12:36:56 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5085C16A4D0; Sat, 23 Apr 2005 12:36:56 +0000 (GMT) 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 CF16E16A4CE for ; Sat, 23 Apr 2005 12:36:55 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B86C643D39 for ; Sat, 23 Apr 2005 12:36:55 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3NCatCE066207 for ; Sat, 23 Apr 2005 12:36:55 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3NCatTx066204 for perforce@freebsd.org; Sat, 23 Apr 2005 12:36:55 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sat, 23 Apr 2005 12:36:55 GMT Message-Id: <200504231236.j3NCatTx066204@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Subject: PERFORCE change 75799 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Apr 2005 12:36:57 -0000 http://perforce.freebsd.org/chv.cgi?CH=75799 Change 75799 by rwatson@rwatson_paprika on 2005/04/23 12:36:14 FreeBSD and Darwin variants on _KERNEL. Affected files ... .. //depot/projects/trustedbsd/openbsm/bsm/audit.h#3 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/bsm/audit.h#3 (text+ko) ==== @@ -284,7 +284,7 @@ }; typedef struct au_evclass_map au_evclass_map_t; -#ifndef KERNEL +#if !defined(_KERNEL) && !defined(KERNEL) int audit (const void *, int); int auditon (int, void *, int); @@ -295,7 +295,7 @@ int setaudit (const struct auditinfo *); int getaudit_addr (struct auditinfo_addr *, int); int setaudit_addr (const struct auditinfo_addr *, int); -#endif /* !KERNEL */ +#endif /* defined(_KERNEL) || defined(KERNEL) */ __END_DECLS