函数逻辑报告 |
Source Code:security\lockdown\lockdown.c |
Create Date:2022-07-27 21:51:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lockdown_is_locked_down - Find out if the kernel is locked down*@what: Tag to use in notice generated if lockdown is in effect
函数原型:static int lockdown_is_locked_down(enum lockdown_reason what)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
enum lockdown_reason | what |
87 | 如果WARN(what >= LOCKDOWN_CONFIDENTIALITY_MAX, "Invalid lockdown reason")则返回:负EPERM |
91 | 如果kernel_locked_down大于等于what则 |
92 | 如果lockdown_reasons[what]则打印注释信息("Lockdown: %s: %s is restricted; see man kernel_lockdown.7\n", comm, lockdown_reasons[what]) |
95 | 返回:负EPERM |
98 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |