On 5/4/20 1:39 PM, Pavel Begunkov wrote: > 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. Applied for 5.7, thanks. -- Jens Axboe
On 5/4/20 1:39 PM, Pavel Begunkov wrote: > 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. Applied for 5.7, thanks. -- Jens Axboe