On Thu, Mar 21, 2013 at 03:38:35PM -0400, Wietse Venema wrote:

> Axel Luttgens:
> [default open file rlim_max = 9223372036854775807]
> 
> Thanks for doing the experiments. On 64-bit systems the number
> 9223372036854775807 equals RLIM_INFINITY.

An interesting API choice, since file descriptors larger than
INT_MAX cannot be used with open(2), close(2), read(2), write(2), ...
So using a 64-bit (long) limit for a 32-bit (int) quantity is a
bit perverse.

-- 
        Viktor.

Reply via email to