函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Create the persistent keyring register for the current user namespace.* Called with the namespace's sem locked for writing.

函数原型:static int key_create_persistent_register(struct user_namespace *ns)

返回类型:int

参数:

类型参数名称
struct user_namespace *ns
22  reg等于Allocate a keyring and link into the destination keyring.
28  如果是错误则返回:错误
31  Register of per-UID persistent keyrings for this namespace 等于reg
32  返回:0
调用者
名称描述
key_create_persistentCreate the persistent keyring for the specified user.* Called with the namespace's sem locked for writing.