Function report |
Source Code:kernel\audit_tree.c |
Create Date:2022-07-28 11:30:45 |
Last Modify:2022-05-22 16:43:11 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alled with audit_filter_mutex
Proto:int audit_add_tree_rule(struct audit_krule *rule)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct audit_krule * | rule |
806 | seed = associated watched tree |
811 | associated watched tree = NULL |
815 | associated watched tree = tree |
817 | Return 0 |
827 | err = audit_launch_prune() |
835 | mnt = collect_mounts( & path) |
843 | err = iterate_mounts(tag_mount, tree, mnt) |
844 | drop_collected_mounts(mnt) |
846 | If Not err Then |
850 | index; upper bit indicates 'will prune' &= ~(1U << 31) |
851 | spin_unlock( & hash_lock) |
852 | Else |
854 | Go to Err |
857 | mutex_lock( & audit_filter_mutex) |
862 | associated watched tree = tree |
865 | Return 0 |
866 | Err : |
867 | mutex_lock( & audit_filter_mutex) |
871 | Return err |
Name | Describe |
---|---|
audit_add_rule | Add rule to given filterlist if not a duplicate. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |