projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm: variable length argument support
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
kernel
/
auditsc.c
diff --git
a/kernel/auditsc.c
b/kernel/auditsc.c
index 535586fc498bf5c0830ade4ffaaacd42a7088052..145cbb79c4b93bbd1dff40bdd0d2a0a63aa06fd6 100644
(file)
--- a/
kernel/auditsc.c
+++ b/
kernel/auditsc.c
@@
-843,7
+843,7
@@
static void audit_log_execve_info(struct audit_buffer *ab,
return; /* execve failed, no additional info */
for (i = 0; i < axi->argc; i++, p += len) {
return; /* execve failed, no additional info */
for (i = 0; i < axi->argc; i++, p += len) {
- len = strnlen_user(p, MAX_ARG_
PAGES*PAGE_SIZE
);
+ len = strnlen_user(p, MAX_ARG_
STRLEN
);
/*
* We just created this mm, if we can't find the strings
* we just copied into it something is _very_ wrong. Similar
/*
* We just created this mm, if we can't find the strings
* we just copied into it something is _very_ wrong. Similar