函数逻辑报告 |
Source Code:security\keys\permission.c |
Create Date:2022-07-27 19:56:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:key_validate - Validate a key.*@key: The key to be validated.* Check that a key is valid, returning 0 if the key is okay, -ENOKEY if the* key is invalidated, -EKEYREVOKED if the key's type has been removed or if
函数原型:int key_validate(const struct key *key)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct key * | key |
90 | 如果flags按位与1左移set if key has been invalidated 位则返回:负ENOKEY |
94 | 如果flags按位与1左移set if key had been revoked 位按位或1左移set if key type has been deleted 位的值则返回:负EKEYREVOKED |
99 | 如果expiry则 |
104 | 返回:0 |
名称 | 描述 |
---|---|
search_process_keyrings_rcu | Search the process keyrings attached to the supplied cred for the first* matching key in the manner of search_my_process_keyrings(), but also search* the keys attached to the assumed authorisation key using its credentials if* one is available. |
lookup_user_key | Look up a key ID given us by userspace with a given permissions mask to get* the key it refers to.* Flags can be passed to request that special keyrings be created if referred* to directly, to permit partially constructed keys to be found and to skip |
call_sbin_request_key | Request userspace finish the construction of a key* - execute "/sbin/request-key |
wait_for_key_construction | wait_for_key_construction - Wait for construction of a key to complete*@key: The key being waited for |
dh_data_from_key |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |