函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\keyring.c Create Date:2022-07-27 19:51:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Clean up the bits of user_namespace that belong to us.

函数原型:void key_free_user_ns(struct user_namespace *ns)

返回类型:void

参数:

类型参数名称
struct user_namespace *ns
59  write_lock( & keyring_name_lock)
60  删除链表项并重新初始化
61  write_unlock( & keyring_name_lock)
63  key_put - Discard a reference to a key.*@key: The key to discard a reference from.* Discard a reference to a key, and when all the references are gone, we* schedule the cleanup task to come and pull it out of the tree in process
65  key_put - Discard a reference to a key.*@key: The key to discard a reference from.* Discard a reference to a key, and when all the references are gone, we* schedule the cleanup task to come and pull it out of the tree in process
调用者
名称描述
free_user_ns