函数逻辑报告 |
Source Code:security\keys\process_keys.c |
Create Date:2022-07-27 19:56:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Install the given keyring as the session keyring of the given credentials* struct, replacing the existing one if any. If the given keyring is NULL,* then install a new anonymous session keyring.*@cred can not be in use by any task yet.
函数原型:int install_session_keyring_to_cred(struct cred *cred, struct key *keyring)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cred * | cred | |
struct key * | keyring |
322 | might_sleep() |
325 | 如果非keyring则 |
335 | 否则 |
346 | 返回:0 |
名称 | 描述 |
---|---|
install_session_keyring | Install the given keyring as the session keyring of the current task,* replacing the existing one if any. If the given keyring is NULL, then* install a new anonymous session keyring.* Return: 0 on success; -errno on failure. |
join_session_keyring | Join the named keyring as the session keyring if possible else attempt to* create a new one of that name and join that |
umh_keys_init | Initialise a usermode helper that is going to have a specific session* keyring.* This is called in context of freshly forked kthread before kernel_execve(),* so we can simply install the desired session_keyring at this point. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |