From: Andrew Morton Cc: Cc: Cc: Neil Horman Cc: Jeremy Fitzhardinge Signed-off-by: Andrew Morton --- fs/exec.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff -puN fs/exec.c~core_pattern-fix-up-a-few-miscellaneous-bugs-fix fs/exec.c --- a/fs/exec.c~core_pattern-fix-up-a-few-miscellaneous-bugs-fix +++ a/fs/exec.c @@ -1773,16 +1773,17 @@ int do_coredump(long signr, int exit_cod delimit++; else delimit = helper_argv[0]; - if (!strcmp(delimit, current->comm)) - { - printk(KERN_NOTICE "Recursive core dump detected, Aborting\n"); + if (!strcmp(delimit, current->comm)) { + printk(KERN_NOTICE "Recursive core dump detected, " + "aborting\n"); goto fail_unlock; } core_limit = RLIM_INFINITY; /* SIGPIPE can happen, but it's just never processed */ - if(call_usermodehelper_pipe(corename+1, helper_argv, NULL, &file)) { + if (call_usermodehelper_pipe(corename+1, helper_argv, NULL, + &file)) { printk(KERN_INFO "Core dump to %s pipe failed\n", corename); goto fail_unlock; _