Re: [PATCH 5.10 002/306] io_uring: limit fixed table size by RLIMIT_NOFILE

From: Pavel Machek
Date: Sun Sep 19 2021 - 15:04:52 EST


Hi!

> From: Pavel Begunkov <asml.silence@xxxxxxxxx>
>
> Limit the number of files in io_uring fixed tables by RLIMIT_NOFILE,
> that's the first and the simpliest restriction that we should impose.
>
> Cc: stable@xxxxxxxxxxxxxxx

5.13 and 5.14 backports do have "upstream" marking, but this one does
not. It is commit 3a1b8a4e843f96b636431450d8d79061605cf74b
upstream. But I guess it is too late to fix that.

Best regards,
Pavel

--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Attachment: signature.asc
Description: Digital signature