diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-08-20 10:36:37 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-23 13:13:00 -0600 |
commit | 26578cda3db983b17cabe4e577af26306beb9987 (patch) | |
tree | e66c686649ae4b6597757a03700902ec57e57462 /fs/namei.c | |
parent | 2c5d763c1939fbd130452ee0d4d1a44b5dd97bb7 (diff) | |
download | lwn-26578cda3db983b17cabe4e577af26306beb9987.tar.gz lwn-26578cda3db983b17cabe4e577af26306beb9987.zip |
io_uring: add ->splice_fd_in checks
->splice_fd_in is used only by splice/tee, but no other request checks
it for validity. Add the check for most of request types excluding
reads/writes/sends/recvs, we don't want overhead for them and can leave
them be as is until the field is actually used.
Cc: stable@vger.kernel.org
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/f44bc2acd6777d932de3d71a5692235b5b2b7397.1629451684.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions