diff options
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r-- | kernel/auditsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 535586fc498b..145cbb79c4b9 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c | |||
@@ -843,7 +843,7 @@ static void audit_log_execve_info(struct audit_buffer *ab, | |||
843 | return; /* execve failed, no additional info */ | 843 | return; /* execve failed, no additional info */ |
844 | 844 | ||
845 | for (i = 0; i < axi->argc; i++, p += len) { | 845 | for (i = 0; i < axi->argc; i++, p += len) { |
846 | len = strnlen_user(p, MAX_ARG_PAGES*PAGE_SIZE); | 846 | len = strnlen_user(p, MAX_ARG_STRLEN); |
847 | /* | 847 | /* |
848 | * We just created this mm, if we can't find the strings | 848 | * We just created this mm, if we can't find the strings |
849 | * we just copied into it something is _very_ wrong. Similar | 849 | * we just copied into it something is _very_ wrong. Similar |