diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-05-04 22:39:35 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-07 09:45:07 -0600 |
commit | 90da2e3f25c8b4d742b2687b8fed8fc4eb8851da (patch) | |
tree | 6937c8d00b23be9016972d3000838338f9a09a6d /Makefile | |
parent | 7f13657d141346125f4d0bb93eab4777f40c406e (diff) | |
download | linux-90da2e3f25c8b4d742b2687b8fed8fc4eb8851da.tar.bz2 |
splice: move f_mode checks to do_{splice,tee}()
do_splice() is used by io_uring, as will be do_tee(). Move f_mode
checks from sys_{splice,tee}() to do_{splice,tee}(), so they're
enforced for io_uring as well.
Fixes: 7d67af2c0134 ("io_uring: add splice(2) support")
Reported-by: Jann Horn <jannh@google.com>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions