| 函数逻辑报告 | 
| Source Code: security\keys\keyctl.c | Create Date:2022-07-27 19:54:25 | 
| Last Modify:2020-03-18 07:59:52 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Create a link from a keyring to a key if there's no matching key in the* keyring, otherwise replace the link to the matching key with a link to the* new key.* The key must grant the caller Link permission and the the keyring must grant
函数原型:long keyctl_keyring_link(key_serial_t id, key_serial_t ringid)
返回类型:long
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| key_serial_t | id | |
| key_serial_t | ringid | 
| 521 | 如果是错误则 | 
| 527 | 如果是错误则 | 
| 534 | key_ref_put(key_ref) | 
| 535 | error2 : | 
| 536 | key_ref_put(keyring_ref) | 
| 537 | error : | 
| 538 | 返回:ret | 
| 名称 | 描述 | 
|---|---|
| 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 插件可实现:逻辑报告 代码生成和批量转换代码 |