函数逻辑报告 |
Source Code:kernel\auditsc.c |
Create Date:2022-07-27 12:31:13 |
| Last Modify:2020-03-17 16:31:21 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:handle_path
函数原型:static void handle_path(const struct dentry *dentry)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const struct dentry * | dentry |
| 1773 | context等于audit_context() |
| 1775 | count等于tree_count |
| 1776 | retry : |
| 1777 | drop = NULL |
| 1781 | 循环 |
| 1783 | 如果inode且此条件成立可能性小(为编译器优化)(i_fsnotify_marks)则 |
| 1786 | 如果chunk则 |
| 1787 | 如果此条件成立可能性小(为编译器优化)(!put_tree_ref(context, chunk))则 |
| 1793 | parent等于 parent directory |
| 1798 | 如果此条件成立可能性小(为编译器优化)(read_seqretry( & rename_lock, seq) || drop)则 |
| 1800 | 如果非drop则 |
| 1802 | unroll_tree_refs(context, p, count) |
| 1803 | 转到:retry |
| 1805 | audit_put_chunk(drop) |
| 1806 | 如果grow_tree_refs(context)则 |
| 1808 | unroll_tree_refs(context, p, count) |
| 1809 | 转到:retry |
| 1812 | 打印警告信息("out of memory, audit has lost a tree reference\n") |
| 1813 | unroll_tree_refs(context, p, count) |
| 1815 | 返回 |
| 名称 | 描述 |
|---|---|
| __audit_inode | __audit_inode - store the inode and device from a lookup*@name: name being audited*@dentry: dentry being audited*@flags: attributes for this particular entry |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |