Deleted Added
full compact
audit.h (171066) audit.h (172995)
1/*
2 * Copyright (c) 1999-2005 Apple Computer, Inc.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
25 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
26 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 * POSSIBILITY OF SUCH DAMAGE.
28 *
1/*
2 * Copyright (c) 1999-2005 Apple Computer, Inc.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
25 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
26 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 * POSSIBILITY OF SUCH DAMAGE.
28 *
29 * $FreeBSD: head/sys/security/audit/audit.h 171066 2007-06-27 17:01:15Z csjp $
29 * $FreeBSD: head/sys/security/audit/audit.h 172995 2007-10-26 01:23:07Z csjp $
30 */
31
32/*
33 * This header includes function prototypes and type definitions that are
34 * necessary for the kernel as a whole to interact with the audit subsystem.
35 */
36
37#ifndef _SECURITY_AUDIT_KERNEL_H_

--- 134 unchanged lines hidden (view full) ---

172void audit_arg_argv(char *argv, int argc, int length);
173void audit_arg_envv(char *envv, int envc, int length);
174void audit_sysclose(struct thread *td, int fd);
175void audit_cred_copy(struct ucred *src, struct ucred *dest);
176void audit_cred_destroy(struct ucred *cred);
177void audit_cred_init(struct ucred *cred);
178void audit_cred_kproc0(struct ucred *cred);
179void audit_cred_proc1(struct ucred *cred);
30 */
31
32/*
33 * This header includes function prototypes and type definitions that are
34 * necessary for the kernel as a whole to interact with the audit subsystem.
35 */
36
37#ifndef _SECURITY_AUDIT_KERNEL_H_

--- 134 unchanged lines hidden (view full) ---

172void audit_arg_argv(char *argv, int argc, int length);
173void audit_arg_envv(char *envv, int envc, int length);
174void audit_sysclose(struct thread *td, int fd);
175void audit_cred_copy(struct ucred *src, struct ucred *dest);
176void audit_cred_destroy(struct ucred *cred);
177void audit_cred_init(struct ucred *cred);
178void audit_cred_kproc0(struct ucred *cred);
179void audit_cred_proc1(struct ucred *cred);
180void audit_proc_coredump(struct thread *td, char *path, int errcode);
180void audit_thread_alloc(struct thread *td);
181void audit_thread_free(struct thread *td);
182
183/*
184 * Define a macro to wrap the audit_arg_* calls by checking the global
185 * audit_enabled flag before performing the actual call.
186 */
187#define AUDIT_ARG(op, args...) do { \

--- 45 unchanged lines hidden ---
181void audit_thread_alloc(struct thread *td);
182void audit_thread_free(struct thread *td);
183
184/*
185 * Define a macro to wrap the audit_arg_* calls by checking the global
186 * audit_enabled flag before performing the actual call.
187 */
188#define AUDIT_ARG(op, args...) do { \

--- 45 unchanged lines hidden ---