Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
security/landlock/fs.c landlock_append_fs_rule() -> landlock_insert_rule()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ruleset | 4096-ptr_max |
| PARAM_VALUE | 0 | ruleset->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ruleset->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ruleset->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ruleset->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ruleset->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ruleset->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ruleset->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ruleset->num_layers | 1 |
| PARAM_VALUE | 3 | flags | 0-1 |
| BUF_SIZE | 0 | ruleset | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ruleset | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &ruleset->lock | 1 |
| DATA_SOURCE | 0 | ruleset | $0 |
| DATA_SOURCE | 2 | access | $2 [m] |
| DATA_SOURCE | 3 | flags | $3 |
| BIT_INFO | 1 | id | 0x0,0x0 |
| USER_DATA | 2 | access | 0-u32max |
| USER_DATA | 3 | flags | 0 |
| LOCK2 | 0 | &ruleset->lock | |
| TYPE_LOCK | (struct landlock_ruleset)->lock |
security/landlock/net.c landlock_append_net_rule() -> landlock_insert_rule()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ruleset | 4096-ptr_max |
| PARAM_VALUE | 0 | ruleset->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ruleset->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ruleset->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ruleset->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ruleset->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ruleset->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ruleset->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ruleset->num_layers | 1 |
| PARAM_VALUE | 3 | flags | 0-1 |
| BUF_SIZE | 0 | ruleset | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ruleset | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &ruleset->lock | 1 |
| DATA_SOURCE | 0 | ruleset | $0 |
| DATA_SOURCE | 2 | access | $2 [m] |
| DATA_SOURCE | 3 | flags | $3 |
| BIT_INFO | 1 | id | 0x0,0x0 |
| USER_DATA | 2 | access | 0-u32max |
| USER_DATA | 3 | flags | 0 |
| LOCK2 | 0 | &ruleset->lock | |
| TYPE_LOCK | (struct landlock_ruleset)->lock |