Deleted Added
full compact
auditd_lib.h (186647) auditd_lib.h (187214)
1/*-
2 * Copyright (c) 2008 Apple 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) 2008 Apple 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 * $P4: //depot/projects/trustedbsd/openbsm/bsm/auditd_lib.h#2 $
29 * $P4: //depot/projects/trustedbsd/openbsm/bsm/auditd_lib.h#3 $
30 */
31
32#ifndef _BSM_AUDITD_LIB_H_
33#define _BSM_AUDITD_LIB_H_
34
35/*
36 * Lengths for audit trail file components.
37 */

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

52 * The symbolic link to the currently active audit trail file.
53 */
54#define AUDIT_CURRENT_LINK "/var/audit/current"
55
56/*
57 * Path of auditd plist file for launchd.
58 */
59#define AUDITD_PLIST_FILE \
30 */
31
32#ifndef _BSM_AUDITD_LIB_H_
33#define _BSM_AUDITD_LIB_H_
34
35/*
36 * Lengths for audit trail file components.
37 */

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

52 * The symbolic link to the currently active audit trail file.
53 */
54#define AUDIT_CURRENT_LINK "/var/audit/current"
55
56/*
57 * Path of auditd plist file for launchd.
58 */
59#define AUDITD_PLIST_FILE \
60 "/System/Library/LaunchDaemons/org.trustedbsd.auditd.plist"
60 "/System/Library/LaunchDaemons/com.apple.auditd.plist"
61
62/*
63 * Error return codes for auditd_lib functions.
64 */
65#define ADE_NOERR 0 /* No Error or Success. */
66#define ADE_PARSE -1 /* Error parsing audit_control(5). */
67#define ADE_AUDITON -2 /* auditon(2) call failed. */
68#define ADE_NOMEM -3 /* Error allocating memory. */

--- 37 unchanged lines hidden ---
61
62/*
63 * Error return codes for auditd_lib functions.
64 */
65#define ADE_NOERR 0 /* No Error or Success. */
66#define ADE_PARSE -1 /* Error parsing audit_control(5). */
67#define ADE_AUDITON -2 /* auditon(2) call failed. */
68#define ADE_NOMEM -3 /* Error allocating memory. */

--- 37 unchanged lines hidden ---