diff options
| author | Alexey Gladkov <legion@kernel.org> | 2026-04-27 10:26:06 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-05-11 23:13:02 +0200 |
| commit | 1991a8f6932124d880e847885da20a98948b6fed (patch) | |
| tree | 4fb46186a732556d17b00d0ed1c137dabf29104f /drivers/platform/wmi/tests/git@git.tavy.me:linux.git | |
| parent | a2a5eb6323a7b1987fd8048d94b9ffc7f87e3064 (diff) | |
proc: prevent reconfiguring subset=pid
Changing subset=pid on an existing procfs instance is not safe. If a
full procfs mount has entries hidden by overmounts, switching it to
subset=pid would hide the top-level procfs entries from lookup and
readdir while leaving the existing overmounts reachable.
Reject attempts to change the subset=pid state during reconfigure before
applying any other procfs mount options, so a failed reconfigure cannot
partially update the instance.
Signed-off-by: Alexey Gladkov <legion@kernel.org>
Link: https://patch.msgid.link/13295f40f642af5d6e7038d681d43132ad80f7b2.1777278334.git.legion@kernel.org
Reviewed-by: Aleksa Sarai <aleksa@amutable.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'drivers/platform/wmi/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
