From owner-svn-src-head@FreeBSD.ORG Tue Nov 11 23:08:20 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 526D61065670; Tue, 11 Nov 2008 23:08:20 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3C2248FC14; Tue, 11 Nov 2008 23:08:20 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mABN8Kim013749; Tue, 11 Nov 2008 23:08:20 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mABN8KMx013747; Tue, 11 Nov 2008 23:08:20 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <200811112308.mABN8KMx013747@svn.freebsd.org> From: Robert Watson Date: Tue, 11 Nov 2008 23:08:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184858 - head/sys/security/audit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 23:08:20 -0000 Author: rwatson Date: Tue Nov 11 23:08:20 2008 New Revision: 184858 URL: http://svn.freebsd.org/changeset/base/184858 Log: Move audit-internal function definitions for getting and setting audit kinfo state to audit_private.h. Modified: head/sys/security/audit/audit.h head/sys/security/audit/audit_private.h Modified: head/sys/security/audit/audit.h ============================================================================== --- head/sys/security/audit/audit.h Tue Nov 11 22:59:40 2008 (r184857) +++ head/sys/security/audit/audit.h Tue Nov 11 23:08:20 2008 (r184858) @@ -180,8 +180,6 @@ void audit_cred_proc1(struct ucred *cre void audit_proc_coredump(struct thread *td, char *path, int errcode); void audit_thread_alloc(struct thread *td); void audit_thread_free(struct thread *td); -void audit_set_kinfo(struct auditinfo_addr *); -void audit_get_kinfo(struct auditinfo_addr *); /* * Define a macro to wrap the audit_arg_* calls by checking the global Modified: head/sys/security/audit/audit_private.h ============================================================================== --- head/sys/security/audit/audit_private.h Tue Nov 11 22:59:40 2008 (r184857) +++ head/sys/security/audit/audit_private.h Tue Nov 11 23:08:20 2008 (r184858) @@ -319,6 +319,12 @@ void audit_trigger_init(void); int audit_send_trigger(unsigned int trigger); /* + * Accessor functions to manage global audit state. + */ +void audit_set_kinfo(struct auditinfo_addr *); +void audit_get_kinfo(struct auditinfo_addr *); + +/* * General audit related functions. */ struct kaudit_record *currecord(void);