Re: [PATCH] coredump: fix pipe coredump when core limit is 0

From: Neil Horman
Date: Sun Aug 21 2011 - 18:36:42 EST


Concur. The comment should be changed
Neil

Oleg Nesterov <oleg@xxxxxxxxxx> wrote:

>On 08/21, Oleg Nesterov wrote:
>>
>> On 08/21, bookjovi@xxxxxxxxx wrote:
>> >
>> > For non-pipe case, limit 0 also means drop the coredump, so just put
>> > the zero limit check at do_coredump function begining.
>>
>> Neil, what do you think? Should we change the code or the comment?
>
>Personally I think we should fix the comment. I think RLIMIT_CORE
>doesn't apply in this case, limit == 1 check is very special. And
>this is what linux always did, except between 725eae32 and 898b374a.
>
>
>Oleg.
>
>
èº{.nÇ+‰·Ÿ®‰­†+%ŠËlzwm…ébëæìr¸›zX§»®w¥Š{ayºÊÚë,j­¢f£¢·hš‹àz¹®w¥¢¸ ¢·¦j:+v‰¨ŠwèjØm¶Ÿÿ¾«‘êçzZ+ƒùšŽŠÝj"ú!¶iO•æ¬z·švØ^¶m§ÿðà nÆàþY&—