[LTP] [PATCH v2 0/2] LTP: adjust socket xattr tests for kernel 7.1.0+

Jan Polensky japo@linux.ibm.com
Sat Mar 14 16:13:02 CET 2026


Linux 7.1.0 allows user.* xattrs on sockets (dc0876b9846d). Update
fsetxattr02/setxattr02 to expect success on 7.1.0+ (instead of -EPERM).

Jan Polensky (2):
  fsetxattr02: Adapt test for kernel 7.1.0+ socket xattr support
  setxattr02: Adapt test for kernel 7.1.0+ socket xattr support

 testcases/kernel/syscalls/fsetxattr/fsetxattr02.c | 7 ++++++-
 testcases/kernel/syscalls/setxattr/setxattr02.c   | 6 +++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

-- 
2.53.0



More information about the ltp mailing list