OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd131fb
)
audit: remove unused envc member of audit_aux_data_execve
author
Richard Guy Briggs
<rgb@redhat.com>
Wed, 23 Oct 2013 20:55:38 +0000
(16:55 -0400)
committer
Eric 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
patch
|
blob
|
history
diff --git
a/kernel/auditsc.c
b/kernel/auditsc.c
index
c7b97aa
..
11078f3
100644
(file)
--- 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;