Commit 545985d
committed
coredump: use override credential guard
Use override credential guards for scoped credential override with
automatic restoration on scope exit.
Link: https://patch.msgid.link/20251103-work-creds-guards-prepare_creds-v1-10-b447b82f2c9b@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>1 parent 8ed3473 commit 545985d
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1160 | 1160 | | |
1161 | 1161 | | |
1162 | 1162 | | |
1163 | | - | |
1164 | 1163 | | |
1165 | 1164 | | |
1166 | 1165 | | |
| |||
1197 | 1196 | | |
1198 | 1197 | | |
1199 | 1198 | | |
1200 | | - | |
1201 | | - | |
1202 | | - | |
1203 | | - | |
1204 | | - | |
| 1199 | + | |
| 1200 | + | |
1205 | 1201 | | |
1206 | 1202 | | |
1207 | 1203 | | |
| |||
0 commit comments