lkml.org 
[lkml]   [2008]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC, PATCH] signals: print_fatal_signal: fix the signr "calculation"
Date
> For various reasons we can't currently do the same for sig_kernel_coredump()
> signals. But, when rlim[RLIMIT_CORE] == 0, we don't actually need coredumping?
> So, we could do something like
>
>
> - if (!sig_kernel_coredump(sig)) {
> + if (!sig_kernel_coredump(sig) || !signal->rlim[RLIMIT_CORE]) {

I don't like this. I think it's better to leave logic like RLIMIT_CORE
checks to the core dump code itself.


Thanks,
Roland


\
 
 \ /
  Last update: 2008-03-11 03:21    [W:0.032 / U:4.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site