From owner-p4-projects@FreeBSD.ORG Tue Sep 27 14:46:58 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1EE0116A421; Tue, 27 Sep 2005 14:46:58 +0000 (GMT) X-Original-To: perforce@freebsd.org 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 E88D616A41F for ; Tue, 27 Sep 2005 14:46:57 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A079E43D48 for ; Tue, 27 Sep 2005 14:46:57 +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 j8REkvQn002604 for ; Tue, 27 Sep 2005 14:46:57 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 j8REkvB4002601 for perforce@freebsd.org; Tue, 27 Sep 2005 14:46:57 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Tue, 27 Sep 2005 14:46:57 GMT Message-Id: <200509271446.j8REkvB4002601@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 Cc: Subject: PERFORCE change 84348 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 14:46:58 -0000 http://perforce.freebsd.org/chv.cgi?CH=84348 Change 84348 by rwatson@rwatson_zoo on 2005/09/27 14:46:37 Rename sys/bsm/audit_kernel.h to sys/security/audit/audit.h, in order to more clearly separate APIs and data structures visible to user space from those visible only in the kernel. Affected files ... .. //depot/projects/trustedbsd/audit3/sys/bsm/audit_kernel.h#18 delete .. //depot/projects/trustedbsd/audit3/sys/i386/i386/trap.c#7 edit .. //depot/projects/trustedbsd/audit3/sys/kern/init_main.c#6 edit .. //depot/projects/trustedbsd/audit3/sys/kern/kern_descrip.c#10 edit .. //depot/projects/trustedbsd/audit3/sys/kern/kern_exit.c#8 edit .. //depot/projects/trustedbsd/audit3/sys/kern/kern_fork.c#10 edit .. //depot/projects/trustedbsd/audit3/sys/kern/vfs_lookup.c#7 edit .. //depot/projects/trustedbsd/audit3/sys/kern/vfs_syscalls.c#15 edit .. //depot/projects/trustedbsd/audit3/sys/security/audit/audit.h#1 branch .. //depot/projects/trustedbsd/audit3/sys/security/audit/audit_klib.h#6 edit .. //depot/projects/trustedbsd/audit3/sys/security/audit/kern_audit.c#40 edit .. //depot/projects/trustedbsd/audit3/sys/security/audit/kern_bsm_audit.c#14 edit .. //depot/projects/trustedbsd/audit3/sys/security/audit/kern_bsm_klib.c#13 edit .. //depot/projects/trustedbsd/audit3/sys/security/audit/kern_bsm_token.c#8 edit Differences ... ==== //depot/projects/trustedbsd/audit3/sys/i386/i386/trap.c#7 (text+ko) ==== @@ -77,7 +77,7 @@ #ifdef HWPMC_HOOKS #include #endif -#include +#include #include #include ==== //depot/projects/trustedbsd/audit3/sys/kern/init_main.c#6 (text+ko) ==== @@ -76,7 +76,7 @@ #include -#include +#include #include #include ==== //depot/projects/trustedbsd/audit3/sys/kern/kern_descrip.c#10 (text+ko) ==== @@ -39,9 +39,6 @@ #include "opt_compat.h" -#include -#include - #include #include @@ -70,6 +67,8 @@ #include #include +#include + #include static MALLOC_DEFINE(M_FILEDESC, "file desc", "Open file descriptor table"); ==== //depot/projects/trustedbsd/audit3/sys/kern/kern_exit.c#8 (text+ko) ==== @@ -70,7 +70,7 @@ #include #endif -#include +#include #include #include ==== //depot/projects/trustedbsd/audit3/sys/kern/kern_fork.c#10 (text+ko) ==== @@ -66,7 +66,7 @@ #include #include -#include +#include #include #include ==== //depot/projects/trustedbsd/audit3/sys/kern/vfs_lookup.c#7 (text+ko) ==== @@ -41,8 +41,6 @@ #include "opt_mac.h" #include "opt_vfs.h" -#include - #include #include #include @@ -60,6 +58,8 @@ #include #endif +#include + #include #define NAMEI_DIAGNOSTIC 1 ==== //depot/projects/trustedbsd/audit3/sys/kern/vfs_syscalls.c#15 (text+ko) ==== @@ -40,9 +40,6 @@ #include "opt_compat.h" #include "opt_mac.h" -#include -#include - #include #include #include @@ -73,6 +70,9 @@ #include +#include +#include + #include #include #include ==== //depot/projects/trustedbsd/audit3/sys/security/audit/audit_klib.h#6 (text+ko) ==== @@ -29,7 +29,7 @@ #define AU_PRS_BOTH (AU_PRS_SUCCESS|AU_PRS_FAILURE) #ifdef _KERNEL -#include +#include /* * Some of the BSM tokenizer functions take different parameters in the * kernel implementations in order to save the copying of large kernel ==== //depot/projects/trustedbsd/audit3/sys/security/audit/kern_audit.c#40 (text+ko) ==== @@ -52,7 +52,7 @@ #include #include -#include +#include #include /* ==== //depot/projects/trustedbsd/audit3/sys/security/audit/kern_bsm_audit.c#14 (text+ko) ==== @@ -34,8 +34,9 @@ #include #include #include -#include #include + +#include #include #include ==== //depot/projects/trustedbsd/audit3/sys/security/audit/kern_bsm_klib.c#13 (text+ko) ==== @@ -34,8 +34,8 @@ #include #include -#include #include +#include #include /* ==== //depot/projects/trustedbsd/audit3/sys/security/audit/kern_bsm_token.c#8 (text+ko) ==== @@ -50,8 +50,8 @@ #include #include -#include #include +#include #include #define GET_TOKEN_AREA(t, dptr, length) \