| Function report | 
| Source Code: kernel\audit_watch.c | Create Date:2022-07-28 11:29:01 | 
| Last Modify:2020-03-17 17:15:07 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Initialize a watch entry.
Proto:static struct audit_watch *audit_init_watch(char *path)
Type:struct audit_watch
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| char * | path | 
| 164 | watch = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). | 
| 165 | If Value for the false possibility is greater at compile time(!watch) Then Return ERR_PTR( - ENOMEM) | 
| 170 | sertion path = path | 
| 174 | Return watch | 
| Name | Describe | 
|---|---|
| audit_to_watch | Translate a watch string to kernel representation. | 
| audit_dupe_watch | Duplicate the given audit watch. The new watch's rules list is initialized* to an empty list and wlist is undefined. | 
| 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 |