public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Jan Polensky <japo@linux.ibm.com>
To: chrubis@suse.cz, pvorel@suse.cz
Cc: Linux Test Project <ltp@lists.linux.it>
Subject: [LTP] [PATCH v3 0/2] LTP: adjust socket xattr tests for kernel 7.1.0+
Date: Mon, 16 Mar 2026 13:27:23 +0100	[thread overview]
Message-ID: <20260316122725.122719-1-japo@linux.ibm.com> (raw)

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

Changes since v2:
- Move kernel check into setup() & add helper (thanks Petr) 
- Alter test description
Changes since v1:
- Fix kernel version 7.0+ -> 7.1.0+ (thanks Petr)
- Fix comments

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

 .../kernel/syscalls/fsetxattr/fsetxattr02.c   | 22 ++++++++++++++++++-
 .../kernel/syscalls/setxattr/setxattr02.c     | 20 ++++++++++++++++-
 2 files changed, 40 insertions(+), 2 deletions(-)

-- 
2.53.0


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

             reply	other threads:[~2026-03-16 12:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-16 12:27 Jan Polensky [this message]
2026-03-16 12:27 ` [LTP] [PATCH v3 1/2] fsetxattr02: Adapt test for kernel 7.1.0+ socket xattr support Jan Polensky
2026-03-20  7:46   ` Andrea Cervesato via ltp
2026-03-20  9:30     ` Jan Polensky
2026-03-16 12:27 ` [LTP] [PATCH v3 2/2] setxattr02: " Jan Polensky
2026-03-16 14:39   ` Petr Vorel
2026-03-17 13:00   ` Andrea Cervesato via ltp
2026-03-17 23:01     ` Petr Vorel
2026-03-18 10:53       ` Jan Polensky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260316122725.122719-1-japo@linux.ibm.com \
    --to=japo@linux.ibm.com \
    --cc=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=pvorel@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox