make sysctl/kernel/core_pattern and fs/exec.c agree on maximum core filename size
authorDan Aloni <da-x@monatomic.org>
Thu, 17 May 2007 05:11:16 +0000 (22:11 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 17 May 2007 12:23:05 +0000 (05:23 -0700)
commit71ce92f3fa442069670a52fa6230a6064c4517b3
tree30fec3491b9655040d90c810785ce7e843a90f93
parentbc88d5d4e18add7283770ead2734b601c50b3e2a
make sysctl/kernel/core_pattern and fs/exec.c agree on maximum core filename size

Make sysctl/kernel/core_pattern and fs/exec.c agree on maximum core
filename size and change it to 128, so that extensive patterns such as
'/local/cores/%e-%h-%s-%t-%p.core' won't result in truncated filename
generation.

Signed-off-by: Dan Aloni <da-x@monatomic.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c
include/linux/binfmts.h
kernel/sysctl.c