]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
backing-file: use credential guards for mmap
authorChristian Brauner <brauner@kernel.org>
Mon, 3 Nov 2025 11:26:55 +0000 (12:26 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 4 Nov 2025 11:36:38 +0000 (12:36 +0100)
commit6e1d1c1fa7b1a8d318ccb5f4f64b2a2b5803cf1c
treeeb97a0e6cc98f461383cfdc1312482172b81003e
parentb688171f910e22d1a32dec24bae8dbecbf2fe395
backing-file: use credential guards for mmap

Use credential guards for scoped credential override with automatic
restoration on scope exit.

Link: https://patch.msgid.link/20251103-work-creds-guards-simple-v1-7-a3e156839e7f@kernel.org
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/backing-file.c