-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable pidfs unconditionally. There's no real reason not do to it. For 32bit systems we add a simple inode allocation mechanism that still guarantees that userspace can compare processes by inode number which they already do as I found out in [1]. If they also need the uniqueness property that we get by default on 64bit systems they should simply parse the contents of /proc/<pid>/fd/<nr>. On 64bit we don't have to deal with any of this and things are nice and simple. Link: systemd/systemd#31713 [1] Signed-off-by: Christian Brauner <brauner@kernel.org>
- Loading branch information
Showing
5 changed files
with
48 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters