diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-05-29 16:10:33 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-05-29 16:10:33 +0000 |
commit | 0a2b7da8747199f4aa07031f93d47e7f6136a48c (patch) | |
tree | 592d22a937efbb28587fa2c542a6287d13122291 /sys | |
parent | 278cc092646a934bf0ee56a0144e374a3faa784d (diff) | |
download | FreeBSD-src-0a2b7da8747199f4aa07031f93d47e7f6136a48c.zip FreeBSD-src-0a2b7da8747199f4aa07031f93d47e7f6136a48c.tar.gz |
Add place-holder audit.h that defines only au_event_t, which is needed
in order to modify the system call table to include event identifiers.
The full audit.h will be merged at a later date.
Obtained from: TrustedBSD Project
Diffstat (limited to 'sys')
-rw-r--r-- | sys/bsm/audit.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sys/bsm/audit.h b/sys/bsm/audit.h new file mode 100644 index 0000000..566599f --- /dev/null +++ b/sys/bsm/audit.h @@ -0,0 +1,39 @@ +/*- + * Copyright (c) 2005 Robert N. M. Watson + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ + */ + +#ifndef _BSM_AUDIT_H_ +#define _BSM_AUDIT_H_ + +/* + * This is a place-holder include file that defines only the minimal BSM + * types to allow the system call table to contain stub event identifiers. + * Additional types and defines will be introduced later. + */ +typedef u_int16_t au_event_t; + +#endif /* !_BSM_AUDIT_H_ */ |