函数逻辑报告 |
Source Code:security\keys\keyring.c |
Create Date:2022-07-27 19:53:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:keyring_clear - Clear a keyring*@keyring: The keyring to clear.* Clear the contents of the specified keyring.* Returns 0 if successful or -ENOTDIR if the keyring isn't a keyring.
函数原型:int keyring_clear(struct key *keyring)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct key * | keyring |
| 1651 | 如果 type of key 不等于key_type_keyring则返回:负ENOTDIR |
| 1654 | lock for writing |
| 1657 | 如果是错误则 |
| 1659 | 否则 |
| 1663 | ret等于0 |
| 1666 | lease a write lock |
| 1667 | 返回:ret |
| 名称 | 描述 |
|---|---|
| keyctl_keyring_clear | Clear the specified keyring, creating an empty process keyring if one of the* special keyring IDs is used.* The keyring must grant the caller Write permission and not have* KEY_FLAG_KEEP set for this to work. If successful, 0 will be returned. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |