Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Create the persistent keyring register for the current user namespace.* Called with the namespace's sem locked for writing.

Proto:static int key_create_persistent_register(struct user_namespace *ns)

Type:int

Parameter:

TypeParameterName
struct user_namespace *ns
22  reg = Allocate a keyring and link into the destination keyring.
28  If IS_ERR(reg) Then Return PTR_ERR(reg)
31  Register of per-UID persistent keyrings for this namespace = reg
32  Return 0
Caller
NameDescribe
key_create_persistentCreate the persistent keyring for the specified user.* Called with the namespace's sem locked for writing.