]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
act: use credential guards in acct_write_process()
authorChristian Brauner <brauner@kernel.org>
Mon, 3 Nov 2025 11:27:02 +0000 (12:27 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 4 Nov 2025 11:36:49 +0000 (12:36 +0100)
commit5db84abd2afb822594291faea8b6a1336c74db44
treeacd1d998b075a418e13a7bd6a0520a7e9e8d27ed
parentc5c92c624aeb90d708db276ce2dd57db11fdb823
act: use credential guards in acct_write_process()

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

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