summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2023-10-16 06:47:48 -0700
committerJens Axboe <axboe@kernel.dk>2023-10-19 16:42:03 -0600
commit4232c6e349f3a591fd0f432e6b858d32095adce6 (patch)
treed4af616068a1fb5ad312b0240625e6b6dbfc4558 /usr
parenta5d2f99aff6b6f9cd6a1ab6907d8be8066114791 (diff)
downloadlinux-4232c6e349f3a591fd0f432e6b858d32095adce6.tar.gz
linux-4232c6e349f3a591fd0f432e6b858d32095adce6.tar.bz2
linux-4232c6e349f3a591fd0f432e6b858d32095adce6.zip
io_uring/cmd: Introduce SOCKET_URING_OP_SETSOCKOPT
Add initial support for SOCKET_URING_OP_SETSOCKOPT. This new command is similar to setsockopt. This implementation leverages the function do_sock_setsockopt(), which is shared with the setsockopt() system call path. Important to say that userspace needs to keep the pointer's memory alive until the operation is completed. I.e, the memory could not be deallocated before the CQE is returned to userspace. Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de> Link: https://lore.kernel.org/r/20231016134750.1381153-11-leitao@debian.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions