Commit 06765b6
committed
trace: 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-12-b447b82f2c9b@kernel.org
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>1 parent 2ed6a34 commit 06765b6
1 file changed
Lines changed: 5 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1449 | 1449 | | |
1450 | 1450 | | |
1451 | 1451 | | |
1452 | | - | |
1453 | | - | |
1454 | | - | |
1455 | 1452 | | |
1456 | 1453 | | |
1457 | 1454 | | |
| |||
1467 | 1464 | | |
1468 | 1465 | | |
1469 | 1466 | | |
1470 | | - | |
1471 | | - | |
1472 | | - | |
1473 | | - | |
1474 | | - | |
1475 | | - | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
1476 | 1470 | | |
1477 | | - | |
1478 | | - | |
1479 | | - | |
| 1471 | + | |
| 1472 | + | |
1480 | 1473 | | |
1481 | 1474 | | |
1482 | 1475 | | |
| |||
0 commit comments