函数逻辑报告 |
Source Code:kernel\audit.c |
Create Date:2022-07-27 12:26:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:audit_log_path_denied - report a path restriction denial*@type: audit message type (AUDIT_ANOM_LINK, AUDIT_ANOM_CREAT, etc)*@operation: specific operation name
函数原型:void audit_log_path_denied(int type, const char *operation)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
int | type | |
const char * | operation |
2168 | 如果非audit_enabled或audit_dummy_context()则返回 |
2173 | 如果非ab则返回 |
2175 | 写入审计信息 |
2176 | audit_log_task_info(ab) |
2177 | 写入审计信息 |
2178 | 发送审计信息,并释放缓冲区 |
名称 | 描述 |
---|---|
may_linkat | may_linkat - Check permissions for creating a hardlink*@link: the source to hardlink from* Block hardlink when all of:* - sysctl_protected_hardlinks enabled* - fsuid does not match inode* - hardlink source is unsafe (see safe_hardlink_source() above)* - |
may_create_in_sticky | may_create_in_sticky - Check whether an O_CREAT open in a sticky directory* should be allowed, or not, on files that already* exist |
may_follow_link | may_follow_link - Check symlink following for unsafe situations*@nd: nameidata pathwalk data* In the case of the sysctl_protected_symlinks sysctl being enabled,* CAP_DAC_OVERRIDE needs to be specifically ignored if the symlink is |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |