Centos-kernel-stream-9/io_uring
Scott Weaver 8d95883db0 Merge: io_uring: update to upstream v6.6
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/3318

Update io_uring and its dependencies to upstream kernel version 6.6.

JIRA: https://issues.redhat.com/browse/RHEL-12076
JIRA: https://issues.redhat.com/browse/RHEL-14998
JIRA: https://issues.redhat.com/browse/RHEL-4447
CVE: CVE-2023-46862

Omitted-Fix: ab69838e7c75 ("io_uring/kbuf: Fix check of BID wrapping in provided buffers")
Omitted-Fix: f74c746e476b ("io_uring/kbuf: Allow the full buffer id space for provided buffers")

This is the list of new features available (includes upstream kernel versions 6.3-6.6):

    User-specified ring buffer
    Provided Buffers allocated by the kernel
    Ability to register the ring fd
    Multi-shot timeouts
    ability to pass custom flags to the completion queue entry for ring messages

All of these features are covered by the liburing tests.

In my testing, no-mmap-inval.t failed because of a broken test.  socket-uring-cmd.t also failed because of a missing selinux policy rule.  Try running audit2allow if you see a failure in that test.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>

Approved-by: Wander Lairson Costa <wander@redhat.com>
Approved-by: Donald Dutile <ddutile@redhat.com>
Approved-by: Chris von Recklinghausen <crecklin@redhat.com>
Approved-by: Jiri Benc <jbenc@redhat.com>
Approved-by: Ming Lei <ming.lei@redhat.com>

Signed-off-by: Scott Weaver <scweaver@redhat.com>
2023-12-16 14:38:47 -05:00
..
Makefile
advise.c io_uring: always go async for unsupported fadvise flags 2023-11-02 15:31:10 -04:00
advise.h
alloc_cache.h io_uring/rsrc: consolidate node caching 2023-11-02 15:31:32 -04:00
cancel.c io_uring/cancel: wire up IORING_ASYNC_CANCEL_OP for sync cancel 2023-11-02 15:32:15 -04:00
cancel.h io_uring/cancel: support opcode based lookup and cancelation 2023-11-02 15:32:15 -04:00
epoll.c io_uring: undeprecate epoll_ctl support 2023-07-31 16:24:20 -04:00
epoll.h
fdinfo.c io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid 2023-11-03 15:39:16 -04:00
fdinfo.h
filetable.c io_uring: add helpers to decode the fixed file file_ptr 2023-11-02 15:31:55 -04:00
filetable.h io_uring: add helpers to decode the fixed file file_ptr 2023-11-02 15:31:55 -04:00
fs.c io_uring/fs: remove sqe->rw_flags checking from LINKAT 2023-11-02 17:26:28 -04:00
fs.h
io-wq.c io-wq: fully initialize wqe before calling cpuhp_state_add_instance_nocalls() 2023-11-03 15:39:13 -04:00
io-wq.h io_uring: break out of iowq iopoll on teardown 2023-11-02 17:26:27 -04:00
io_uring.c Merge: io_uring: update to upstream v6.6 2023-12-16 14:38:47 -05:00
io_uring.h io_uring: ensure io_lockdep_assert_cq_locked() handles disabled rings 2023-11-02 17:26:28 -04:00
kbuf.c io_uring/kbuf: don't allow registered buffer rings on highmem pages 2023-11-02 17:26:28 -04:00
kbuf.h io_uring: add support for user mapped provided buffer ring 2023-11-02 15:31:28 -04:00
msg_ring.c io_uring: use io_file_from_index in io_msg_grab_file 2023-11-02 15:31:55 -04:00
msg_ring.h
net.c io_uring/net: fix iter retargeting for selected buf 2023-11-02 17:26:28 -04:00
net.h io_uring: Add KASAN support for alloc_caches 2023-11-02 15:31:28 -04:00
nop.c
nop.h
notif.c io_uring/notif: add constant for ubuf_info flags 2023-11-02 15:31:32 -04:00
notif.h io_uring/notif: add constant for ubuf_info flags 2023-11-02 15:31:32 -04:00
opdef.c io_uring: Pass whole sqe to commands 2023-11-02 15:31:34 -04:00
opdef.h io_uring: Split io_issue_def struct 2023-11-02 15:31:09 -04:00
openclose.c io_uring: correct check for O_TMPFILE 2023-11-02 15:31:57 -04:00
openclose.h
poll.c io_uring: never overflow io_aux_cqe 2023-11-02 17:26:25 -04:00
poll.h io_uring: avoid indirect function calls for the hottest task_work 2023-11-02 15:31:54 -04:00
refs.h
rsrc.c io_uring/rsrc: keep one global dummy_ubuf 2023-11-02 17:26:25 -04:00
rsrc.h io_uring/rsrc: Remove unused declaration io_rsrc_put_tw() 2023-11-02 15:32:16 -04:00
rw.c io_uring: kiocb_done() should *not* trust ->ki_pos if ->{read,write}_iter() failed 2023-11-03 15:39:16 -04:00
rw.h io_uring: avoid indirect function calls for the hottest task_work 2023-11-02 15:31:54 -04:00
slist.h io_uring: silence variable ‘prev’ set but not used warning 2023-11-02 15:31:12 -04:00
splice.c io_uring/splice: use fput() directly 2023-11-02 17:26:24 -04:00
splice.h
sqpoll.c io_uring: Don't set affinity on a dying sqpoll thread 2023-11-02 17:26:27 -04:00
sqpoll.h io_uring/sqpoll: fix io-wq affinity when IORING_SETUP_SQPOLL is used 2023-11-02 17:26:25 -04:00
statx.c io_uring: for requests that require async, force it 2023-11-02 15:31:10 -04:00
statx.h
sync.c io_uring: for requests that require async, force it 2023-11-02 15:31:10 -04:00
sync.h
tctx.c io_uring: Add io_uring_setup flag to pre-register ring fd and never install it 2023-11-02 15:31:53 -04:00
tctx.h
timeout.c io_uring: never overflow io_aux_cqe 2023-11-02 17:26:25 -04:00
timeout.h
uring_cmd.c io_uring: simplify big_cqe handling 2023-11-02 17:26:26 -04:00
uring_cmd.h io_uring: Remove unnecessary BUILD_BUG_ON 2023-11-02 15:31:35 -04:00
xattr.c io_uring: for requests that require async, force it 2023-11-02 15:31:10 -04:00
xattr.h