diff options
author | Richard Guy Briggs <rgb@redhat.com> | 2013-10-23 22:55:38 +0200 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2013-11-05 17:09:31 +0100 |
commit | 9462dc59817580419ef1f2504e32f861c290f251 (patch) | |
tree | 089f8f125a6655f6ff7ddfa6660a9f3763d9a925 | |
parent | audit: Kill the unused struct audit_aux_data_capset (diff) | |
download | linux-9462dc59817580419ef1f2504e32f861c290f251.tar.xz linux-9462dc59817580419ef1f2504e32f861c290f251.zip |
audit: remove unused envc member of audit_aux_data_execve
Get rid of write-only audit_aux_data_exeve structure member envc.
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
-rw-r--r-- | kernel/auditsc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index c7b97aa70c6a..11078f32d13e 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c @@ -98,7 +98,6 @@ struct audit_aux_data { struct audit_aux_data_execve { struct audit_aux_data d; int argc; - int envc; struct mm_struct *mm; }; @@ -2158,7 +2157,6 @@ int __audit_bprm(struct linux_binprm *bprm) return -ENOMEM; ax->argc = bprm->argc; - ax->envc = bprm->envc; ax->mm = bprm->mm; ax->d.type = AUDIT_EXECVE; ax->d.next = context->aux; |