diff options
author | 2024-11-14 09:36:35 +0100 | |
---|---|---|
committer | 2024-11-14 13:15:46 +0100 | |
commit | 711747e204ead127235aa41b350e518e92a87fcc (patch) | |
tree | ce95f3deeb06147510da6a1596bebe5b5a214b14 /scripts/gdb/linux/vmalloc.py | |
parent | ovl: use wrapper ovl_revert_creds() (diff) | |
download | wireguard-linux-711747e204ead127235aa41b350e518e92a87fcc.tar.xz wireguard-linux-711747e204ead127235aa41b350e518e92a87fcc.zip |
ovl: pass an explicit reference of creators creds to callers
ovl_setup_cred_for_create() decrements one refcount of new creds and
ovl_revert_creds() in callers decrements the last refcount.
In preparation to revert_creds_light() back to caller creds, pass an
explicit reference of the creators creds to the callers and drop the
refcount explicitly in the callers after ovl_revert_creds().
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions