Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\keyring.c Create Date:2022-07-28 18:16:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Clean up the bits of user_namespace that belong to us.

Proto:void key_free_user_ns(struct user_namespace *ns)

Type:void

Parameter:

TypeParameterName
struct user_namespace *ns
59  write_lock( & keyring_name_lock)
60  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
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