summaryrefslogtreecommitdiff
path: root/drivers/phy/axiado/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-06-01 15:56:40 +0200
committerChristian Brauner <brauner@kernel.org>2026-06-29 10:44:06 +0200
commitfef0cd1c95bd326275d0f4441898e8b54a62116e (patch)
treea8b96778d89a97d612867ac011386288b76175f7 /drivers/phy/axiado/git@git.tavy.me:linux.git
parent2626320e3123bab4620260c1926bd7962e1322c5 (diff)
crypto: ccp: use scoped_with_init_fs() for SEV file access
Replace the manual init_task root retrieval with scoped_with_init_fs() to temporarily override current->fs. This allows using the simpler filp_open() instead of the init_root() + file_open_root() pattern. open_file_as_root() ← sev_read_init_ex_file() / sev_write_init_ex_file() ← sev_platform_init() ← __sev_guest_init() ← KVM ioctl — user process context Needs init's root because the SEV init_ex file path should resolve against the real root, not a KVM user's chroot. Link: https://patch.msgid.link/20260601-work-kthread-nullfs-v4-7-77ee053060e0@kernel.org Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'drivers/phy/axiado/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions