Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- security/apparmor/audit.c, line 132
- security/apparmor/file.c, line 71
- security/apparmor/ipc.c, line 74
- security/apparmor/lsm.c, line 620
- security/apparmor/net.c, line 162
- security/apparmor/resource.c, line 39
- security/apparmor/task.c, line 248
Smatch caller information:
security/apparmor/ipc.c audit_signal_cb() -> aa_label_xaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ab | 4096-ptr_max |
| PARAM_VALUE | 0 | ab->ctx->current_state | 2 |
| PARAM_VALUE | 0 | ab->gfp_mask | 10272 |
| PARAM_VALUE | 0 | ab->skb->cloned | 0-1 |
| PARAM_VALUE | 0 | ab->skb->csum_start | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->data_len | 0 |
| PARAM_VALUE | 0 | ab->skb->end | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->hdr_len | 0 |
| PARAM_VALUE | 0 | ab->skb->head_frag | 0 |
| PARAM_VALUE | 0 | ab->skb->inner_mac_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->inner_network_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->inner_transport_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->len | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->mac_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->network_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->nohdr | 0 |
| PARAM_VALUE | 0 | ab->skb->pfmemalloc | 0-1 |
| PARAM_VALUE | 0 | ab->skb->pp_recycle | 0 |
| PARAM_VALUE | 0 | ab->skb->tail | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->transport_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->truesize | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->unreadable | 0-1 |
| PARAM_VALUE | 0 | ab->skb_list.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *ab->skb->head | 0-255 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | gfp | 2080 |
| DATA_SOURCE | 0 | ab | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
security/apparmor/file.c file_audit_cb() -> aa_label_xaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ab | 4096-ptr_max |
| PARAM_VALUE | 0 | ab->ctx->current_state | 2 |
| PARAM_VALUE | 0 | ab->gfp_mask | 10272 |
| PARAM_VALUE | 0 | ab->skb->cloned | 0-1 |
| PARAM_VALUE | 0 | ab->skb->csum_start | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->data_len | 0 |
| PARAM_VALUE | 0 | ab->skb->end | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->hdr_len | 0 |
| PARAM_VALUE | 0 | ab->skb->head_frag | 0 |
| PARAM_VALUE | 0 | ab->skb->inner_mac_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->inner_network_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->inner_transport_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->len | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->mac_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->network_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->nohdr | 0 |
| PARAM_VALUE | 0 | ab->skb->pfmemalloc | 0-1 |
| PARAM_VALUE | 0 | ab->skb->pp_recycle | 0 |
| PARAM_VALUE | 0 | ab->skb->tail | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->transport_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->truesize | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->unreadable | 0-1 |
| PARAM_VALUE | 0 | ab->skb_list.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *ab->skb->head | 0-255 |
| PARAM_VALUE | 2 | label | 1-u64max |
| PARAM_VALUE | 3 | flags | 2 |
| PARAM_VALUE | 4 | gfp | 3264 |
| DATA_SOURCE | 0 | ab | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
security/apparmor/net.c audit_net_cb() -> aa_label_xaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ab | 4096-ptr_max |
| PARAM_VALUE | 0 | ab->ctx->current_state | 2 |
| PARAM_VALUE | 0 | ab->gfp_mask | 10272 |
| PARAM_VALUE | 0 | ab->skb->cloned | 0-1 |
| PARAM_VALUE | 0 | ab->skb->csum_start | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->data_len | 0 |
| PARAM_VALUE | 0 | ab->skb->end | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->hdr_len | 0 |
| PARAM_VALUE | 0 | ab->skb->head_frag | 0 |
| PARAM_VALUE | 0 | ab->skb->inner_mac_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->inner_network_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->inner_transport_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->len | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->mac_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->network_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->nohdr | 0 |
| PARAM_VALUE | 0 | ab->skb->pfmemalloc | 0-1 |
| PARAM_VALUE | 0 | ab->skb->pp_recycle | 0 |
| PARAM_VALUE | 0 | ab->skb->tail | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->transport_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->truesize | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->unreadable | 0-1 |
| PARAM_VALUE | 0 | ab->skb_list.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *ab->skb->head | 0-255 |
| PARAM_VALUE | 2 | label | 1-u64max |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | gfp | 2080 |
| DATA_SOURCE | 0 | ab | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
security/apparmor/task.c audit_ptrace_cb() -> aa_label_xaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ab | 4096-ptr_max |
| PARAM_VALUE | 0 | ab->ctx->current_state | 2 |
| PARAM_VALUE | 0 | ab->gfp_mask | 10272 |
| PARAM_VALUE | 0 | ab->skb->cloned | 0-1 |
| PARAM_VALUE | 0 | ab->skb->csum_start | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->data_len | 0 |
| PARAM_VALUE | 0 | ab->skb->end | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->hdr_len | 0 |
| PARAM_VALUE | 0 | ab->skb->head_frag | 0 |
| PARAM_VALUE | 0 | ab->skb->inner_mac_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->inner_network_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->inner_transport_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->len | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->mac_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->network_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->nohdr | 0 |
| PARAM_VALUE | 0 | ab->skb->pfmemalloc | 0-1 |
| PARAM_VALUE | 0 | ab->skb->pp_recycle | 0 |
| PARAM_VALUE | 0 | ab->skb->tail | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->transport_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->truesize | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->unreadable | 0-1 |
| PARAM_VALUE | 0 | ab->skb_list.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *ab->skb->head | 0-255 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | gfp | 2080 |
| DATA_SOURCE | 0 | ab | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
security/apparmor/audit.c audit_pre() -> aa_label_xaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ab | 4096-ptr_max |
| PARAM_VALUE | 0 | ab->ctx->current_state | 2 |
| PARAM_VALUE | 0 | ab->gfp_mask | 10272 |
| PARAM_VALUE | 0 | ab->skb->cloned | 0-1 |
| PARAM_VALUE | 0 | ab->skb->csum_start | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->data_len | 0 |
| PARAM_VALUE | 0 | ab->skb->end | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->hdr_len | 0 |
| PARAM_VALUE | 0 | ab->skb->head_frag | 0 |
| PARAM_VALUE | 0 | ab->skb->inner_mac_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->inner_network_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->inner_transport_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->len | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->mac_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->network_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->nohdr | 0 |
| PARAM_VALUE | 0 | ab->skb->pfmemalloc | 0-1 |
| PARAM_VALUE | 0 | ab->skb->pp_recycle | 0 |
| PARAM_VALUE | 0 | ab->skb->tail | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->transport_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->truesize | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->unreadable | 0-1 |
| PARAM_VALUE | 0 | ab->skb_list.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *ab->skb->head | 0-255 |
| PARAM_VALUE | 2 | label | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 2 |
| PARAM_VALUE | 4 | gfp | 2080 |
| DATA_SOURCE | 0 | ab | $0 |
| BIT_INFO | 2 | label->flags | 0x0,0xfffffffffffffdff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
security/apparmor/resource.c audit_cb() -> aa_label_xaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ab | 4096-ptr_max |
| PARAM_VALUE | 0 | ab->ctx->current_state | 2 |
| PARAM_VALUE | 0 | ab->gfp_mask | 10272 |
| PARAM_VALUE | 0 | ab->skb->cloned | 0-1 |
| PARAM_VALUE | 0 | ab->skb->csum_start | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->data_len | 0 |
| PARAM_VALUE | 0 | ab->skb->end | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->hdr_len | 0 |
| PARAM_VALUE | 0 | ab->skb->head_frag | 0 |
| PARAM_VALUE | 0 | ab->skb->inner_mac_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->inner_network_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->inner_transport_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->len | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->mac_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->network_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->nohdr | 0 |
| PARAM_VALUE | 0 | ab->skb->pfmemalloc | 0-1 |
| PARAM_VALUE | 0 | ab->skb->pp_recycle | 0 |
| PARAM_VALUE | 0 | ab->skb->tail | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->transport_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->truesize | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->unreadable | 0-1 |
| PARAM_VALUE | 0 | ab->skb_list.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *ab->skb->head | 0-255 |
| PARAM_VALUE | 2 | label | 1-u64max |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | gfp | 2080 |
| DATA_SOURCE | 0 | ab | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
security/apparmor/lsm.c audit_uring_cb() -> aa_label_xaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ab | 4096-ptr_max |
| PARAM_VALUE | 0 | ab->ctx->current_state | 2 |
| PARAM_VALUE | 0 | ab->gfp_mask | 10272 |
| PARAM_VALUE | 0 | ab->skb->cloned | 0-1 |
| PARAM_VALUE | 0 | ab->skb->csum_start | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->data_len | 0 |
| PARAM_VALUE | 0 | ab->skb->end | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->hdr_len | 0 |
| PARAM_VALUE | 0 | ab->skb->head_frag | 0 |
| PARAM_VALUE | 0 | ab->skb->inner_mac_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->inner_network_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->inner_transport_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->len | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->mac_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->network_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->nohdr | 0 |
| PARAM_VALUE | 0 | ab->skb->pfmemalloc | 0-1 |
| PARAM_VALUE | 0 | ab->skb->pp_recycle | 0 |
| PARAM_VALUE | 0 | ab->skb->tail | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->transport_header | 0-u16max |
| PARAM_VALUE | 0 | ab->skb->truesize | 0-4294967295 |
| PARAM_VALUE | 0 | ab->skb->unreadable | 0-1 |
| PARAM_VALUE | 0 | ab->skb_list.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *ab->skb->head | 0-255 |
| PARAM_VALUE | 2 | label | 1-u64max |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | gfp | 2080 |
| DATA_SOURCE | 0 | ab | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |