diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-05-30 09:14:14 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-05-30 09:14:14 +0000 |
commit | a846d9ed4dd3f5877280674ab28916e2ee08cc54 (patch) | |
tree | 74ffbe2c4b9544618aed4296f5bf307d62433917 /sys/security/audit/audit.c | |
parent | b1c254898d86f2fbb2980fe7a82633dd1e6d04a9 (diff) | |
download | FreeBSD-src-a846d9ed4dd3f5877280674ab28916e2ee08cc54.zip FreeBSD-src-a846d9ed4dd3f5877280674ab28916e2ee08cc54.tar.gz |
Remove unused ar_subj_comm field from in-kernel audit record; we never
export this via BSM, so don't pay space/time cost of maintaining it.
Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/security/audit/audit.c')
-rw-r--r-- | sys/security/audit/audit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/security/audit/audit.c b/sys/security/audit/audit.c index 0a3a711..97da0df 100644 --- a/sys/security/audit/audit.c +++ b/sys/security/audit/audit.c @@ -184,7 +184,6 @@ audit_record_ctor(void *mem, int size, void *arg, int flags) ar->k_ar.ar_subj_pid = td->td_proc->p_pid; ar->k_ar.ar_subj_amask = td->td_proc->p_au->ai_mask; ar->k_ar.ar_subj_term_addr = td->td_proc->p_au->ai_termid; - bcopy(td->td_proc->p_comm, ar->k_ar.ar_subj_comm, MAXCOMLEN); PROC_UNLOCK(td->td_proc); return (0); |