Function report |
Source Code:kernel\auditsc.c |
Create Date:2022-07-28 11:27:08 |
| Last Modify:2020-03-17 16:31:21 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:audit_alloc_context
Proto:static inline struct audit_context *audit_alloc_context(enum audit_state state)
Type:struct audit_context
Parameter:
| Type | Parameter | Name |
|---|---|---|
| enum audit_state | state |
| 896 | context = 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). |
| 897 | If Not context Then Return NULL |
| 900 | prio = If state == AUDIT_RECORD_CONTEXT Then ~0ULL Else 0 |
| 903 | Return context |
| Name | Describe |
|---|---|
| audit_alloc | audit_alloc - allocate an audit context block for a task*@tsk: task* Filter on the task information and allocate a per-task audit context* if necessary. Doing so turns on system call auditing for the* specified task |
| 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 |