[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220413.115910.1259895348912996409.davem@davemloft.net>
Date: Wed, 13 Apr 2022 11:59:10 +0100 (BST)
From: David Miller <davem@...emloft.net>
To: axboe@...nel.dk
Cc: io-uring@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] net: add __sys_socket_file()
From: Jens Axboe <axboe@...nel.dk>
Date: Tue, 12 Apr 2022 14:22:39 -0600
> 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@...nel.dk>
Acked-by: David S. Miller <davem@...emloft.net>
Powered by blists - more mailing lists