diff options
author | Pavel Begunkov <[email protected]> | 2020-05-04 22:39:35 +0300 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-05-07 09:45:07 -0600 |
commit | 90da2e3f25c8b4d742b2687b8fed8fc4eb8851da (patch) | |
tree | 6937c8d00b23be9016972d3000838338f9a09a6d /scripts/gdb/linux | |
parent | 7f13657d141346125f4d0bb93eab4777f40c406e (diff) |
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 <[email protected]>
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions