2008-07-31 09:54:35 +00:00
|
|
|
/*-
|
2008-07-22 15:29:48 +00:00
|
|
|
* Copyright (c) 1999-2005 Apple Inc.
|
2006-02-01 20:01:18 +00:00
|
|
|
* 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.
|
2008-07-22 15:29:48 +00:00
|
|
|
* 3. Neither the name of Apple Inc. ("Apple") nor the names of
|
2006-02-01 20:01:18 +00:00
|
|
|
* its contributors may be used to endorse or promote products derived
|
|
|
|
* from this software without specific prior written permission.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY APPLE AND ITS 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 APPLE OR ITS 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$
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This header includes function prototypes and type definitions that are
|
|
|
|
* necessary for the kernel as a whole to interact with the audit subsystem.
|
|
|
|
*/
|
|
|
|
|
2006-03-19 15:37:04 +00:00
|
|
|
#ifndef _SECURITY_AUDIT_KERNEL_H_
|
2008-04-27 15:51:49 +00:00
|
|
|
#define _SECURITY_AUDIT_KERNEL_H_
|
2006-02-01 20:01:18 +00:00
|
|
|
|
|
|
|
#ifndef _KERNEL
|
|
|
|
#error "no user-serviceable parts inside"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <bsm/audit.h>
|
|
|
|
|
|
|
|
#include <sys/file.h>
|
|
|
|
#include <sys/sysctl.h>
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Audit subsystem condition flags. The audit_enabled flag is set and
|
2007-06-01 21:58:59 +00:00
|
|
|
* removed automatically as a result of configuring log files, and can be
|
|
|
|
* observed but should not be directly manipulated. The audit suspension
|
|
|
|
* flag permits audit to be temporarily disabled without reconfiguring the
|
|
|
|
* audit target.
|
2006-02-01 20:01:18 +00:00
|
|
|
*/
|
|
|
|
extern int audit_enabled;
|
|
|
|
extern int audit_suspended;
|
|
|
|
|
2006-03-19 17:34:00 +00:00
|
|
|
void audit_syscall_enter(unsigned short code, struct thread *td);
|
|
|
|
void audit_syscall_exit(int error, struct thread *td);
|
2006-02-01 20:01:18 +00:00
|
|
|
|
|
|
|
/*
|
2007-06-01 21:58:59 +00:00
|
|
|
* The remaining kernel functions are conditionally compiled in as they are
|
|
|
|
* wrapped by a macro, and the macro should be the only place in the source
|
|
|
|
* tree where these functions are referenced.
|
2006-02-01 20:01:18 +00:00
|
|
|
*/
|
|
|
|
#ifdef AUDIT
|
|
|
|
struct ipc_perm;
|
|
|
|
struct sockaddr;
|
|
|
|
union auditon_udata;
|
2006-03-19 17:34:00 +00:00
|
|
|
void audit_arg_addr(void * addr);
|
|
|
|
void audit_arg_exit(int status, int retval);
|
|
|
|
void audit_arg_len(int len);
|
2009-07-28 21:39:58 +00:00
|
|
|
void audit_arg_atfd1(int atfd);
|
|
|
|
void audit_arg_atfd2(int atfd);
|
2006-03-19 17:34:00 +00:00
|
|
|
void audit_arg_fd(int fd);
|
|
|
|
void audit_arg_fflags(int fflags);
|
|
|
|
void audit_arg_gid(gid_t gid);
|
|
|
|
void audit_arg_uid(uid_t uid);
|
|
|
|
void audit_arg_egid(gid_t egid);
|
|
|
|
void audit_arg_euid(uid_t euid);
|
|
|
|
void audit_arg_rgid(gid_t rgid);
|
|
|
|
void audit_arg_ruid(uid_t ruid);
|
|
|
|
void audit_arg_sgid(gid_t sgid);
|
|
|
|
void audit_arg_suid(uid_t suid);
|
|
|
|
void audit_arg_groupset(gid_t *gidset, u_int gidset_size);
|
|
|
|
void audit_arg_login(char *login);
|
|
|
|
void audit_arg_ctlname(int *name, int namelen);
|
|
|
|
void audit_arg_mask(int mask);
|
|
|
|
void audit_arg_mode(mode_t mode);
|
|
|
|
void audit_arg_dev(int dev);
|
|
|
|
void audit_arg_value(long value);
|
|
|
|
void audit_arg_owner(uid_t uid, gid_t gid);
|
|
|
|
void audit_arg_pid(pid_t pid);
|
|
|
|
void audit_arg_process(struct proc *p);
|
|
|
|
void audit_arg_signum(u_int signum);
|
|
|
|
void audit_arg_socket(int sodomain, int sotype, int soprotocol);
|
2006-07-03 14:55:55 +00:00
|
|
|
void audit_arg_sockaddr(struct thread *td, struct sockaddr *sa);
|
2006-03-19 17:34:00 +00:00
|
|
|
void audit_arg_auid(uid_t auid);
|
|
|
|
void audit_arg_auditinfo(struct auditinfo *au_info);
|
2007-06-27 17:01:15 +00:00
|
|
|
void audit_arg_auditinfo_addr(struct auditinfo_addr *au_info);
|
2009-07-29 07:44:43 +00:00
|
|
|
void audit_arg_upath1(struct thread *td, char *upath);
|
|
|
|
void audit_arg_upath2(struct thread *td, char *upath);
|
2009-07-28 21:52:24 +00:00
|
|
|
void audit_arg_vnode1(struct vnode *vp);
|
|
|
|
void audit_arg_vnode2(struct vnode *vp);
|
2006-03-19 17:34:00 +00:00
|
|
|
void audit_arg_text(char *text);
|
|
|
|
void audit_arg_cmd(int cmd);
|
|
|
|
void audit_arg_svipc_cmd(int cmd);
|
|
|
|
void audit_arg_svipc_perm(struct ipc_perm *perm);
|
|
|
|
void audit_arg_svipc_id(int id);
|
|
|
|
void audit_arg_svipc_addr(void *addr);
|
|
|
|
void audit_arg_posix_ipc_perm(uid_t uid, gid_t gid, mode_t mode);
|
|
|
|
void audit_arg_auditon(union auditon_udata *udata);
|
|
|
|
void audit_arg_file(struct proc *p, struct file *fp);
|
2006-09-01 11:45:40 +00:00
|
|
|
void audit_arg_argv(char *argv, int argc, int length);
|
|
|
|
void audit_arg_envv(char *envv, int envc, int length);
|
2006-03-19 17:34:00 +00:00
|
|
|
void audit_sysclose(struct thread *td, int fd);
|
2007-06-07 22:27:15 +00:00
|
|
|
void audit_cred_copy(struct ucred *src, struct ucred *dest);
|
|
|
|
void audit_cred_destroy(struct ucred *cred);
|
|
|
|
void audit_cred_init(struct ucred *cred);
|
|
|
|
void audit_cred_kproc0(struct ucred *cred);
|
|
|
|
void audit_cred_proc1(struct ucred *cred);
|
Implement AUE_CORE, which adds process core dump support into the kernel.
This change introduces audit_proc_coredump() which is called by coredump(9)
to create an audit record for the coredump event. When a process
dumps a core, it could be security relevant. It could be an indicator that
a stack within the process has been overflowed with an incorrectly constructed
malicious payload or a number of other events.
The record that is generated looks like this:
header,111,10,process dumped core,0,Thu Oct 25 19:36:29 2007, + 179 msec
argument,0,0xb,signal
path,/usr/home/csjp/test.core
subject,csjp,csjp,staff,csjp,staff,1101,1095,50457,10.37.129.2
return,success,1
trailer,111
- We allocate a completely new record to make sure we arent clobbering
the audit data associated with the syscall that produced the core
(assuming the core is being generated in response to SIGABRT and not
an invalid memory access).
- Shuffle around expand_name() so we can use the coredump name at the very
beginning of the coredump call. Make sure we free the storage referenced
by "name" if we need to bail out early.
- Audit both successful and failed coredump creation efforts
Obtained from: TrustedBSD Project
Reviewed by: rwatson
MFC after: 1 month
2007-10-26 01:23:07 +00:00
|
|
|
void audit_proc_coredump(struct thread *td, char *path, int errcode);
|
2006-03-19 17:34:00 +00:00
|
|
|
void audit_thread_alloc(struct thread *td);
|
|
|
|
void audit_thread_free(struct thread *td);
|
2006-02-01 20:01:18 +00:00
|
|
|
|
|
|
|
/*
|
2009-06-27 13:58:44 +00:00
|
|
|
* Define macros to wrap the audit_arg_* calls by checking the global
|
2006-02-01 20:01:18 +00:00
|
|
|
* audit_enabled flag before performing the actual call.
|
|
|
|
*/
|
2009-06-27 13:58:44 +00:00
|
|
|
#define AUDITING_TD(td) ((td)->td_pflags & TDP_AUDITREC)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_ADDR(addr) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_addr((addr)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_ARGV(argv, argc, length) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_argv((argv), (argc), (length)); \
|
|
|
|
} while (0)
|
|
|
|
|
2009-07-28 21:39:58 +00:00
|
|
|
#define AUDIT_ARG_ATFD1(atfd) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_atfd1((atfd)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_ATFD2(atfd) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_atfd2((atfd)); \
|
|
|
|
} while (0)
|
|
|
|
|
2009-06-27 13:58:44 +00:00
|
|
|
#define AUDIT_ARG_AUDITON(udata) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_auditon((udata)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_CMD(cmd) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_cmd((cmd)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_DEV(dev) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_dev((dev)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_EGID(egid) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_egid((egid)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_ENVV(envv, envc, length) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_envv((envv), (envc), (length)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_EXIT(status, retval) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_exit((status), (retval)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_EUID(euid) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_euid((euid)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_FD(fd) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_fd((fd)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_FILE(p, fp) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_file((p), (fp)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_FFLAGS(fflags) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_fflags((fflags)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_GID(gid) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_gid((gid)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_GROUPSET(gidset, gidset_size) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_groupset((gidset), (gidset_size)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_MODE(mode) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_mode((mode)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_OWNER(uid, gid) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_owner((uid), (gid)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_PID(pid) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_pid((pid)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_PROCESS(p) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_process((p)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_RGID(rgid) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
2009-08-12 10:45:45 +00:00
|
|
|
audit_arg_rgid((rgid)); \
|
2009-06-27 13:58:44 +00:00
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_RUID(ruid) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_ruid((ruid)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_SIGNUM(signum) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_signum((signum)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_SGID(sgid) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_sgid((sgid)); \
|
|
|
|
} while (0)
|
|
|
|
|
2009-07-01 18:54:49 +00:00
|
|
|
#define AUDIT_ARG_SOCKET(sodomain, sotype, soprotocol) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_socket((sodomain), (sotype), (soprotocol)); \
|
|
|
|
} while (0)
|
|
|
|
|
2009-06-27 13:58:44 +00:00
|
|
|
#define AUDIT_ARG_SUID(suid) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_suid((suid)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_TEXT(text) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_text((text)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_UID(uid) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_uid((uid)); \
|
|
|
|
} while (0)
|
|
|
|
|
2009-07-29 07:44:43 +00:00
|
|
|
#define AUDIT_ARG_UPATH1(td, upath) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_upath1((td), (upath)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_UPATH2(td, upath) do { \
|
2009-06-27 13:58:44 +00:00
|
|
|
if (AUDITING_TD(curthread)) \
|
2009-07-29 07:44:43 +00:00
|
|
|
audit_arg_upath2((td), (upath)); \
|
2009-06-27 13:58:44 +00:00
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_VALUE(value) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_value((value)); \
|
|
|
|
} while (0)
|
|
|
|
|
2009-07-28 21:52:24 +00:00
|
|
|
#define AUDIT_ARG_VNODE1(vp) do { \
|
2009-06-27 13:58:44 +00:00
|
|
|
if (AUDITING_TD(curthread)) \
|
2009-07-28 21:52:24 +00:00
|
|
|
audit_arg_vnode1((vp)); \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define AUDIT_ARG_VNODE2(vp) do { \
|
|
|
|
if (AUDITING_TD(curthread)) \
|
|
|
|
audit_arg_vnode2((vp)); \
|
2006-03-19 17:34:00 +00:00
|
|
|
} while (0)
|
2006-02-01 20:01:18 +00:00
|
|
|
|
2006-09-04 06:06:23 +00:00
|
|
|
#define AUDIT_SYSCALL_ENTER(code, td) do { \
|
2006-02-01 20:01:18 +00:00
|
|
|
if (audit_enabled) { \
|
|
|
|
audit_syscall_enter(code, td); \
|
|
|
|
} \
|
2006-03-19 17:34:00 +00:00
|
|
|
} while (0)
|
2006-02-01 20:01:18 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Wrap the audit_syscall_exit() function so that it is called only when
|
2009-01-06 13:59:59 +00:00
|
|
|
* we have a audit record on the thread. Audit records can persist after
|
|
|
|
* auditing is disabled, so we don't just check audit_enabled here.
|
2006-02-01 20:01:18 +00:00
|
|
|
*/
|
2006-09-04 06:06:23 +00:00
|
|
|
#define AUDIT_SYSCALL_EXIT(error, td) do { \
|
2009-03-09 10:45:58 +00:00
|
|
|
if (td->td_pflags & TDP_AUDITREC) \
|
2006-02-01 20:01:18 +00:00
|
|
|
audit_syscall_exit(error, td); \
|
2006-03-19 17:34:00 +00:00
|
|
|
} while (0)
|
2006-02-01 20:01:18 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* A Macro to wrap the audit_sysclose() function.
|
|
|
|
*/
|
|
|
|
#define AUDIT_SYSCLOSE(td, fd) do { \
|
2009-03-09 10:45:58 +00:00
|
|
|
if (td->td_pflags & TDP_AUDITREC) \
|
2006-02-01 20:01:18 +00:00
|
|
|
audit_sysclose(td, fd); \
|
2006-03-19 17:34:00 +00:00
|
|
|
} while (0)
|
2006-02-01 20:01:18 +00:00
|
|
|
|
|
|
|
#else /* !AUDIT */
|
|
|
|
|
2009-06-27 13:58:44 +00:00
|
|
|
#define AUDIT_ARG_ADDR(addr)
|
|
|
|
#define AUDIT_ARG_ARGV(argv, argc, length)
|
2009-07-28 21:39:58 +00:00
|
|
|
#define AUDIT_ARG_ATFD1(atfd)
|
|
|
|
#define AUDIT_ARG_ATFD2(atfd)
|
2009-06-27 13:58:44 +00:00
|
|
|
#define AUDIT_ARG_AUDITON(udata)
|
|
|
|
#define AUDIT_ARG_CMD(cmd)
|
|
|
|
#define AUDIT_ARG_DEV(dev)
|
|
|
|
#define AUDIT_ARG_EGID(egid)
|
|
|
|
#define AUDIT_ARG_ENVV(envv, envc, length)
|
|
|
|
#define AUDIT_ARG_EXIT(status, retval)
|
|
|
|
#define AUDIT_ARG_EUID(euid)
|
|
|
|
#define AUDIT_ARG_FD(fd)
|
|
|
|
#define AUDIT_ARG_FILE(p, fp)
|
|
|
|
#define AUDIT_ARG_FFLAGS(fflags)
|
|
|
|
#define AUDIT_ARG_GID(gid)
|
|
|
|
#define AUDIT_ARG_GROUPSET(gidset, gidset_size)
|
|
|
|
#define AUDIT_ARG_MODE(mode)
|
|
|
|
#define AUDIT_ARG_OWNER(uid, gid)
|
|
|
|
#define AUDIT_ARG_PID(pid)
|
|
|
|
#define AUDIT_ARG_PROCESS(p)
|
|
|
|
#define AUDIT_ARG_RGID(rgid)
|
|
|
|
#define AUDIT_ARG_RUID(ruid)
|
|
|
|
#define AUDIT_ARG_SIGNUM(signum)
|
|
|
|
#define AUDIT_ARG_SGID(sgid)
|
2009-07-01 18:54:49 +00:00
|
|
|
#define AUDIT_ARG_SOCKET(sodomain, sotype, soprotocol)
|
2009-06-27 13:58:44 +00:00
|
|
|
#define AUDIT_ARG_SUID(suid)
|
|
|
|
#define AUDIT_ARG_TEXT(text)
|
|
|
|
#define AUDIT_ARG_UID(uid)
|
2009-07-29 07:44:43 +00:00
|
|
|
#define AUDIT_ARG_UPATH1(td, upath)
|
|
|
|
#define AUDIT_ARG_UPATH2(td, upath)
|
2009-06-27 13:58:44 +00:00
|
|
|
#define AUDIT_ARG_VALUE(value)
|
2009-07-28 21:52:24 +00:00
|
|
|
#define AUDIT_ARG_VNODE1(vp)
|
|
|
|
#define AUDIT_ARG_VNODE2(vp)
|
2006-02-01 20:01:18 +00:00
|
|
|
|
2009-06-27 13:58:44 +00:00
|
|
|
#define AUDIT_SYSCALL_ENTER(code, td)
|
|
|
|
#define AUDIT_SYSCALL_EXIT(error, td)
|
2006-02-01 20:01:18 +00:00
|
|
|
|
2009-06-27 13:58:44 +00:00
|
|
|
#define AUDIT_SYSCLOSE(p, fd)
|
2006-02-01 20:01:18 +00:00
|
|
|
|
|
|
|
#endif /* AUDIT */
|
|
|
|
|
2006-03-19 15:37:04 +00:00
|
|
|
#endif /* !_SECURITY_AUDIT_KERNEL_H_ */
|