lkml.org 
[lkml]   [2011]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] coredump: fix pipe coredump when core limit is 0
On 08/26, Pádraig Brady wrote:
>
> On 08/25/2011 04:57 PM, 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.
>
> I like the sound of that, though don't know the details for
> determining signal origin. SIGQUIT generated from a Ctrl-\
> from the tty driver might be problematic for example.

Hmm. Thanks for correcting me.

Indeed, contrary to what I expected tty uses SEND_SIG_PRIV, not
SEND_SIG_NOINFO. This is SI_KERNEL. Hmm. OTOH, this makes sense
from check_kill_permission() pov.

Thanks.

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-08-26 16:15    [W:0.060 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site