mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
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>
This commit is contained in:
parent
bd131fb1aa
commit
9462dc5981
1 changed files with 0 additions and 2 deletions
|
@ -98,7 +98,6 @@ struct audit_aux_data {
|
||||||
struct audit_aux_data_execve {
|
struct audit_aux_data_execve {
|
||||||
struct audit_aux_data d;
|
struct audit_aux_data d;
|
||||||
int argc;
|
int argc;
|
||||||
int envc;
|
|
||||||
struct mm_struct *mm;
|
struct mm_struct *mm;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -2158,7 +2157,6 @@ int __audit_bprm(struct linux_binprm *bprm)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
ax->argc = bprm->argc;
|
ax->argc = bprm->argc;
|
||||||
ax->envc = bprm->envc;
|
|
||||||
ax->mm = bprm->mm;
|
ax->mm = bprm->mm;
|
||||||
ax->d.type = AUDIT_EXECVE;
|
ax->d.type = AUDIT_EXECVE;
|
||||||
ax->d.next = context->aux;
|
ax->d.next = context->aux;
|
||||||
|
|
Loading…
Reference in a new issue