Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/selinux/ss/sidtab.c sidtab_context_to_sid() -> context_cpy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| BUF_SIZE | 1 | src | (-1),144 |
| BUF_SIZE | 1 | src | (-1),144 |
| DATA_SOURCE | 1 | src | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct sidtab)->lock |
security/selinux/ss/sidtab.c sidtab_set_initial() -> context_cpy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| BUF_SIZE | 1 | src | 144 |
| BUF_SIZE | 1 | src | 144 |
| DATA_SOURCE | 1 | src | $2 |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |