函数逻辑报告 |
Source Code:security\keys\keyctl.c |
Create Date:2022-07-27 19:55:24 |
Last Modify:2020-03-18 07:59:52 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Set or clear the timeout on a key.* Either the key must grant the caller Setattr permission or else the caller* must hold an instantiation authorisation token for the key.* The timeout is either 0 to clear the timeout, or a number of seconds from
函数原型:long keyctl_set_timeout(key_serial_t id, unsigned timeout)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
key_serial_t | id | |
unsigned | timeout |
1392 | 如果是错误则 |
1396 | instkey等于Search the current process's keyrings for the authorisation key for* instantiation of a key. |
1397 | 如果非是错误则 |
1408 | 转到:error |
1411 | okay : |
1412 | key等于key_ref_to_ptr(key_ref) |
1413 | ret等于0 |
1414 | 如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则ret等于负EPERM |
1416 | 否则key_set_timeout(key, timeout) |
1420 | error : |
1421 | 返回:ret |
名称 | 描述 |
---|---|
SYSCALL_DEFINE5 | The key control system call |
COMPAT_SYSCALL_DEFINE5 | The key control system call, 32-bit compatibility version for 64-bit archs |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |