summaryrefslogtreecommitdiffstats
path: root/fs/exec.c
diff options
context:
space:
mode:
authorOleg Nesterov2013-07-04 00:08:23 +0200
committerLinus Torvalds2013-07-04 01:08:02 +0200
commit888ffc5923e4343a78575918ab781e85fa22d244 (patch)
treef90eb6f4266d1450bf23bfe45b5c322cbb38710a /fs/exec.c
parentcoredump: kill call_count, add core_name_size (diff)
downloadkernel-qcow2-linux-888ffc5923e4343a78575918ab781e85fa22d244.tar.gz
kernel-qcow2-linux-888ffc5923e4343a78575918ab781e85fa22d244.tar.xz
kernel-qcow2-linux-888ffc5923e4343a78575918ab781e85fa22d244.zip
coredump: '% at the end' shouldn't bypass core_uses_pid logic
"goto end" should not bypass the "Backward compatibility with core_uses_pid" code, move this label up. While at it, - It is ugly to copy '|' into cn->corename and then inc the pointer for argv_split(). Change format_corename() to increment pat_ptr instead. - Remove the dead "if (*pat_ptr == 0)" in format_corename(), we already checked it is not zero. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: Colin Walters <walters@verbum.org> Cc: Denys Vlasenko <vda.linux@googlemail.com> Cc: Jiri Slaby <jslaby@suse.cz> Cc: Lennart Poettering <mzxreary@0pointer.de> Cc: Lucas De Marchi <lucas.de.marchi@gmail.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions