(fixes coredump-add-support-for-%d=__get_dumpable-in-core-name.patch) On 09/13, Andrew Morton wrote: > > On Thu, 13 Sep 2012 19:28:17 +0200 > Oleg Nesterov <o...@redhat.com> wrote: > > > https://bugzilla.redhat.com/show_bug.cgi?id=787135 > > Needs a RH bugzilla account, so no Reported-by: for you!
OOPS, sorry, I didn't notice. I guess it is private by mistake.. > > This patch adds the new %d specifier for format_corename() which > > simply reports __get_dumpable(mm->flags), this is compatible with > > /proc/sys/fs/suid_dumpable we already have. > > Please prepare an update to Documentation/sysctl/kernel.txt:core_pattern? Yes, thanks, please see below. Signed-off-by: Oleg Nesterov <o...@redhat.com> --- Documentation/sysctl/kernel.txt | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt index 6d78841..2907ba6 100644 --- a/Documentation/sysctl/kernel.txt +++ b/Documentation/sysctl/kernel.txt @@ -181,6 +181,8 @@ core_pattern is used to specify a core dumpfile pattern name. %p pid %u uid %g gid + %d dump mode, matches PR_SET_DUMPABLE and + /proc/sys/fs/suid_dumpable %s signal number %t UNIX time of dump %h hostname -- 1.5.5.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/