public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH 0/3] changes around fixed rsrc
@ 2021-08-20  9:36 Pavel Begunkov
  2021-08-20  9:36 ` [PATCH 1/3] io_uring: limit fixed table size by RLIMIT_NOFILE Pavel Begunkov
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Pavel Begunkov @ 2021-08-20  9:36 UTC (permalink / raw)
  To: Jens Axboe, io-uring

1-2 put some limits on the fixed file tables sizes, files and
buffers.

3/3 adds compatibility checks for ->splice_fd_in, for all requests
buy rw and some others, see the patch message.

All based on 5.15 and merked stable, looks to me as the best way.

Pavel Begunkov (3):
  io_uring: limit fixed table size by RLIMIT_NOFILE
  io_uring: place fixed tables under memcg limits
  io_uring: add ->splice_fd_in checks

 fs/io_uring.c | 61 ++++++++++++++++++++++++++++++---------------------
 1 file changed, 36 insertions(+), 25 deletions(-)

-- 
2.32.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-08-21 14:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-20  9:36 [PATCH 0/3] changes around fixed rsrc Pavel Begunkov
2021-08-20  9:36 ` [PATCH 1/3] io_uring: limit fixed table size by RLIMIT_NOFILE Pavel Begunkov
2021-08-20  9:36 ` [PATCH 2/3] io_uring: place fixed tables under memcg limits Pavel Begunkov
2021-08-20  9:36 ` [PATCH 3/3] io_uring: add ->splice_fd_in checks Pavel Begunkov
2021-08-21 13:18 ` [PATCH 0/3] changes around fixed rsrc Jens Axboe
2021-08-21 14:25   ` Pavel Begunkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox