Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/selinux/ss/services.c compute_sid_handle_invalid_context() -> sidtab_entry_to_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | sidtab | 4096-ptr_max |
| PARAM_VALUE | 2 | entry | 4096-ptr_max |
| PARAM_VALUE | 3 | scontext | 9186979241455734784 |
| PARAM_VALUE | 3 | *scontext | 0 |
| PARAM_VALUE | 3 | *(*scontext) | 0 |
| PARAM_VALUE | 4 | scontext_len | 6970932395525406720 |
| BUF_SIZE | 0 | p | 608 |
| BUF_SIZE | 2 | entry | (-1),104 |
| BUF_SIZE | 2 | entry | (-1),104 |
| DATA_SOURCE | 2 | entry | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
security/selinux/ss/services.c compute_sid_handle_invalid_context() -> sidtab_entry_to_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | sidtab | 4096-ptr_max |
| PARAM_VALUE | 1 | sidtab->cache_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | entry | 4096-ptr_max |
| PARAM_VALUE | 3 | scontext | 7255437259400916992 |
| PARAM_VALUE | 3 | *scontext | 0 |
| PARAM_VALUE | 3 | *(*scontext) | 0 |
| PARAM_VALUE | 4 | scontext_len | 9056709144719437824 |
| BUF_SIZE | 0 | p | 608 |
| BUF_SIZE | 2 | entry | (-1),104 |
| BUF_SIZE | 2 | entry | (-1),104 |
| DATA_SOURCE | 2 | entry | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_bounded_transition() -> sidtab_entry_to_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->type_val_to_struct | 4096-ptr_max |
| PARAM_VALUE | 1 | sidtab | 4096-ptr_max |
| PARAM_VALUE | 2 | entry | 4096-ptr_max |
| PARAM_VALUE | 3 | scontext | 803431622821888000 |
| PARAM_VALUE | 3 | *scontext | 0 |
| PARAM_VALUE | 3 | *(*scontext) | 0 |
| PARAM_VALUE | 4 | scontext_len | 7767165882892795904 |
| BUF_SIZE | 0 | p | 608 |
| BUF_SIZE | 2 | entry | (-1),104 |
| BUF_SIZE | 2 | entry | (-1),104 |
| DATA_SOURCE | 2 | entry | r sidtab_search_entry |
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_bounded_transition() -> sidtab_entry_to_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->type_val_to_struct | 4096-ptr_max |
| PARAM_VALUE | 1 | sidtab | 4096-ptr_max |
| PARAM_VALUE | 2 | entry | 4096-ptr_max |
| PARAM_VALUE | 3 | scontext | 3519791041042255872 |
| PARAM_VALUE | 3 | *scontext | 0 |
| PARAM_VALUE | 3 | *(*scontext) | 0 |
| PARAM_VALUE | 4 | scontext_len | 7767165882892795904 |
| BUF_SIZE | 0 | p | 608 |
| BUF_SIZE | 2 | entry | (-1),104 |
| BUF_SIZE | 2 | entry | (-1),104 |
| DATA_SOURCE | 2 | entry | r sidtab_search_entry |
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_sid_to_context_core() -> sidtab_entry_to_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 8,4096-ptr_max |
| PARAM_VALUE | 1 | sidtab | 4096-ptr_max |
| PARAM_VALUE | 2 | entry | 4096-ptr_max |
| PARAM_VALUE | 3 | scontext | 0,4096-ptr_max |
| PARAM_VALUE | 3 | *scontext | 0 |
| PARAM_VALUE | 3 | *(*scontext) | 0-255 |
| PARAM_VALUE | 4 | scontext_len | 4096-ptr_max |
| PARAM_VALUE | 4 | *scontext_len | 0 |
| BUF_SIZE | 0 | p | 608 |
| BUF_SIZE | 2 | entry | (-1),104 |
| BUF_SIZE | 2 | entry | (-1),104 |
| DATA_SOURCE | 3 | scontext | $1 |
| DATA_SOURCE | 4 | scontext_len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_validtrans_handle_fail() -> sidtab_entry_to_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->class_val_to_struct | 4096-ptr_max |
| PARAM_VALUE | 1 | sidtab | 4096-ptr_max |
| PARAM_VALUE | 2 | entry | 4096-ptr_max |
| PARAM_VALUE | 3 | scontext | 3671090195235528704 |
| PARAM_VALUE | 3 | *scontext | 0 |
| PARAM_VALUE | 3 | *(*scontext) | 0 |
| PARAM_VALUE | 4 | scontext_len | 2580457906739580928 |
| BUF_SIZE | 0 | p | 608 |
| BUF_SIZE | 2 | entry | (-1),104 |
| BUF_SIZE | 2 | entry | (-1),104 |
| DATA_SOURCE | 2 | entry | $1 |
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_validtrans_handle_fail() -> sidtab_entry_to_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->class_val_to_struct | 4096-ptr_max |
| PARAM_VALUE | 1 | sidtab | 4096-ptr_max |
| PARAM_VALUE | 2 | entry | 4096-ptr_max |
| PARAM_VALUE | 3 | scontext | 3253248992568090624 |
| PARAM_VALUE | 3 | *scontext | 0 |
| PARAM_VALUE | 3 | *(*scontext) | 0 |
| PARAM_VALUE | 4 | scontext_len | 1497376776082018304 |
| BUF_SIZE | 0 | p | 608 |
| BUF_SIZE | 2 | entry | (-1),104 |
| BUF_SIZE | 2 | entry | (-1),104 |
| DATA_SOURCE | 2 | entry | $2 |
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_validtrans_handle_fail() -> sidtab_entry_to_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->class_val_to_struct | 4096-ptr_max |
| PARAM_VALUE | 1 | sidtab | 4096-ptr_max |
| PARAM_VALUE | 2 | entry | 4096-ptr_max |
| PARAM_VALUE | 3 | scontext | 1595256693303828480 |
| PARAM_VALUE | 3 | *scontext | 0 |
| PARAM_VALUE | 3 | *(*scontext) | 0 |
| PARAM_VALUE | 4 | scontext_len | 3779517511602868224 |
| BUF_SIZE | 0 | p | 608 |
| BUF_SIZE | 2 | entry | (-1),104 |
| BUF_SIZE | 2 | entry | (-1),104 |
| DATA_SOURCE | 2 | entry | $3 |
| LOCK2 | rcu_read |