Function report |
Source Code:kernel\auditsc.c |
Create Date:2022-07-28 11:27:45 |
| Last Modify:2020-03-17 16:31:21 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__audit_free - free a per-task audit context*@tsk: task whose audit context block to free* Called from copy_process and do_exit
Proto:void __audit_free(struct task_struct *tsk)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tsk |
| 1584 | context = audit_context |
| 1586 | If Not context Then Return |
| 1589 | If Not list_empty - tests whether a list is empty*@head: the list to test. Then audit_kill_trees(context) |
| 1597 | If tsk == current process && Not must be the first element && 1 if task is in a syscall Then |
| 1598 | urn code is valid = 0 |
| 1599 | syscall return code = 0 |
| 1604 | If current_state == AUDIT_RECORD_CONTEXT Then audit_log_exit() |
| 1608 | audit_set_context(tsk, NULL) |
| 1609 | audit_free_context(context) |
| 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 |