coredump_filter: permit changing of the default filter
authorHidehiro Kawai <hidehiro.kawai.ez@hitachi.com>
Tue, 6 Jan 2009 22:42:47 +0000 (14:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:29 +0000 (15:59 -0800)
commit4cb0e11b15d2badad455fcd538af0cccf05dc012
tree49975df37debdb274aa1b9b09a127ad217a405c0
parent9cd4fd10437dda6b520cb1410b28f36967a34de8
coredump_filter: permit changing of the default filter

Introduce a new kernel parameter `coredump_filter'.  Setting a value to
this parameter causes the default bitmask of coredump_filter to be
changed.

It is useful for users to change coredump_filter settings for the whole
system at boot time.  Without this parameter, users have to change
coredump_filter settings for each /proc/<pid>/ in an initializing script.

Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/kernel-parameters.txt
kernel/fork.c