Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
security/tomoyo/securityfs_if.c tomoyo_write_self() -> tomoyo_normalize_line()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 4096-ptr_max |
| BUF_SIZE | 0 | buffer | 1-1000000001,2147479553 |
| BUF_SIZE | 0 | buffer | 1-1000000001,2147479553 |
| DATA_SOURCE | 0 | buffer | r memdup_user_nul |
| TERMINATED | 0 | buffer | 1 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | *buffer | 0-255 |
| USER_PTR | 0 | buffer |
security/tomoyo/common.c tomoyo_add_entry() -> tomoyo_normalize_line()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 16,4096-ptr_max |
| BUF_SIZE | 0 | buffer | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | buffer | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | buffer | r _kmalloc_noprof |
| NOCHECK_CALL | |||
| LOCK2 | global &tomoyo_ss |
security/tomoyo/common.c tomoyo_load_builtin_policy() -> tomoyo_normalize_line()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *buffer | 0 |
| BUF_SIZE | 0 | buffer | (-1),1,42,81 |
| BUF_SIZE | 0 | buffer | (-1),1,42,81 |
| STR_LEN | 0 | buffer | (-1)-0,41,80 |
| STR_LEN | 0 | buffer | (-1)-0,41,80 |
| TERMINATED | 0 | buffer | 1 |
| NOCHECK_CALL | |||
| LOCK2 | global &tomoyo_ss |
security/tomoyo/common.c tomoyo_write_control() -> tomoyo_normalize_line()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 4096-ptr_max |
| BUF_SIZE | 0 | buffer | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | buffer | 0-s32max,18446744071562067968-u64max |
| TERMINATED | 0 | buffer | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &head->io_sem | ||
| LOCK2 | global &tomoyo_ss | ||
| TYPE_LOCK | (struct tomoyo_io_buffer)->io_sem |