]> Gentwo Git Trees - linux/.git/commit
socket: Split out a getsockname helper for io_uring
authorGabriel Krisman Bertazi <krisman@suse.de>
Tue, 25 Nov 2025 21:18:00 +0000 (16:18 -0500)
committerJens Axboe <axboe@kernel.dk>
Wed, 26 Nov 2025 20:45:23 +0000 (13:45 -0700)
commitd73c1677087391379441c0bb444c7fb4238fc6e7
tree3bb53e13414721e63e652624596d06386358f868
parent4677e78800bbde62a9edce0eb3b40c775ec55e0d
socket: Split out a getsockname helper for io_uring

Similar to getsockopt, split out a helper to check security and issue
the operation from the main handler that can be used by io_uring.

Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/socket.h
net/socket.c