]> git.baikalelectronics.ru Git - kernel.git/commit
core_pattern: fix up a few miscellaneous bugs
authorNeil Horman <nhorman@tuxdriver.com>
Wed, 17 Oct 2007 06:26:36 +0000 (23:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:50 +0000 (08:42 -0700)
commit46e0ec057e75d2e860b7e9694a1b4df6f304b5fd
treed69c0b023cfa1afdc64e4de8bc27ec03195b8088
parent73c312d036f00e82156f7fdc3faca566b001d8cb
core_pattern: fix up a few miscellaneous bugs

Fix do_coredump to detect a crash in the user mode helper process and abort
the attempt to recursively dump core to another copy of the helper process,
potentially ad-infinitum.

[akpm@linux-foundation.org: cleanups]
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Cc: <martin.pitt@ubuntu.com>
Cc: <wwoods@redhat.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c