diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-05-30 11:41:28 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-05-30 11:41:28 +0000 |
commit | 8abaa44b8f834ac872894b261cc016d1d3f92ee6 (patch) | |
tree | a5955230de21ef14d5a83329816b4f86f2fadf82 /sys/security | |
parent | 66b95b885544e0dddfce80b32c86262ae3c028fc (diff) | |
download | FreeBSD-src-8abaa44b8f834ac872894b261cc016d1d3f92ee6.zip FreeBSD-src-8abaa44b8f834ac872894b261cc016d1d3f92ee6.tar.gz |
Remove unused !AUDIT audit_proc_*() prototypes: unlike in Mac OS X, we
don't define or use these functions if AUDIT isn't configured.
Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/security')
-rw-r--r-- | sys/security/audit/audit.h | 4 | ||||
-rw-r--r-- | sys/security/audit/audit_syscalls.c | 19 |
2 files changed, 0 insertions, 23 deletions
diff --git a/sys/security/audit/audit.h b/sys/security/audit/audit.h index f0eef65..7a616f8 100644 --- a/sys/security/audit/audit.h +++ b/sys/security/audit/audit.h @@ -214,10 +214,6 @@ void audit_thread_free(struct thread *td); #else /* !AUDIT */ -void audit_proc_init(struct proc *p); -void audit_proc_fork(struct proc *parent, struct proc *child); -void audit_proc_free(struct proc *p); - #define AUDIT_ARG(op, args...) do { \ } while (0) diff --git a/sys/security/audit/audit_syscalls.c b/sys/security/audit/audit_syscalls.c index c8ad471..3e3069e 100644 --- a/sys/security/audit/audit_syscalls.c +++ b/sys/security/audit/audit_syscalls.c @@ -747,23 +747,4 @@ auditctl(struct thread *td, struct auditctl_args *uap) return (ENOSYS); } - -void -audit_proc_init(struct proc *p) -{ - -} - -void -audit_proc_fork(struct proc *parent, struct proc *child) -{ - -} - -void -audit_proc_free(struct proc *p) -{ - -} - #endif /* AUDIT */ |