lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250426-unbeteiligt-kalium-61b1b4a215de@brauner>
Date: Sat, 26 Apr 2025 08:28:55 +0200
From: Christian Brauner <brauner@...nel.org>
To: Christian Brauner <brauner@...nel.org>
Cc: linux-kernel@...r.kernel.org,
	linux-fsdevel@...r.kernel.org,
	netdev@...r.kernel.org,
	David Rheinsberg <david@...dahead.eu>,
	Jan Kara <jack@...e.cz>,
	Alexander Mikhalitsyn <alexander@...alicyn.com>,
	Luca Boccassi <bluca@...ian.org>,
	Lennart Poettering <lennart@...ttering.net>,
	Daan De Meyer <daan.j.demeyer@...il.com>,
	Mike Yuan <me@...dnzj.com>,
	Oleg Nesterov <oleg@...hat.com>,
	Kuniyuki Iwashima <kuniyu@...zon.com>,
	"David S. Miller" <davem@...emloft.net>,
	Eric Dumazet <edumazet@...gle.com>,
	Jakub Kicinski <kuba@...nel.org>,
	Paolo Abeni <pabeni@...hat.com>,
	Simon Horman <horms@...nel.org>
Subject: Re: [PATCH v2 0/4] net, pidfs: enable handing out pidfds for reaped sk->sk_peer_pid

On Fri, 25 Apr 2025 10:11:29 +0200, Christian Brauner wrote:
> SO_PEERPIDFD currently doesn't support handing out pidfds if the
> sk->sk_peer_pid thread-group leader has already been reaped. In this
> case it currently returns EINVAL. Userspace still wants to get a pidfd
> for a reaped process to have a stable handle it can pass on.
> This is especially useful now that it is possible to retrieve exit
> information through a pidfd via the PIDFD_GET_INFO ioctl()'s
> PIDFD_INFO_EXIT flag.
> 
> [...]

Applied to the vfs-6.16.pidfs branch of the vfs/vfs.git tree.
Patches in the vfs-6.16.pidfs branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-6.16.pidfs

[1/4] pidfs: register pid in pidfs
      https://git.kernel.org/vfs/vfs/c/477058411c45
[2/4] net, pidfs: prepare for handing out pidfds for reaped sk->sk_peer_pid
      https://git.kernel.org/vfs/vfs/c/fd0a109a0f6b
[3/4] pidfs: get rid of __pidfd_prepare()
      https://git.kernel.org/vfs/vfs/c/a71f402acd71
[4/4] net, pidfs: enable handing out pidfds for reaped sk->sk_peer_pid
      https://git.kernel.org/vfs/vfs/c/358ab1fd6922

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ