diff options
| author | Vinicius Costa Gomes <[email protected]> | 2024-11-07 00:57:17 +0000 |
|---|---|---|
| committer | Amir Goldstein <[email protected]> | 2024-11-11 09:45:04 +0000 |
| commit | 49dffdfde462c7823de6ed882f71ce233aaeba63 (patch) | |
| tree | 494b874da2804e7ec81ebd1433c1da5e6246c694 /rust/helpers/security.c | |
| parent | backing-file: clean up the API (diff) | |
| download | kernel-49dffdfde462c7823de6ed882f71ce233aaeba63.tar.gz kernel-49dffdfde462c7823de6ed882f71ce233aaeba63.zip | |
cred: Add a light version of override/revert_creds()
Add a light version of override/revert_creds(), this should only be
used when the credentials in question will outlive the critical
section and the critical section doesn't change the ->usage of the
credentials.
Suggested-by: Christian Brauner <[email protected]>
Signed-off-by: Vinicius Costa Gomes <[email protected]>
Signed-off-by: Amir Goldstein <[email protected]>
Diffstat (limited to 'rust/helpers/security.c')
0 files changed, 0 insertions, 0 deletions
