Skip to content

linux: fix pidfd_open ENOENT errno support - #2400

Closed
giuseppe wants to merge 1 commit into
containers:mainfrom
giuseppe:carry-over-2394
Closed

giuseppe wants to merge 1 commit into
containers:mainfrom
giuseppe:carry-over-2394

Conversation

@giuseppe

Copy link
Copy Markdown
Member

In commit 8cf4b738f6d8, "pidfd: improve uapi when task isn't found" pidfd_open() now returns ENOENT instead of EINVAL when the pid exists but is not the leader of a thread-group.

Carried over from #2394

In commit 8cf4b738f6d8, "pidfd: improve uapi when task isn't found"
pidfd_open() now returns ENOENT instead of EINVAL when the pid exists
but is not the leader of a thread-group.

Carried over from containers#2394

Signed-off-by: Giuseppe Scrivano <giuseppe@scrivano.org>
@giuseppe giuseppe closed this Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant