RE: [PATCH v2] fs/select: add vmalloc fallback for select(2)

From: David Laight
Date: Fri Sep 23 2016 - 10:00:11 EST


From: Vlastimil Babka
> Sent: 23 September 2016 10:59
...
> > I suspect that fdt->max_fds is an upper bound for the highest fd the
> > process has open - not the RLIMIT_NOFILE value.
>
> I gathered that the highest fd effectively limits the number of files,
> so it's the same. I might be wrong.

An application can reduce RLIMIT_NOFILE below that of an open file.

David