[LTP] [PATCH v5 0/2] Add listxattr04 test reproducer
Andrea Cervesato
andrea.cervesato@suse.de
Wed Jul 23 18:04:48 CEST 2025
Reproducer for https://lore.kernel.org/linux-fsdevel/m1wm9qund4.fsf@gmail.com/T/
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Changes in v5:
- add tst_lsm_enabled()
- Link to v4: https://lore.kernel.org/r/20250722-xattr_bug_repr-v4-0-4be1e52e97c6@suse.com
Changes in v4:
- check if SELinux is enabled by looking at the mount point
- Link to v3: https://lore.kernel.org/r/20250709-xattr_bug_repr-v3-0-379c2c291bb7@suse.com
Changes in v3:
- add tst_selinux_enabled() utility
- Link to v2: https://lore.kernel.org/r/20250703-xattr_bug_repr-v2-1-154e9afe2463@suse.com
Changes in v2:
- only check if SELinux is up and running
- Link to v1: https://lore.kernel.org/r/20250703-xattr_bug_repr-v1-1-5dcf5dde8b61@suse.com
---
Andrea Cervesato (2):
core: add tst_selinux_enabled() utility
Add listxattr04 reproducer
include/tst_security.h | 4 +
lib/tst_security.c | 30 +++++-
testcases/kernel/syscalls/listxattr/.gitignore | 1 +
testcases/kernel/syscalls/listxattr/Makefile | 2 +
testcases/kernel/syscalls/listxattr/listxattr04.c | 114 ++++++++++++++++++++++
testcases/kernel/syscalls/lsm/lsm_common.h | 34 +------
6 files changed, 153 insertions(+), 32 deletions(-)
---
base-commit: 87cde3ff47d0728b7e7f937c6b20d7a95ad4e4aa
change-id: 20250702-xattr_bug_repr-5873b84792fb
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list