diff options
author | Günther Noack <gnoack@google.com> | 2024-04-19 16:11:15 +0000 |
---|---|---|
committer | Mickaël Salaün <mic@digikod.net> | 2024-05-13 06:58:31 +0200 |
commit | 7954a1d155975a3fbc9570151358738f59605121 (patch) | |
tree | 17043dc6dc5dae7c27217f59781016887a95ef2f /scripts/gdb/linux/tasks.py | |
parent | dd6d32afdf5f1869a8f543e8efdd191f7e4b0368 (diff) |
selftests/landlock: Test ioctl(2) and ftruncate(2) with open(O_PATH)
ioctl(2) and ftruncate(2) operations on files opened with O_PATH
should always return EBADF, independent of the
LANDLOCK_ACCESS_FS_TRUNCATE and LANDLOCK_ACCESS_FS_IOCTL_DEV access
rights in that file hierarchy.
Suggested-by: Mickaël Salaün <mic@digikod.net>
Signed-off-by: Günther Noack <gnoack@google.com>
Link: https://lore.kernel.org/r/20240419161122.2023765-5-gnoack@google.com
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions