diff options
| author | Pavel Begunkov <[email protected]> | 2020-05-04 19:39:35 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-05-07 15:45:07 +0000 |
| commit | 90da2e3f25c8b4d742b2687b8fed8fc4eb8851da (patch) | |
| tree | 6937c8d00b23be9016972d3000838338f9a09a6d /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | io_uring: handle -EFAULT properly in io_uring_setup() (diff) | |
| download | kernel-90da2e3f25c8b4d742b2687b8fed8fc4eb8851da.tar.gz kernel-90da2e3f25c8b4d742b2687b8fed8fc4eb8851da.zip | |
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 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
