From: Petr Vorel <pvorel@suse.cz>
To: Jan Polensky <japo@linux.ibm.com>
Cc: Linux Test Project <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH v3 1/1] [STAGING] ioctl_pidfd06: Select expected errno for PIDFD_GET_INFO across pidns
Date: Sun, 22 Feb 2026 22:35:27 +0100 [thread overview]
Message-ID: <20260222213527.GA426614@pevik> (raw)
In-Reply-To: <20260220173928.57467-1-japo@linux.ibm.com>
Hi Jan,
> PIDFD_GET_INFO semantics changed for pidfds referring to tasks without a PID
> in the caller's current pid namespace (commit ab89060fbc92e ("pidfs: return
> -EREMOTE when PIDFD_GET_INFO is called on another ns")).
> Select the expected errno based on the running kernel version to keep the
> test working on kernels before and after the change, while being strict on
> newer kernels to avoid accepting the legacy errno by accident.
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2026-02-22 21:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-20 17:39 [LTP] [PATCH v3 1/1] [STAGING] ioctl_pidfd06: Select expected errno for PIDFD_GET_INFO across pidns Jan Polensky
2026-02-22 21:35 ` Petr Vorel [this message]
2026-02-24 10:20 ` Andrea Cervesato via ltp
2026-03-02 8:49 ` Jan Stancek via ltp
2026-03-02 11:26 ` Petr Vorel
2026-03-02 10:33 ` Cyril Hrubis
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=20260222213527.GA426614@pevik \
--to=pvorel@suse.cz \
--cc=japo@linux.ibm.com \
--cc=ltp@lists.linux.it \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.