Commit b66c7af
committed
cgroup: use credential guards in cgroup_attach_permissions()
Use credential guards for scoped credential override with automatic
restoration on scope exit.
Link: https://patch.msgid.link/20251103-work-creds-guards-simple-v1-15-a3e156839e7f@kernel.org
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>1 parent 5db84ab commit b66c7af
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5363 | 5363 | | |
5364 | 5364 | | |
5365 | 5365 | | |
5366 | | - | |
5367 | 5366 | | |
5368 | 5367 | | |
5369 | 5368 | | |
| |||
5386 | 5385 | | |
5387 | 5386 | | |
5388 | 5387 | | |
5389 | | - | |
5390 | | - | |
5391 | | - | |
5392 | | - | |
5393 | | - | |
| 5388 | + | |
| 5389 | + | |
| 5390 | + | |
| 5391 | + | |
5394 | 5392 | | |
5395 | 5393 | | |
5396 | 5394 | | |
| |||
0 commit comments