lkml.org 
[lkml]   [2012]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH -mm] coredump-add-support-for-%d=__get_dumpable-in-core-name-fix
    (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 <oleg@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 <oleg@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



    \
     
     \ /
      Last update: 2012-09-14 15:21    [W:0.026 / U:35.824 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site