[LTP] [PATCH] syscalls/kill11: add a check between hard limit and MIN_RLIMIT_CORE

Yang Xu xuyang2018.jy@cn.fujitsu.com
Thu Feb 13 11:11:59 CET 2020



on 2020/02/13 16:41, Yang Xu wrote:
> 
> 
> on 2020/02/13 16:35, Jan Stancek wrote:
>>
>>
>> ----- Original Message -----
>>>> This looks OK, but could we also raise the limit when possible?
>>>>
>>> Of course. Your way is more wise.
>>> But I also want to change this size of MIN_RLIMIT_CORE.
>>>   From ulimit manpage, I know in posix mode "-c" used 512-byte block. I
>>> doubt whether we can change MIN_RLIMIT_CORE(512 *1024), so this case
>>> can also pass in unbuntu(default environment).
>>> What do you think about this?
>>
>> I don't see problem with that, we only check for correct signal.
>> Though it probably should be separate patch. Can you re-post
>> both as 2 patch series?
Hi Jan
Since abort01 has the same issue, I will send a patch series as you 
advise, and then cleanup kill11 when I have free time.

Best Regargd
Yang Xu
> Hi Jan
>   I perfer to cleanup this case to use new API and also include this two 
> points.
> 
> Best Regard
> Yang Xu
>>
>>
>>
> 
> 
> 




More information about the ltp mailing list