diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2006-02-02 00:37:05 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2006-02-02 00:37:05 +0000 |
| commit | 911b84b08d434fed56ab07bb6a5a4a164fb447cd (patch) | |
| tree | 06e8087c98c48dc1fdd380468a6f21c616f39390 /sys/security | |
| parent | 07881ef9604728934e34b1ebbb6a34a93986a5c9 (diff) | |
Notes
Diffstat (limited to 'sys/security')
| -rw-r--r-- | sys/security/audit/audit.c | 10 | ||||
| -rw-r--r-- | sys/security/audit/audit.h | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/sys/security/audit/audit.c b/sys/security/audit/audit.c index b2f11435b0a6..1d3c3e61abc9 100644 --- a/sys/security/audit/audit.c +++ b/sys/security/audit/audit.c @@ -1015,6 +1015,16 @@ audit_proc_alloc(struct proc *p) //printf("audit_proc_alloc: pid %d p_au %p\n", p->p_pid, p->p_au); } +/* + * Allocate storage for a new thread. + */ +void +audit_thread_alloc(struct thread *td) +{ + + td->td_ar = NULL; +} + /* * Initialize the audit information for the a process, presumably the first * process in the system. diff --git a/sys/security/audit/audit.h b/sys/security/audit/audit.h index 3dbabcd3610a..f889f3bd95fd 100644 --- a/sys/security/audit/audit.h +++ b/sys/security/audit/audit.h @@ -180,6 +180,7 @@ void audit_proc_init(struct proc *p); void audit_proc_fork(struct proc *parent, struct proc *child); void audit_proc_free(struct proc *p); +void audit_thread_alloc(struct thread *td); /* * Define a macro to wrap the audit_arg_* calls by checking the global |
