Re: [PATCH v2] getrlimit.2: old_getrlimit/ugetrlimit and RLIM_INFINITY discrepancies

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

 



Hi Eugene,

On 7/8/21 3:10 PM, Jakub Wilk wrote:
* Eugene Syromyatnikov <evgsyr@xxxxxxxxx>, 2021-07-08, 14:17:
+Original Linux implementation used signed types for limits; that was changed
+(along with the value of the
+.B RLIM_INFINITY
+constant)
+.\" http://repo.or.cz/davej-history.git/blobdiff/129f8758d8c41e0378ace0b6e2f56bbb8a1ec694..15305d2e69c3a838bacd78962c07077d2821f255:/include/linux/resource.h
+during 2.4 development cycle, as it wasn't compatible

Oh, interesting.

That would explain why the man page incorrectly claims the upper limit for RLIMIT_AS is 2 GiB on 32-bit systems.

+Also worth noting that Several architectures decided not to change

s/Several/several/;
or maybe s/Also worth noting that //.


When you send a v2 of this, please add me to CC or TO, so that it's easier for me to notice it.

Thanks,

Alex


--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/



[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