Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/cred.c prepare_creds() -> security_prepare_creds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | new | 4096-ptr_max |
| PARAM_VALUE | 0 | new->group_info | 4096-ptr_max |
| PARAM_VALUE | 0 | new->non_rcu | 0 |
| PARAM_VALUE | 0 | new->process_keyring | 0,4096-ptr_max |
| PARAM_VALUE | 0 | new->request_key_auth | 0,4096-ptr_max |
| PARAM_VALUE | 0 | new->security | 0 |
| PARAM_VALUE | 0 | new->session_keyring | 0,4096-ptr_max |
| PARAM_VALUE | 0 | new->thread_keyring | 0,4096-ptr_max |
| PARAM_VALUE | 0 | new->ucounts | 4096-ptr_max |
| PARAM_VALUE | 0 | new->usage.counter | 1 |
| PARAM_VALUE | 0 | new->user | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 4197568 |
| DATA_SOURCE | 0 | new | r kmem_cache_alloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cache->daemon_mutex | ||
| HALF_LOCKED2 | global &event_mutex |
kernel/cred.c prepare_kernel_cred() -> security_prepare_creds()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | new | 4096-ptr_max |
| PARAM_VALUE | 0 | new->group_info | 4096-ptr_max |
| PARAM_VALUE | 0 | new->jit_keyring | 1 |
| PARAM_VALUE | 0 | new->non_rcu | 0 |
| PARAM_VALUE | 0 | new->process_keyring | 0 |
| PARAM_VALUE | 0 | new->request_key_auth | 0 |
| PARAM_VALUE | 0 | new->security | 0 |
| PARAM_VALUE | 0 | new->session_keyring | 0 |
| PARAM_VALUE | 0 | new->thread_keyring | 0 |
| PARAM_VALUE | 0 | new->ucounts | 4096-ptr_max |
| PARAM_VALUE | 0 | new->usage.counter | 1 |
| PARAM_VALUE | 0 | new->user | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | old->non_rcu | 0 |
| PARAM_VALUE | 2 | gfp | 4197568 |
| DATA_SOURCE | 0 | new | r kmem_cache_alloc_noprof |
| RX_PATH | |||
| HALF_LOCKED2 | &cache->daemon_mutex | ||
| HALF_LOCKED2 | &pool->lock |