commit | 3a1b8a4e843f96b636431450d8d79061605cf74b | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Fri Aug 20 10:36:35 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Aug 23 13:10:46 2021 -0600 |
tree | 8341c98c49c5595ce7ad5d02186208fa31b307aa | |
parent | 99c8bc52d1321ab3a711eba2941eadbe7425230f [diff] |
io_uring: limit fixed table size by RLIMIT_NOFILE 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@vger.kernel.org Suggested-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/b2756c340aed7d6c0b302c26dab50c6c5907f4ce.1629451684.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>