summaryrefslogtreecommitdiffstats
path: root/sys/security/audit
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-05-30 11:41:28 +0000
committerrwatson <rwatson@FreeBSD.org>2007-05-30 11:41:28 +0000
commit8abaa44b8f834ac872894b261cc016d1d3f92ee6 (patch)
treea5955230de21ef14d5a83329816b4f86f2fadf82 /sys/security/audit
parent66b95b885544e0dddfce80b32c86262ae3c028fc (diff)
downloadFreeBSD-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/audit')
-rw-r--r--sys/security/audit/audit.h4
-rw-r--r--sys/security/audit/audit_syscalls.c19
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 */
OpenPOWER on IntegriCloud