Function report |
Source Code:kernel\auditsc.c |
Create Date:2022-07-28 11:27:10 |
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 - 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
Proto:int audit_alloc(struct task_struct *tsk)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | tsk |
919 | char * key = NULL |
921 | If Value is more likely to compile time(!audit_ever_enabled) Then Return 0 |
927 | Return 0 |
930 | If Not (context = audit_alloc_context(state)) Then |
933 | Return -ENOMEM |
937 | audit_set_context(tsk, context) |
938 | Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available: |
939 | Return 0 |
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 |