函数逻辑报告 |
Source Code:security\keys\keyring.c |
Create Date:2022-07-27 19:53:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Lock keyrings for move (link/unlink combination).
函数原型:int __key_move_lock(struct key *l_keyring, struct key *u_keyring, const struct keyring_index_key *index_key)__acquires(&l_keyring->sem) __acquires(&u_keyring->sem) __acquires(&keyring_serialise_link_lock)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct key * | l_keyring | |
struct key * | u_keyring | |
const struct keyring_index_key * | index_key |
1266 | 如果 type of key 不等于key_type_keyring或 type of key 不等于key_type_keyring则返回:负ENOTDIR |
1275 | lock for writing |
1276 | down_write_nested( & change vs change sem , 1) |
1277 | 否则 |
1278 | lock for writing |
1279 | down_write_nested( & change vs change sem , 1) |
1285 | 如果type恒等于key_type_keyring则mutex_lock( & Semaphore to serialise link/link calls to prevent two link calls in parallel* introducing a cycle.) |
1288 | 返回:0 |
名称 | 描述 |
---|---|
key_move | key_move - Move a key from one keyring to another*@key: The key to move*@from_keyring: The keyring to remove the link from |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |