Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- security/tomoyo/common.c, line 500
- security/tomoyo/condition.c, line 428
- security/tomoyo/domain.c, line 480
- security/tomoyo/memory.c
Smatch caller information:
security/tomoyo/common.c tomoyo_assign_profile() -> tomoyo_memory_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 0,4096-ptr_max |
| BUF_SIZE | 0 | ptr | 96 |
| DATA_SOURCE | 0 | ptr | r _kzalloc_noprof |
| LOCK2 | global &tomoyo_policy_lock | ||
| LOCK2 | global &tomoyo_ss | ||
| HALF_LOCKED2 | &head->io_sem |
security/tomoyo/condition.c tomoyo_commit_condition() -> tomoyo_memory_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| BUF_SIZE | 0 | ptr | 48 |
| DATA_SOURCE | 0 | ptr | $0 |
| LOCK2 | global &tomoyo_policy_lock |
security/tomoyo/memory.c tomoyo_commit_ok() -> tomoyo_memory_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 0,4096-ptr_max |
| BUF_SIZE | 0 | ptr | 32,40,48,56,64,72,80,88,112,144 |
| BUF_SIZE | 0 | ptr | 32,40,48,56,64,72,80,88,112,144 |
| DATA_SOURCE | 0 | ptr | r _kzalloc_noprof |
| LOCK2 | global &tomoyo_policy_lock | ||
| HALF_LOCKED2 | global &tomoyo_ss |
security/tomoyo/memory.c tomoyo_get_name() -> tomoyo_memory_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 0,4096-ptr_max |
| BUF_SIZE | 0 | ptr | 41-1010142 |
| DATA_SOURCE | 0 | ptr | r _kzalloc_noprof |
| LOCK2 | global &tomoyo_policy_lock | ||
| HALF_LOCKED2 | global &tomoyo_ss |
security/tomoyo/domain.c tomoyo_assign_namespace() -> tomoyo_memory_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 0,4096-ptr_max |
| BUF_SIZE | 0 | ptr | 6401-10486 |
| DATA_SOURCE | 0 | ptr | r _kzalloc_noprof |
| LOCK2 | global &tomoyo_policy_lock | ||
| LOCK2 | global &tomoyo_ss |