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/landlock/fs.c collect_domain_accesses() -> landlock_init_layer_masks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | domain | 1-u64max |
| PARAM_VALUE | 1 | access_request | 131071 |
| PARAM_VALUE | 2 | masks | 1-u64max |
| PARAM_VALUE | 3 | key_type | 1 |
| DATA_SOURCE | 0 | domain | $0 |
| DATA_SOURCE | 2 | masks | $3 |
security/landlock/fs.c current_check_access_path() -> landlock_init_layer_masks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | access_request | 16,32,64,128,256,512,1024,2048,4096,16384 |
| PARAM_VALUE | 2 | masks | 4347516065142276096 |
| PARAM_VALUE | 3 | key_type | 1 |
| DATA_SOURCE | 1 | access_request | $1 |
| BIT_INFO | 1 | access_request | 0x0,0x5fff |
security/landlock/fs.c current_check_refer_path() -> landlock_init_layer_masks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | access_request | 0-16383 |
| PARAM_VALUE | 2 | masks | 9127958529798717440 |
| PARAM_VALUE | 3 | key_type | 1 |
| BIT_INFO | 1 | access_request | 0x0,0x1fff |
security/landlock/fs.c hook_file_open() -> landlock_init_layer_masks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | access_request | 16384-16392,49152-49160 |
| PARAM_VALUE | 2 | masks | 3869060802421760000 |
| PARAM_VALUE | 3 | key_type | 1 |
| BIT_INFO | 1 | access_request | 0x4000,0xc00f |
security/landlock/fs.c hook_unix_find() -> landlock_init_layer_masks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | access_request | 65536 |
| PARAM_VALUE | 2 | masks | 9060756209122947072 |
| PARAM_VALUE | 3 | key_type | 1 |
| NOCHECK_CALL |
security/landlock/fs.c is_access_to_paths_allowed() -> landlock_init_layer_masks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | domain | 4096-ptr_max |
| PARAM_VALUE | 1 | access_request | 131071 |
| PARAM_VALUE | 2 | masks | 8203174166713847808 |
| PARAM_VALUE | 3 | key_type | 1 |
| CAPPED_DATA | 0 | domain->num_layers | 1 |
| DATA_SOURCE | 0 | domain | $0 |
security/landlock/fs.c is_access_to_paths_allowed() -> landlock_init_layer_masks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | access_request | 131071 |
| PARAM_VALUE | 2 | masks | 1882990296028286976 |
| PARAM_VALUE | 3 | key_type | 1 |
| DATA_SOURCE | 0 | domain | $0 |
security/landlock/net.c current_check_access_socket() -> landlock_init_layer_masks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | access_request | 8 |
| PARAM_VALUE | 2 | masks | 360686376147214336 |
| PARAM_VALUE | 3 | key_type | 2 |
| DATA_SOURCE | 1 | access_request | $3 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sock->sk |
security/landlock/net.c current_check_access_socket() -> landlock_init_layer_masks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | access_request | 1-2,4,8 |
| PARAM_VALUE | 2 | masks | 360686376147214336 |
| PARAM_VALUE | 3 | key_type | 2 |
| DATA_SOURCE | 1 | access_request | $3 |
| HALF_LOCKED2 | sock->sk |