Commit 819af73
committed
pidfs: move O_RDWR into pidfs_alloc_file()
JIRA: https://issues.redhat.com/browse/RHEL-107520
Conflicts:
A merge conflict due to missing upstream commit a71f402 ("pidfs:
get rid of __pidfd_prepare()") and related ones.
commit c57f07b
Author: Christian Brauner <brauner@kernel.org>
Date: Mon, 14 Apr 2025 15:55:05 +0200
pidfs: move O_RDWR into pidfs_alloc_file()
Since all pidfds must be O_RDWR currently enfore that directly in the
file allocation function itself instead of letting callers specify it.
Link: https://lore.kernel.org/20250414-work-coredump-v2-1-685bf231f828@kernel.org
Tested-by: Luca Boccassi <luca.boccassi@gmail.com>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Waiman Long <longman@redhat.com>1 parent dbfeea5 commit 819af73
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
708 | 708 | | |
709 | 709 | | |
710 | 710 | | |
| 711 | + | |
711 | 712 | | |
712 | 713 | | |
713 | 714 | | |
| |||
0 commit comments