Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
security/apparmor/secid.c apparmor_label_to_secctx() -> aa_label_snxprint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 0 |
| PARAM_VALUE | 1 | size | 0 |
| PARAM_VALUE | 3 | label | 1-1025,1027-1029,1031-u64max |
| PARAM_VALUE | 4 | flags | 14-15 |
| DATA_SOURCE | 3 | label | $0 |
| FUZZY_MAX | 4 | flags | 14 |
| BIT_INFO | 4 | flags | 0xe,0xf |
security/apparmor/label.c aa_label_acntsxprint() -> aa_label_snxprint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 0 |
| PARAM_VALUE | 1 | size | 0 |
| PARAM_VALUE | 3 | label | 4096-ptr_max |
| PARAM_VALUE | 3 | label->hname | 0 |
| PARAM_VALUE | 3 | label->vec | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0 |
| CAPPED_DATA | 2 | ns | 1 |
| DATA_SOURCE | 2 | ns | $1 |
| DATA_SOURCE | 3 | label | $2 |
| DATA_SOURCE | 4 | flags | $3 |
| UNITS | 2 | ns | unit_array_size |
security/apparmor/label.c aa_label_acntsxprint() -> aa_label_snxprint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 1-u64max |
| PARAM_VALUE | 1 | size | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | label | 4096-ptr_max |
| PARAM_VALUE | 3 | label->hname | 0 |
| PARAM_VALUE | 3 | label->vec | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0 |
| CAPPED_DATA | 2 | ns | 1 |
| DATA_SOURCE | 0 | str | r aa_str_alloc |
| DATA_SOURCE | 2 | ns | $1 |
| DATA_SOURCE | 3 | label | $2 |
| DATA_SOURCE | 4 | flags | $3 |
| UNITS | 2 | ns | unit_array_size |
security/apparmor/label.c aa_label_asxprint() -> aa_label_snxprint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 0 |
| PARAM_VALUE | 1 | size | 0 |
| PARAM_VALUE | 3 | label | 1-u64max |
| PARAM_VALUE | 4 | flags | 0,2-3,7,14-15 |
| BUF_SIZE | 2 | ns | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | ns | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | label | (-1),104 |
| BUF_SIZE | 3 | label | (-1),104 |
| DATA_SOURCE | 2 | ns | $1 |
| DATA_SOURCE | 3 | label | $2 |
| DATA_SOURCE | 4 | flags | $3 |
| FUZZY_MAX | 4 | flags | 14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | ns | unit_array_size |
| HALF_LOCKED2 | &f->lock |
security/apparmor/label.c aa_label_asxprint() -> aa_label_snxprint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 16,4096-ptr_max |
| PARAM_VALUE | 1 | size | 1-4000000 |
| PARAM_VALUE | 3 | label | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0,2-3,7,14-15 |
| BUF_SIZE | 0 | str | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 2 | ns | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | ns | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | label | (-1),104 |
| BUF_SIZE | 3 | label | (-1),104 |
| DATA_SOURCE | 0 | str | r _kmalloc_noprof |
| DATA_SOURCE | 2 | ns | $1 |
| DATA_SOURCE | 3 | label | $2 |
| DATA_SOURCE | 4 | flags | $3 |
| FUZZY_MAX | 4 | flags | 14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | ns | unit_array_size |
| ELEM_COUNT | 0 | ==str1 | 8051 |
| HALF_LOCKED2 | &f->lock |
security/apparmor/procattr.c aa_getprocattr() -> aa_label_snxprint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 0 |
| PARAM_VALUE | 1 | size | 0 |
| PARAM_VALUE | 3 | label | 4096-ptr_max |
| PARAM_VALUE | 3 | label->vec | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 7 |
| CAPPED_DATA | 2 | ns | 1 |
| DATA_SOURCE | 2 | ns | r aa_get_current_ns |
| DATA_SOURCE | 3 | label | $0 |
security/apparmor/procattr.c aa_getprocattr() -> aa_label_snxprint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 16,4096-ptr_max |
| PARAM_VALUE | 1 | size | 0-4000000 |
| PARAM_VALUE | 3 | label | 4096-ptr_max |
| PARAM_VALUE | 3 | label->vec | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 7 |
| BUF_SIZE | 0 | str | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 2 | ns | 1 |
| DATA_SOURCE | 0 | str | r _kmalloc_noprof |
| DATA_SOURCE | 2 | ns | r aa_get_current_ns |
| DATA_SOURCE | 3 | label | $0 |
| UNITS | 2 | ns | unit_array_size |
| BYTE_COUNT | 0 | ==str1 | 8050 |