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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241021-warten-ozonwerte-0e7b2326a566@brauner>
Date: Mon, 21 Oct 2024 16:45:23 +0200
From: Christian Brauner <brauner@...nel.org>
To: luca.boccassi@...il.com
Cc: Christian Brauner <brauner@...nel.org>,
	linux-kernel@...r.kernel.org,
	oleg@...hat.com,
	linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH v11] pidfd: add ioctl to retrieve pid info

On Thu, 10 Oct 2024 16:52:32 +0100, luca.boccassi@...il.com wrote:
> A common pattern when using pid fds is having to get information
> about the process, which currently requires /proc being mounted,
> resolving the fd to a pid, and then do manual string parsing of
> /proc/N/status and friends. This needs to be reimplemented over
> and over in all userspace projects (e.g.: I have reimplemented
> resolving in systemd, dbus, dbus-daemon, polkit so far), and
> requires additional care in checking that the fd is still valid
> after having parsed the data, to avoid races.
> 
> [...]

Applied with some minor changes as mentioned elsewhere.

---

Applied to the vfs.pidfs branch of the vfs/vfs.git tree.
Patches in the vfs.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.pidfs

[1/1] pidfd: add ioctl to retrieve pid info
      https://git.kernel.org/vfs/vfs/c/12506679be68

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ