Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/fork.c copy_process() -> audit_set_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | task | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 0 |
| DATA_SOURCE | 0 | task | r dup_task_struct |
| BIT_INFO | 0 | task->flags | 0x40,0xffffffffffffffff |
| MEM_ZERO | 0 | &task->ioac | |
| MEM_ZERO | 0 | &task->pending.signal | |
| MEM_ZERO | 0 | &task->posix_cputimers | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/auditsc.c __audit_free() -> audit_set_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | task | 4096-ptr_max |
| PARAM_VALUE | 0 | task->audit_context | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 0 |
| CAPPED_DATA | 0 | task | 1 |
| DATA_SOURCE | 0 | task | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | task->signal->group_exit_code | 0,256-65280[c] |
kernel/auditsc.c audit_alloc() -> audit_set_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | task | 4096-ptr_max |
| PARAM_VALUE | 0 | task->audit_context | 0 |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->context | 0 |
| PARAM_VALUE | 1 | ctx->prio | 0,u64max |
| PARAM_VALUE | 1 | ctx->return_valid | 0 |
| BUF_SIZE | 1 | ctx | 1200 |
| CAPPED_DATA | 0 | task->mempolicy | 1 |
| DATA_SOURCE | 0 | task | $0 |
| DATA_SOURCE | 1 | ctx | r audit_alloc_context |
| BIT_INFO | 0 | task->flags | 0x40,0xffffffffffffffff |
| MEM_ZERO | 0 | task->perf_recursion | |
| MEM_ZERO | 0 | &task->dl.dl_timer | |
| MEM_ZERO | 0 | &task->dl.inactive_timer | |
| MEM_ZERO | 0 | &task->ioac | |
| MEM_ZERO | 0 | &task->irqtrace | |
| MEM_ZERO | 0 | &task->pending.signal | |
| MEM_ZERO | 0 | &task->posix_cputimers | |
| MEM_ZERO | 0 | &task->sched_info | |
| MEM_ZERO | 0 | &task->se.avg | |
| MEM_ZERO | 0 | &task->stats | |
| MEM_ZERO | 0 | &task->unwind_info | |
| MEM_ZERO | 0 | &task->unwind_info.unwind_mask | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |