[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120913152559.d0a9ade0.akpm@linux-foundation.org>
Date: Thu, 13 Sep 2012 15:25:59 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Oleg Nesterov <oleg@...hat.com>
Cc: Alex Kelly <alex.page.kelly@...il.com>,
Andi Kleen <andi@...stfloor.org>,
Cong Wang <amwang@...hat.com>,
Denys Vlasenko <vda.linux@...glemail.com>,
Jiri Moskovcak <jmoskovc@...hat.com>,
Neil Horman <nhorman@...driver.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -mm] coredump: add support for %d=__get_dumpable() in
core name
On Thu, 13 Sep 2012 19:28:17 +0200
Oleg Nesterov <oleg@...hat.com> wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=787135
Needs a RH bugzilla account, so no Reported-by: for you!
> Some coredump handlers want to create a core file in a way compatible
> with standard behavior. Standard behavior with fs.suid_dumpable = 2
> is to create core file with uid=gid=0. However, there was no way for
> coredump handler to know that the process being dumped was suid'ed.
>
> 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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists