summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorDisha Goel <disgoel@linux.ibm.com>2026-08-03 20:38:37 +0530
committerChristian Brauner <brauner@kernel.org>2026-08-31 11:55:42 +0200
commitf8f42dbbb9c6056a8ce50942ceb242c46cf91815 (patch)
tree9d70427de7487c5deab8abb60462a020ce4a85e7 /tools/lib/python/kdoc/python_version.py
parent5550456dad376f1c215f38f019f129b9218a740e (diff)
selftests/filesystems: skip listxattr kernfs test if xattrs are present
kernfs_test assumes that flistxattr() on /sys/kernel/warn_count always returns an empty list. However, systems with SELinux enabled may expose security.selinux xattr via listxattr() during policy load, which makes the test fail even though kernfs is behaving correctly. Skip the xattr content check if any xattrs are present, while still verifying that flistxattr() succeeds (returns >= 0) on a kernfs file. The existing user.foo getxattr check remains unchanged. This avoids false failures on SELinux-enabled systems while preserving the original purpose of the test. Tested-by: Yeswanth Krishna <yeswanth@linux.ibm.com> Signed-off-by: Disha Goel <disgoel@linux.ibm.com> Link: https://patch.msgid.link/20260803150837.91604-1-disgoel@linux.ibm.com Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions