Defined in 1 files as a prototype:
Defined in 2 files as a function:
- security/keys/user_defined.c, line 146 (as a function)
- security/selinux/ss/policydb.c, line 287 (as a function)
Referenced in 7 files:
- arch/s390/kernel/cert_store.c, line 160
- crypto/asymmetric_keys/pkcs7_key_type.c, line 76
- drivers/nvme/common/keyring.c, line 86
- fs/nfs/nfs4idmap.c
- net/dns_resolver/dns_key.c, line 317
- security/keys/user_defined.c
- security/selinux/ss/policydb.c
Smatch caller information:
security/selinux/ss/policydb.c user_read() -> user_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *key | 0-255 |
| PARAM_VALUE | 1 | datum | 4096-ptr_max |
| PARAM_VALUE | 2 | p | 0 |
| BUF_SIZE | 1 | datum | 96 |
| DATA_SOURCE | 1 | datum | r _kzalloc_noprof |
| NOCHECK_CALL | |||
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/keys/gc.c key_garbage_collector() -> (struct key_type)->destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| PARAM_VALUE | 0 | key->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | key->sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | key->sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | key->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | key->sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | key->sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | key->sem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | key->sem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | key->type | 1851316285351890944 |
| PARAM_VALUE | 0 | key->type->flags | 0 |
| BUF_SIZE | 0 | key->type | 184 |
| CAPPED_DATA | 0 | &key->sem | 1 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &key->sem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct key)->sem |
security/keys/gc.c key_gc_unused_keys() -> (struct key_type)->destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 2889029678046638072 |
| PARAM_VALUE | 0 | key->state | 1 |
| PARAM_VALUE | 0 | key->type | 4096-ptr_max |
| PARAM_VALUE | 0 | key->type->destroy | 1-u64max |
| PARAM_VALUE | 0 | key->watchers | 0 |
| CAPPED_DATA | 0 | key->serial | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
security/selinux/ss/hashtab.c hashtab_map() -> hashtab_map param 1()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | 12,16 |
| BUF_SIZE | 1 | datum | 4,8,12,32,40,48,72,96 |
| BUF_SIZE | 2 | p | (-1),8,16,256 |
| BUF_SIZE | 2 | p | (-1),8,16,256 |
| DATA_SOURCE | 2 | p | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &selinux_state.policy_mutex |