函数逻辑报告 |
Source Code:kernel\audit_fsnotify.c |
Create Date:2022-07-27 12:33:09 |
| Last Modify:2020-03-17 18:09:23 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:audit_alloc_mark
函数原型:struct audit_fsnotify_mark *audit_alloc_mark(struct audit_krule *krule, char *pathname, int len)
返回类型:struct audit_fsnotify_mark
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct audit_krule * | krule | |
| char * | pathname | |
| int | len |
| 85 | dentry等于kern_path_locked(pathname, & path) |
| 89 | inode_unlock(inode) |
| 91 | audit_mark等于分配内存并置零 |
| 92 | 如果此条件成立可能性小(为编译器优化)(!audit_mark)则 |
| 93 | audit_mark等于错误号 |
| 94 | 转到:out |
| 99 | sertion path 等于pathname |
| 103 | ret等于fsnotify_add_inode_mark( & snotify mark on the inode , inode, true) |
| 104 | 如果ret小于0则 |
| 106 | audit_mark等于错误号 |
| 108 | out : |
| 111 | 返回:audit_mark |
| 名称 | 描述 |
|---|---|
| audit_data_to_entry | Translate struct audit_rule_data to kernel's rule representation. |
| audit_dupe_exe |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |