Function report |
Source Code:kernel\audit_tree.c |
Create Date:2022-07-28 11:30:52 |
| Last Modify:2022-05-22 16:43:11 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:audit_tag_tree
Proto:int audit_tag_tree(char *old, char *new)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| char * | old | |
| char * | new |
| 877 | failed = 0 |
| 885 | tagged = collect_mounts( & path2) |
| 891 | If err Then |
| 893 | Return err |
| 896 | mutex_lock( & audit_filter_mutex) |
| 902 | good_one = 0 |
| 911 | If Not err Then |
| 916 | If Not good_one Then |
| 922 | failed = iterate_mounts(tag_mount, tree, tagged) |
| 923 | If failed Then |
| 929 | mutex_lock( & audit_filter_mutex) |
| 931 | If Not goner Then |
| 935 | spin_unlock( & hash_lock) |
| 948 | If Not failed Then |
| 952 | index; upper bit indicates 'will prune' &= ~(1U << 31) |
| 953 | spin_unlock( & hash_lock) |
| 954 | Else |
| 959 | mutex_lock( & audit_filter_mutex) |
| 966 | Return failed |
| Name | Describe |
|---|---|
| audit_receive_msg |
| 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 |