diff options
author | Dmitry Osipenko <[email protected]> | 2022-11-10 23:13:46 +0300 |
---|---|---|
committer | Dmitry Osipenko <[email protected]> | 2022-11-11 23:49:50 +0300 |
commit | aa3f99896443ea26e115f08757008d14430876f9 (patch) | |
tree | 096a598843768f8afc75a7cae5c40b959bb3e234 /tools/testing/selftests/bpf/prog_tests | |
parent | 39ce252918712180f5a64853920a320981dac94b (diff) |
udmabuf: Assert held reservation lock for dma-buf mmapping
When userspace mmaps dma-buf's fd, the dma-buf reservation lock must be
held. Add locking sanity check to the dma-buf mmaping callback to ensure
that the locking assumption won't regress in the future.
Suggested-by: Daniel Vetter <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Acked-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions