diff options
author | Vinicius Costa Gomes <vinicius.gomes@intel.com> | 2024-11-07 03:57:17 +0300 |
---|---|---|
committer | Amir Goldstein <amir73il@gmail.com> | 2024-11-11 12:45:04 +0300 |
commit | 49dffdfde462c7823de6ed882f71ce233aaeba63 (patch) | |
tree | 494b874da2804e7ec81ebd1433c1da5e6246c694 /tools/perf/scripts/python/task-analyzer.py | |
parent | 48b50624aec454ce0fa8f78ef96e2f43bc0be495 (diff) | |
download | linux-49dffdfde462c7823de6ed882f71ce233aaeba63.tar.xz |
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 <brauner@kernel.org>
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions