Re: [PATCH 06/16] getrlimit.2: note that setrlimit(RLIMIT_CPU) doesn't fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Eugene,

Ping on the below...

Thanks,

Michael


On 10/14/18 9:36 PM, Michael Kerrisk (man-pages) wrote:
> Hello Eugene,
> 
> On 09/19/2018 07:12 PM, Eugene Syromyatnikov wrote:
>> Signed-off-by: Eugene Syromyatnikov <evgsyr@xxxxxxxxx>
>> ---
>>  man2/getrlimit.2 | 5 +++++
>>  1 file changed, 5 insertions(+)
>>
>> diff --git a/man2/getrlimit.2 b/man2/getrlimit.2
>> index fe821e1..3a4d48f 100644
>> --- a/man2/getrlimit.2
>> +++ b/man2/getrlimit.2
>> @@ -740,6 +740,11 @@ when
>>  .I rlim\->rlim_cur
>>  was greater than
>>  .IR rlim\->rlim_max .
>> +.\" d3561f78fd379a7110e46c87964ba7aa4120235c
>> +.PP
>> +Linux doesn't return an error when an attempt to set
>> +.B RLIMIT_CPU
>> +has failed, for compatibility reasons.
> 
> I need some help with this. Can I see an example?
> As far as I can tell (from testing), the kernel only 
> fails to return an error when trying to set the soft
> limit to infinity while the hard limit is less than
> infinity.
> 
> Thanks,
> 
> Michael
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux