diff options
author | Jens Axboe <[email protected]> | 2024-10-24 10:52:02 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-10-29 13:43:27 -0600 |
commit | d090bffab609762af06dec295a305ce270941b42 (patch) | |
tree | aad15ea38b3d47fbb7e7ccaef9c81965d9716d84 /tools/perf/scripts/python/sctop.py | |
parent | 81d8191eb99d95b32e55d09d74f682d40d3e74e9 (diff) |
io_uring/memmap: explicitly return -EFAULT for mmap on NULL rings
The later mapping will actually check this too, but in terms of code
clarify, explicitly check for whether or not the rings and sqes are
valid during validation. That makes it explicit that if they are
non-NULL, they are valid and can get mapped.
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions