Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Lock a keyring for unlink.

Proto:static int __key_unlink_lock(struct key *keyring)__acquires(&keyring->sem)

Type:int

Parameter:

TypeParameterName
struct key *keyring
1474  If type of key != key_type_keyring Then Return -ENOTDIR
1477  lock for writing
1478  Return 0
Caller
NameDescribe
key_unlinkkey_unlink - Unlink the first link to a key from a keyring