audit: remove unused envc member of audit_aux_data_execve
authorRichard Guy Briggs <rgb@redhat.com>
Wed, 23 Oct 2013 20:55:38 +0000 (16:55 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 5 Nov 2013 16:09:31 +0000 (11:09 -0500)
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>
kernel/auditsc.c

index c7b97aa70c6af222242418e04b2ec6a977b07c1c..11078f32d13e88afda11955033c27c2b21993f63 100644 (file)
@@ -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;