Deleted Added
full compact
audit_private.h (156889) audit_private.h (159261)
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_private.h 156889 2006-03-19 17:34:00Z rwatson $
29 * $FreeBSD: head/sys/security/audit/audit_private.h 159261 2006-06-05 13:43:57Z rwatson $
30 */
31
32/*
33 * This include file contains function prototypes and type definitions used
34 * within the audit implementation.
35 */
36
37#ifndef _SECURITY_AUDIT_PRIVATE_H_

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

264#define AU_PRS_FAILURE 2
265#define AU_PRS_BOTH (AU_PRS_SUCCESS|AU_PRS_FAILURE)
266
267/*
268 * Data structures relating to the kernel audit queue. Ideally, these might
269 * be abstracted so that only accessor methods are exposed.
270 */
271extern struct mtx audit_mtx;
30 */
31
32/*
33 * This include file contains function prototypes and type definitions used
34 * within the audit implementation.
35 */
36
37#ifndef _SECURITY_AUDIT_PRIVATE_H_

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

264#define AU_PRS_FAILURE 2
265#define AU_PRS_BOTH (AU_PRS_SUCCESS|AU_PRS_FAILURE)
266
267/*
268 * Data structures relating to the kernel audit queue. Ideally, these might
269 * be abstracted so that only accessor methods are exposed.
270 */
271extern struct mtx audit_mtx;
272extern struct cv audit_commit_cv;
273extern struct cv audit_cv;
272extern struct cv audit_watermark_cv;
273extern struct cv audit_worker_cv;
274extern struct kaudit_queue audit_q;
275extern int audit_q_len;
276extern int audit_pre_q_len;
277extern int audit_in_failure;
278
279/*
280 * Flags to use on audit files when opening and closing.
281 */

--- 51 unchanged lines hidden ---
274extern struct kaudit_queue audit_q;
275extern int audit_q_len;
276extern int audit_pre_q_len;
277extern int audit_in_failure;
278
279/*
280 * Flags to use on audit files when opening and closing.
281 */

--- 51 unchanged lines hidden ---