函数逻辑报告 |
Source Code:kernel\audit_watch.c |
Create Date:2022-07-27 12:32:38 |
Last Modify:2020-03-17 17:15:07 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Find a matching watch entry, or add this one.* Caller must hold audit_filter_mutex.
函数原型:int audit_add_watch(struct audit_krule *krule, struct list_head **list)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct audit_krule * | krule | |
struct list_head ** | list |
403 | watch等于 associated watch |
406 | ret等于0 |
413 | audit_get_watch(watch) |
421 | mutex_lock( & audit_filter_mutex) |
423 | 如果ret则 |
424 | audit_put_watch(watch) |
425 | 返回:ret |
429 | parent等于Find and return the audit_parent on the given inode. If found a reference* is taken on this parent. |
430 | 如果非parent则 |
440 | h等于audit_hash_ino((u32)associated inode number ) |
441 | list等于Hash for inode-based rules [h] |
442 | error : |
443 | path_put( & parent_path) |
444 | audit_put_watch(watch) |
445 | 返回:ret |
名称 | 描述 |
---|---|
audit_add_rule | Add rule to given filterlist if not a duplicate. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |