diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-04-12 14:22:39 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-24 18:19:21 -0600 |
commit | da214a475f8bd1d3e9e7a19ddfeb4d1617551bab (patch) | |
tree | 8f75ac52167355b8b5511ace9f176fca14d64d7e /fs/io_uring.c | |
parent | io_uring: fix trace for reduced sqe padding (diff) | |
download | linux-dev-da214a475f8bd1d3e9e7a19ddfeb4d1617551bab.tar.xz linux-dev-da214a475f8bd1d3e9e7a19ddfeb4d1617551bab.zip |
net: add __sys_socket_file()
This works like __sys_socket(), except instead of allocating and
returning a socket fd, it just returns the file associated with the
socket. No fd is installed into the process file table.
This is similar to do_accept(), and allows io_uring to use this without
instantiating a file descriptor in the process file table.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Acked-by: David S. Miller <davem@davemloft.net>
Link: https://lore.kernel.org/r/20220412202240.234207-2-axboe@kernel.dk
Diffstat (limited to 'fs/io_uring.c')
0 files changed, 0 insertions, 0 deletions