Function report | 
Source Code:kernel\audit_watch.c | 
Create Date:2022-07-28 11:29:03 | 
| Last Modify:2020-03-17 17:15:07 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Translate a watch string to kernel representation.
Proto:int audit_to_watch(struct audit_krule *krule, char *path, int len, unsigned int op)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct audit_krule * | krule | |
| char * | path | |
| int | len | |
| unsigned int | op | 
| 182 | If Not snotify handle. Then Return -EOPNOTSUPP | 
| 185 | If path[0] != '/' || path[len - 1] == '/' || listnr != Apply rule at syscall exit || op != Audit_equal || quick access to an inode field || associated watch || associated watched tree Then Return -EINVAL | 
| 195 | associated watch = watch | 
| 197 | Return 0 | 
| Name | Describe | 
|---|---|
| audit_data_to_entry | Translate struct audit_rule_data to kernel's rule representation. | 
| 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  |