函数逻辑报告 |
Source Code:security\keys\key.c |
Create Date:2022-07-27 19:50:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:key_reject_and_link - Negatively instantiate a key and link it into the keyring.*@key: The key to instantiate.*@timeout: The timeout on the negative key.*@error: The error to return when the key is hit.
函数原型:int key_reject_and_link(struct key *key, unsigned timeout, unsigned error, struct key *keyring, struct key *authkey)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct key * | key | |
unsigned | timeout | |
unsigned | error | |
struct key * | keyring | |
struct key * | authkey |
575 | struct assoc_array_edit * edit = NULL |
576 | link_ret等于0 |
581 | awaken等于0 |
584 | 如果keyring则 |
588 | link_ret等于__key_link_lock(keyring, & index_key) |
589 | 如果link_ret恒等于0则 |
601 | atomic_inc( & nikeys) |
606 | 如果st_and_clear_bit - Clear a bit and return its old value*@nr: Bit to clear*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier).则awaken等于1 |
609 | ret等于0 |
612 | 如果keyring且link_ret恒等于0则__key_link(key, & edit) |
622 | 如果keyring且link_ret恒等于0则Finish linking a key into to a keyring.* Must be called with __key_link_begin() having being called. |
名称 | 描述 |
---|---|
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 |
key_negate_and_link |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |