| 函数逻辑报告 | 
| Source Code: security\keys\compat.c | Create Date:2022-07-27 19:59:22 | 
| Last Modify:2020-03-18 08:03:01 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Instantiate a key with the specified compatibility multipart payload 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)
函数原型:static long compat_keyctl_instantiate_key_iov(key_serial_t id, const struct compat_iovec __user *_payload_iov, unsigned ioc, key_serial_t ringid)
返回类型:long
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| key_serial_t | id | |
| const struct compat_iovec __user * | _payload_iov | |
| unsigned | ioc | |
| key_serial_t | ringid | 
| 29 | iov等于iovstack | 
| 33 | 如果非_payload_iov则ioc等于0 | 
| 36 | ret等于compat_import_iovec(WRITE, _payload_iov, ioc, ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(iovstack), & iov, & from) | 
| 43 | 释放内存 | 
| 44 | 返回: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 插件可实现:逻辑报告 代码生成和批量转换代码 |