Skip to content

Add listxattr04 test reproducer

Andrea Cervesato ltp 5 versions – In review

Get series with b4
b4 am [email protected] change-id 20250702-xattr_bug_repr-5873b84792fb

Versions newest first

  1. v5 Latest2 patches 3 repliesIn review
  2. v42 patches 17 repliesSuperseded
  3. v32 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v21 patch4 repliesSuperseded
v11 patch0 repliesSuperseded

Changes in v5 from the cover letter

- add tst_lsm_enabled()
- Link to v4: https://lore.kernel.org/r/[email protected]

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2core: add tst_selinux_enabled() utilityinclude/tst_security.h lib/tst_security.c testcases/kernel/syscalls/lsm/lsm_common.h+36 -321 reply
2/2Add listxattr04 reproducertestcases/kernel/syscalls/listxattr/.gitignore testcases/kernel/syscalls/listxattr/Makefile testcases/kernel/syscalls/listxattr/listxattr04.c+117 -02 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPetr VorelWei Gao
1/2R-b R-b
2/2R-b T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [LTP] [PATCH v5 0/2] Add listxattr04 test reproducer

Reproducer for https://lore.kernel.org/linux-fsdevel/[email protected]/T/

---
Changes in v5:
- add tst_lsm_enabled()
- Link to v4: https://lore.kernel.org/r/[email protected]

Changes in v4:
- check if SELinux is enabled by looking at the mount point
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- add tst_selinux_enabled() utility
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- only check if SELinux is up and running
- Link to v1: https://lore.kernel.org/r/[email protected]

---
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,

Signature · 5 lines
Andrea Cervesato <[email protected]>


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp