From owner-p4-projects@FreeBSD.ORG Sat Jan 10 19:16:15 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 81F6516A4D1; Sat, 10 Jan 2004 19:16:15 -0800 (PST) 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 5D6BB16A4CE for ; Sat, 10 Jan 2004 19:16:15 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4487543D4C for ; Sat, 10 Jan 2004 19:16:08 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0B3G80B030751 for ; Sat, 10 Jan 2004 19:16:08 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0B3G7iV030748 for perforce@freebsd.org; Sat, 10 Jan 2004 19:16:07 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sat, 10 Jan 2004 19:16:07 -0800 (PST) Message-Id: <200401110316.i0B3G7iV030748@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 45096 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: Sun, 11 Jan 2004 03:16:16 -0000 http://perforce.freebsd.org/chv.cgi?CH=45096 Change 45096 by rwatson@rwatson_paprika on 2004/01/10 19:15:12 Import Apple Mac OS X kernel audit implementation, as found in XNU-517.3.7 (Mac OS X 10.3.2). This code falls under the APSL 2.0 license. Add "options AUDIT". Hook up C files to the build (won't compile as they stand since they're literally the Darwin import.) Affected files ... .. //depot/projects/trustedbsd/audit2/sys/conf/NOTES#2 edit .. //depot/projects/trustedbsd/audit2/sys/conf/files#2 edit .. //depot/projects/trustedbsd/audit2/sys/conf/majors#2 edit .. //depot/projects/trustedbsd/audit2/sys/conf/options#2 edit .. //depot/projects/trustedbsd/audit2/sys/i386/conf/AUDIT#1 add .. //depot/projects/trustedbsd/audit2/sys/security/audit/audit.c#1 add .. //depot/projects/trustedbsd/audit2/sys/security/audit/audit.h#1 add .. //depot/projects/trustedbsd/audit2/sys/security/audit/bsm_audit.c#1 add .. //depot/projects/trustedbsd/audit2/sys/security/audit/bsm_klib.c#1 add .. //depot/projects/trustedbsd/audit2/sys/security/audit/bsm_klib.h#1 add .. //depot/projects/trustedbsd/audit2/sys/security/audit/bsm_token.c#1 add .. //depot/projects/trustedbsd/audit2/sys/sys/bsm_kevents.h#1 add .. //depot/projects/trustedbsd/audit2/sys/sys/bsm_token.h#1 add .. //depot/projects/trustedbsd/audit2/sys/sys/bsm_uevents.h#1 add Differences ... ==== //depot/projects/trustedbsd/audit2/sys/conf/NOTES#2 (text+ko) ==== @@ -814,6 +814,9 @@ ##################################################################### # SECURITY POLICY PARAMETERS +# Support for BSM Audit +options AUDIT + # Support for Mandatory Access Control (MAC): options MAC options MAC_BIBA ==== //depot/projects/trustedbsd/audit2/sys/conf/files#2 (text+ko) ==== @@ -1629,6 +1629,11 @@ posix4/p1003_1b.c standard posix4/posix4_mib.c standard kern/uipc_sem.c optional p1003_1b_semaphores +security/audit/audit.c optional audit +security/audit/bsm_audit.c optional audit +security/audit/bsm_kevents.c optional audit +security/audit/bsm_klib.c optional audit +security/audit/bsm_token.c optional audit security/mac/mac_label.c optional mac security/mac/mac_net.c optional mac security/mac/mac_pipe.c optional mac ==== //depot/projects/trustedbsd/audit2/sys/conf/majors#2 (text+ko) ==== @@ -119,7 +119,6 @@ 115 dag University of Waikato DAG network capture boards 117 *acd ATAPI CDROM 119 *ast ATAPI tape -120 aud Audit Device 121 onew Dallas Semiconductor One-Wire bus 122 *uhid USB HID devices 123 *fb frame buffer ==== //depot/projects/trustedbsd/audit2/sys/conf/options#2 (text+ko) ==== @@ -74,6 +74,7 @@ # Miscellaneous options. ADAPTIVE_MUTEXES ALQ +AUDIT CODA_COMPAT_5 opt_coda.h COMPAT_43 opt_compat.h COMPAT_FREEBSD4 opt_compat.h