[lkml]   [2011]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] coredump: fix pipe coredump when core limit is 0
    On Thu, Aug 25, 2011 at 05:57:35PM +0200, Oleg Nesterov wrote:
    > On 08/24, Neil Horman wrote:
    > >
    > > The long and the short of it is, making RLIMIT_CORE == 0 for the ispipe case
    > > skip the core dump, breaks lots of user space expectations
    > Not sure this really makes sense, but perhaps ispipe can skip the dump
    > if RLIMIT_CORE == 0 _and_ the signal was sent from the user-space.
    If you can guarantee that the signal came from user space, yes, that would work
    I imagine. alternatively I expect we could modify the kernel thread creation
    routine such that it sets PR_SET_DUMPABLE to zero for all kernel threads

    Either would work I imagine.

    > Oleg.

     \ /
      Last update: 2011-08-25 20:45    [W:0.020 / U:31.140 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site