From owner-p4-projects@FreeBSD.ORG Fri Apr 22 19:19:38 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5F35116A4D0; Fri, 22 Apr 2005 19:19:38 +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 220CB16A4CE for ; Fri, 22 Apr 2005 19:19:38 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08E3D43D2D for ; Fri, 22 Apr 2005 19:19:38 +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 j3MJJbt3089765 for ; Fri, 22 Apr 2005 19:19:37 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 j3MJJbJk089762 for perforce@freebsd.org; Fri, 22 Apr 2005 19:19:37 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Fri, 22 Apr 2005 19:19:37 GMT Message-Id: <200504221919.j3MJJbJk089762@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 75736 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: Fri, 22 Apr 2005 19:19:39 -0000 http://perforce.freebsd.org/chv.cgi?CH=75736 Change 75736 by rwatson@rwatson_paprika on 2005/04/22 19:19:30 #ifdef DARWIN (is that the right ifdef?) Apple-specific notification APIs, mach port include. Affected files ... .. //depot/projects/trustedbsd/openbsm/libbsm/libbsm.h#2 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/libbsm/libbsm.h#2 (text+ko) ==== @@ -45,7 +45,9 @@ #include #include +#ifdef DARWIN #include /* audit_token_t */ +#endif #define AU_PRS_SUCCESS 1 #define AU_PRS_FAILURE 2 @@ -838,6 +840,7 @@ void au_print_tok(FILE *outfp, tokenstr_t *tok, char *del, char raw, char sfrm); __END_DECLS +#ifdef DARWIN /* * Apple-internal "wrapping" and utility definitions and prototypes. */ @@ -906,6 +909,8 @@ int au_get_state(void); __END_DECLS +#endif /* !DARWIN */ + /* OpenSSH compatibility */ #define cannot_audit(x) (au_get_state() == AUC_NOAUDIT)