函数逻辑报告 |
Source Code:security\keys\keyctl.c |
Create Date:2022-07-27 19:55:03 |
Last Modify:2020-03-18 07:59:52 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Get the destination keyring for instantiation and check that the caller has* Write permission on it.
函数原型:static long get_instantiation_keyring(key_serial_t ringid, struct request_key_auth *rka, struct key **_dest_keyring)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
key_serial_t | ringid | |
struct request_key_auth * | rka | |
struct key ** | _dest_keyring |
1042 | * _dest_keyring = NULL |
1045 | 如果ringid恒等于0则返回:0 |
1049 | 如果ringid大于0则 |
1053 | _dest_keyring等于key_ref_to_ptr(dkref) |
1054 | 返回:0 |
1057 | 如果ringid恒等于- key ID for assumed request_key auth key 则返回:负EINVAL |
1062 | 如果ringid大于等于- key ID for request_key() dest keyring 则 |
1063 | _dest_keyring等于key_get(dest_keyring) |
1064 | 返回:0 |
1067 | 返回:负ENOKEY |
名称 | 描述 |
---|---|
keyctl_instantiate_key_common | Instantiate a key with the specified 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). No other permissions are required. |
keyctl_reject_key | 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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |