Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
security/selinux/ss/services.c security_load_policy() -> sidtab_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_free_slots | 256 |
| PARAM_VALUE | 0 | s->cache_lru_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_lru_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_lru_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_lru_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_lru_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->context_to_sid | 4096-ptr_max |
| PARAM_VALUE | 0 | s->convert | 0 |
| PARAM_VALUE | 0 | s->count | 0-19968 |
| PARAM_VALUE | 0 | s->frozen | 0 |
| BUF_SIZE | 0 | s | 7344 |
| DATA_SOURCE | 0 | s | r _kzalloc_noprof |
| MEM_ZERO | 0 | s->roots | |
| NOCHECK_CALL | |||
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/services.c selinux_policy_free() -> sidtab_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/policydb.c policydb_load_isids() -> sidtab_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_free_slots | 256 |
| PARAM_VALUE | 0 | s->cache_lru_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_lru_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_lru_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_lru_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_lru_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->context_to_sid | 4096-ptr_max |
| PARAM_VALUE | 0 | s->convert | 0 |
| PARAM_VALUE | 0 | s->count | 0 |
| PARAM_VALUE | 0 | s->frozen | 0 |
| PARAM_VALUE | 0 | s->roots->ptr_inner | 0 |
| PARAM_VALUE | 0 | s->roots->ptr_leaf | 0 |
| BUF_SIZE | 0 | s | 7344 |
| DATA_SOURCE | 0 | s | $1 |
| MEM_ZERO | 0 | s->roots | |
| NOCHECK_CALL | |||
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/policydb.c policydb_load_isids() -> sidtab_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_free_slots | 256 |
| PARAM_VALUE | 0 | s->cache_lru_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_lru_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_lru_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_lru_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_lru_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->context_to_sid | 4096-ptr_max |
| PARAM_VALUE | 0 | s->convert | 0 |
| PARAM_VALUE | 0 | s->count | 0 |
| PARAM_VALUE | 0 | s->frozen | 0 |
| PARAM_VALUE | 0 | s->roots->ptr_inner | 0 |
| PARAM_VALUE | 0 | s->roots->ptr_leaf | 0 |
| BUF_SIZE | 0 | s | 7344 |
| DATA_SOURCE | 0 | s | $1 |
| MEM_ZERO | 0 | s->roots | |
| NOCHECK_CALL | |||
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/policydb.c policydb_load_isids() -> sidtab_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_free_slots | 256 |
| PARAM_VALUE | 0 | s->cache_lru_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_lru_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_lru_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_lru_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->cache_lru_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->context_to_sid | 4096-ptr_max |
| PARAM_VALUE | 0 | s->convert | 0 |
| PARAM_VALUE | 0 | s->count | 0 |
| PARAM_VALUE | 0 | s->frozen | 0 |
| PARAM_VALUE | 0 | s->roots->ptr_inner | 0 |
| PARAM_VALUE | 0 | s->roots->ptr_leaf | 0 |
| BUF_SIZE | 0 | s | 7344 |
| DATA_SOURCE | 0 | s | $1 |
| MEM_ZERO | 0 | s->roots | |
| NOCHECK_CALL | |||
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |