summaryrefslogtreecommitdiff
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorRichard Guy Briggs <rgb@redhat.com>2013-10-23 16:55:38 -0400
committerEric Paris <eparis@redhat.com>2013-11-05 11:09:31 -0500
commit9462dc59817580419ef1f2504e32f861c290f251 (patch)
tree089f8f125a6655f6ff7ddfa6660a9f3763d9a925 /kernel/auditsc.c
parentbd131fb1aa5e4cd879f89aef30f4f7cde6d4b409 (diff)
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>
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r--kernel/auditsc.c2
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;