函数逻辑报告 | 
Source Code:security\keys\keyctl.c | 
Create Date:2022-07-27 19:55:17 | 
| Last Modify:2020-03-18 07:59:52 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Negatively instantiate the key with the given timeout (in seconds) and error* code and link the key into the destination keyring if one is given.* The caller must have the appropriate instantiation permit set for this to
函数原型:long keyctl_reject_key(key_serial_t id, unsigned timeout, unsigned error, key_serial_t ringid)
返回类型:long
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| key_serial_t | id | |
| unsigned | timeout | |
| unsigned | error | |
| key_serial_t | ringid | 
| 1265 | cred等于current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.() | 
| 1289 | 如果 key serial number 不等于id则转到:error | 
| 1294 | ret等于Get the destination keyring for instantiation and check that the caller has* Write permission on it. | 
| 1309 | error : | 
| 1310 | 返回:ret | 
| 名称 | 描述 | 
|---|---|
| keyctl_negate_key | Negatively instantiate the key with the given timeout (in seconds) and link* the key into the destination keyring if one is given.* The caller must have the appropriate instantiation permit set for this to* work (see keyctl_assume_authority) | 
| SYSCALL_DEFINE5 | The key control system call | 
| COMPAT_SYSCALL_DEFINE5 | The key control system call, 32-bit compatibility version for 64-bit archs | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |