函数逻辑报告 |
Source Code:security\keys\internal.h |
Create Date:2022-07-27 19:49:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Check to see whether permission is granted to use a key in the desired way.
函数原型:static inline int key_permission(const key_ref_t key_ref, unsigned perm)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const key_ref_t | key_ref | |
| unsigned | perm |
| 名称 | 描述 |
|---|---|
| __key_update | Attempt to update an existing key.* The key is given to us with an incremented refcount that we need to discard* if we get an error. |
| key_create_or_update | key_create_or_update - Update or create and instantiate a key.*@keyring_ref: A pointer to the destination keyring with possession flag.*@type: The type of key.*@description: The searchable description for the key. |
| key_update | key_update - Update a key's contents.*@key_ref: The pointer (plus possession flag) to the key.*@payload: The data to be used to update the key.*@plen: The length of @payload.* Attempt to update the contents of a key with the given payload data. The |
| find_keyring_by_name | Find a keyring with the specified name |
| keyctl_keyring_search | Search the specified keyring and any keyrings it links to for a matching* key |
| keyctl_read_key | Read a key's payload |
| construct_get_dest_keyring | Get the appropriate destination keyring for the request.* The keyring selected is returned with an extra reference upon it which the* caller must release. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |