summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
OpenPOWER on IntegriCloud