函数逻辑报告 |
Source Code:security\keys\persistent.c |
Create Date:2022-07-27 20:00:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Get the persistent keyring for a specific UID and link it to the nominated* keyring.
函数原型:long keyctl_get_persistent(uid_t _uid, key_serial_t destid)
返回类型:long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| uid_t | _uid | |
| key_serial_t | destid |
| 131 | ns等于current_user_ns() |
| 138 | uid等于current_uid() |
| 139 | 否则 |
| 147 | 如果非uid_eq(uid, current_uid())且非uid_eq(uid, current_euid())且非ns_capable(ns, Allows forged pids on socket credentials passing. )则返回:负EPERM |
| 157 | 如果 type of key 不等于key_type_keyring则 |
| 159 | 转到:out_put_dest |
| 164 | out_put_dest : |
| 165 | key_ref_put(dest_ref) |
| 166 | 返回:ret |
| 名称 | 描述 |
|---|---|
| COMPAT_SYSCALL_DEFINE5 | The key control system call, 32-bit compatibility version for 64-bit archs |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |