1/*-
2 * Copyright (c) 2005 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 *
--- 12 unchanged lines hidden (view full) ---
21 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 *
29 * P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit.h#4
30 * $FreeBSD: head/sys/bsm/audit.h 187214 2009-01-14 10:44:16Z rwatson $
31 */
32
33#ifndef _BSM_AUDIT_H
34#define _BSM_AUDIT_H
35
36#ifdef __APPLE__
37/* Temporary until rdar://problem/6133383 is resolved. */
38#include <sys/types.h>
--- 22 unchanged lines hidden (view full) ---
61 */
62#define AUDIT_TRIGGER_MIN 1
63#define AUDIT_TRIGGER_LOW_SPACE 1 /* Below low watermark. */
64#define AUDIT_TRIGGER_ROTATE_KERNEL 2 /* Kernel requests rotate. */
65#define AUDIT_TRIGGER_READ_FILE 3 /* Re-read config file. */
66#define AUDIT_TRIGGER_CLOSE_AND_DIE 4 /* Terminate audit. */
67#define AUDIT_TRIGGER_NO_SPACE 5 /* Below min free space. */
68#define AUDIT_TRIGGER_ROTATE_USER 6 /* User requests rotate. */
69#define AUDIT_TRIGGER_INITIALIZE 7 /* Initialize audit. */
70#define AUDIT_TRIGGER_MAX 7
71
72/*
73 * The special device filename (FreeBSD).
74 */
75#define AUDITDEV_FILENAME "audit"
76#define AUDIT_TRIGGER_FILE ("/dev/" AUDITDEV_FILENAME)
77
78/*
--- 236 unchanged lines hidden ---
2 * Copyright (c) 2005 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 *
--- 12 unchanged lines hidden (view full) ---
21 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 *
29 * P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit.h#4
30 * $FreeBSD: head/sys/bsm/audit.h 187214 2009-01-14 10:44:16Z rwatson $
31 */
32
33#ifndef _BSM_AUDIT_H
34#define _BSM_AUDIT_H
35
36#ifdef __APPLE__
37/* Temporary until rdar://problem/6133383 is resolved. */
38#include <sys/types.h>
--- 22 unchanged lines hidden (view full) ---
61 */
62#define AUDIT_TRIGGER_MIN 1
63#define AUDIT_TRIGGER_LOW_SPACE 1 /* Below low watermark. */
64#define AUDIT_TRIGGER_ROTATE_KERNEL 2 /* Kernel requests rotate. */
65#define AUDIT_TRIGGER_READ_FILE 3 /* Re-read config file. */
66#define AUDIT_TRIGGER_CLOSE_AND_DIE 4 /* Terminate audit. */
67#define AUDIT_TRIGGER_NO_SPACE 5 /* Below min free space. */
68#define AUDIT_TRIGGER_ROTATE_USER 6 /* User requests rotate. */
69#define AUDIT_TRIGGER_INITIALIZE 7 /* Initialize audit. */
70#define AUDIT_TRIGGER_MAX 7
71
72/*
73 * The special device filename (FreeBSD).
74 */
75#define AUDITDEV_FILENAME "audit"
76#define AUDIT_TRIGGER_FILE ("/dev/" AUDITDEV_FILENAME)
77
78/*
--- 236 unchanged lines hidden ---