diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-10-25 19:04:25 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-10-25 19:58:45 +0300 |
commit | 498ccd9eda49117c34e0041563d0da6ac40e52b8 (patch) | |
tree | 1504976635c808ef89e58d5b9be1deffff68166c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 935d1e45908afb8853c497f2c2bbbb685dec51dc (diff) | |
download | linux-498ccd9eda49117c34e0041563d0da6ac40e52b8.tar.xz |
io_uring: used cached copies of sq->dropped and cq->overflow
We currently use the ring values directly, but that can lead to issues
if the application is malicious and changes these values on our behalf.
Created in-kernel cached versions of them, and just overwrite the user
side when we update them. This is similar to how we treat the sq/cq
ring tail/head updates.
Reported-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions