diff options
| author | 2026-01-21 11:48:56 -0700 | |
|---|---|---|
| committer | 2026-01-21 11:50:59 -0700 | |
| commit | 649dd18f559891bdafc5532d737c7dfb56060a6d (patch) | |
| tree | f4c220bc899476d46fb94e76aeaaf045c193e855 /tools/perf/scripts/python/stackcollapse.py | |
| parent | io_uring/eventfd: remove unused ctx->evfd_last_cq_tail member (diff) | |
io_uring/sync: validate passed in offset
Check if the passed in offset is negative once cast to sync->off. This
ensures that -EINVAL is returned for that case, like it would be for
sync_file_range(2).
Fixes: c992fe2925d7 ("io_uring: add fsync support")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
