]> git.ipfire.org Git - thirdparty/linux.git/commit
binfmt_misc: use credential guards
authorChristian Brauner <brauner@kernel.org>
Mon, 3 Nov 2025 11:26:56 +0000 (12:26 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 4 Nov 2025 11:36:39 +0000 (12:36 +0100)
commitff2044cd277d8d2d6d6ea609d5a10fcbe68a23f9
treea96a533622bfd3ba30c66a37ef011f2bd54660b2
parent6e1d1c1fa7b1a8d318ccb5f4f64b2a2b5803cf1c
binfmt_misc: use credential guards

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

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