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 ocontext_to_sid() -> sidtab_context_to_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | context | 4096-ptr_max |
| PARAM_VALUE | 2 | sid | 3746465836681703424 |
| PARAM_VALUE | 2 | *sid | 0 |
| BUF_SIZE | 1 | context | 144 |
| DATA_SOURCE | 0 | s | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &sel_ib_pkey_lock | ||
| HALF_LOCKED2 | global &sel_netif_lock | ||
| HALF_LOCKED2 | global &sel_netnode_lock | ||
| HALF_LOCKED2 | global &sel_netport_lock | ||
| HALF_LOCKED2 | rcu_read |
security/selinux/ss/services.c security_compute_sid() -> sidtab_context_to_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | context | 2173082709012590592 |
| PARAM_VALUE | 1 | context->len | 0 |
| PARAM_VALUE | 1 | context->str | 0 |
| PARAM_VALUE | 2 | sid | 4096-ptr_max |
| DATA_SOURCE | 2 | sid | $5 |
| MEM_ZERO | 1 | context | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_context_to_sid_core() -> sidtab_context_to_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | context | 8889487773105254400 |
| PARAM_VALUE | 1 | context->role | 0 |
| PARAM_VALUE | 1 | context->str | 0,4096-ptr_max |
| PARAM_VALUE | 1 | context->type | 0 |
| PARAM_VALUE | 1 | context->user | 0 |
| PARAM_VALUE | 2 | sid | 4096-ptr_max |
| PARAM_VALUE | 2 | *sid | 0 |
| DATA_SOURCE | 2 | sid | $2 |
| MEM_ZERO | 1 | context | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_netlbl_secattr_to_sid() -> sidtab_context_to_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | context | 7082552721478746112 |
| PARAM_VALUE | 1 | context->len | 0 |
| PARAM_VALUE | 1 | context->str | 0 |
| PARAM_VALUE | 2 | sid | 327995117436227584,5863296508052787200 |
| DATA_SOURCE | 2 | sid | $1 |
| MEM_ZERO | 1 | context | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_sid_mls_copy() -> sidtab_context_to_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | context | 1378894460127510528 |
| PARAM_VALUE | 1 | context->len | 0 |
| PARAM_VALUE | 1 | context->str | 0 |
| PARAM_VALUE | 2 | sid | 4096-ptr_max |
| DATA_SOURCE | 2 | sid | $2 |
| MEM_ZERO | 1 | context | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |