Commit ff2044c
committed
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>1 parent 6e1d1c1 commit ff2044c
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
782 | 782 | | |
783 | 783 | | |
784 | 784 | | |
785 | | - | |
786 | | - | |
787 | 785 | | |
788 | 786 | | |
789 | 787 | | |
790 | 788 | | |
791 | 789 | | |
792 | 790 | | |
793 | 791 | | |
794 | | - | |
795 | | - | |
796 | | - | |
| 792 | + | |
| 793 | + | |
797 | 794 | | |
798 | 795 | | |
799 | 796 | | |
| |||
0 commit comments