函数逻辑报告 |
Source Code:security\keys\keyring.c |
Create Date:2022-07-27 19:53:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:key_move - Move a key from one keyring to another*@key: The key to move*@from_keyring: The keyring to remove the link from
函数原型:int key_move(struct key *key, struct key *from_keyring, struct key *to_keyring, unsigned int flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct key * | key | |
struct key * | from_keyring | |
struct key * | to_keyring | |
unsigned int | flags |
1594 | struct assoc_array_edit * from_edit = NULL, * to_edit = NULL |
1597 | kenter("%d,%d,%d", key serial number , key serial number , key serial number ) |
1599 | 如果from_keyring恒等于to_keyring则返回:0 |
1603 | key_check(from_keyring) |
1604 | key_check(to_keyring) |
1617 | 如果dead_leaf且flags按位与Do not displace from the to-keyring 则转到:error |
1629 | error : |
1630 | Finish linking a key into to a keyring.* Must be called with __key_link_begin() having being called. |
1632 | out : |
1634 | 返回:ret |
名称 | 描述 |
---|---|
keyctl_keyring_move | Move a link to a key from one keyring to another, displacing any matching* key from the destination keyring.* The key must grant the caller Link permission and both keyrings must grant* the caller Write permission |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |