Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

security/landlock/fs.c current_check_access_path() -> is_access_to_paths_allowed()

Type Parameter Key Value
PARAM_VALUE 2 access_request_parent1 0-131071
PARAM_VALUE 3 layer_masks_parent1 4347516065142276096
PARAM_VALUE 4 log_request_parent1 7620710269835984896
PARAM_VALUE 4 log_request_parent1->access 0
PARAM_VALUE 4 log_request_parent1->audit.type 0
PARAM_VALUE 4 log_request_parent1->layer_masks 0
PARAM_VALUE 4 log_request_parent1->type 0
PARAM_VALUE 5 dentry_child1 0
PARAM_VALUE 6 access_request_parent2 0
PARAM_VALUE 7 layer_masks_parent2 0
PARAM_VALUE 8 log_request_parent2 0
PARAM_VALUE 9 dentry_child2 0
CAPPED_DATA 0 domain->num_layers 1
DATA_SOURCE 1 path $0
DATA_SOURCE 2 access_request_parent1 r landlock_init_layer_masks

security/landlock/fs.c current_check_refer_path() -> is_access_to_paths_allowed()

Type Parameter Key Value
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 2 access_request_parent1 0-131071
PARAM_VALUE 3 layer_masks_parent1 9127958529798717440
PARAM_VALUE 4 log_request_parent1 2954340876034539520
PARAM_VALUE 4 log_request_parent1->access 0
PARAM_VALUE 4 log_request_parent1->audit.type 0
PARAM_VALUE 4 log_request_parent1->layer_masks 0
PARAM_VALUE 4 log_request_parent1->type 0
PARAM_VALUE 5 dentry_child1 0
PARAM_VALUE 6 access_request_parent2 0
PARAM_VALUE 7 layer_masks_parent2 0
PARAM_VALUE 8 log_request_parent2 0
PARAM_VALUE 9 dentry_child2 0
CAPPED_DATA 1 path->dentry 1
DATA_SOURCE 1 path $1
DATA_SOURCE 2 access_request_parent1 r landlock_init_layer_masks

security/landlock/fs.c current_check_refer_path() -> is_access_to_paths_allowed()

Type Parameter Key Value
PARAM_VALUE 0 domain 1-u64max
PARAM_VALUE 1 path 3620288507520430080
PARAM_VALUE 1 path->dentry 1-u64max
PARAM_VALUE 1 path->mnt 4096-ptr_max
PARAM_VALUE 2 access_request_parent1 8192-20479
PARAM_VALUE 3 layer_masks_parent1 9127958529798717440
PARAM_VALUE 4 log_request_parent1 2954340876034539520
PARAM_VALUE 4 log_request_parent1->access 0
PARAM_VALUE 4 log_request_parent1->audit.type 0
PARAM_VALUE 4 log_request_parent1->layer_masks 0
PARAM_VALUE 4 log_request_parent1->type 0
PARAM_VALUE 5 dentry_child1 4096-ptr_max
PARAM_VALUE 5 dentry_child1->d_inode 4096-ptr_max
PARAM_VALUE 6 access_request_parent2 8192-16383
PARAM_VALUE 7 layer_masks_parent2 5844029683794718720
PARAM_VALUE 8 log_request_parent2 4261191030784536576
PARAM_VALUE 8 log_request_parent2->access 0
PARAM_VALUE 8 log_request_parent2->audit.type 0
PARAM_VALUE 8 log_request_parent2->layer_masks 0
PARAM_VALUE 8 log_request_parent2->type 0
PARAM_VALUE 9 dentry_child2 0,4096-ptr_max
PARAM_VALUE 9 dentry_child2->d_inode 4096-ptr_max
CAPPED_DATA 0 domain->num_layers 1
CAPPED_DATA 5 dentry_child1 1
DATA_SOURCE 5 dentry_child1 $0
BIT_INFO 2 access_request_parent1 0x2000,0x3fff
BIT_INFO 6 access_request_parent2 0x2000,0x3fff
UNITS 5 dentry_child1 unit_jiffy

security/landlock/fs.c hook_file_open() -> is_access_to_paths_allowed()

Type Parameter Key Value
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 2 access_request_parent1 0-131071
PARAM_VALUE 3 layer_masks_parent1 3869060802421760000
PARAM_VALUE 4 log_request_parent1 5804725762518130688
PARAM_VALUE 4 log_request_parent1->access 0
PARAM_VALUE 4 log_request_parent1->audit.type 0
PARAM_VALUE 4 log_request_parent1->layer_masks 0
PARAM_VALUE 4 log_request_parent1->type 0
PARAM_VALUE 5 dentry_child1 0
PARAM_VALUE 6 access_request_parent2 0
PARAM_VALUE 7 layer_masks_parent2 0
PARAM_VALUE 8 log_request_parent2 0
PARAM_VALUE 9 dentry_child2 0
CAPPED_DATA 0 domain->num_layers 1

security/landlock/fs.c hook_unix_find() -> is_access_to_paths_allowed()

Type Parameter Key Value
PARAM_VALUE 2 access_request_parent1 65536
PARAM_VALUE 3 layer_masks_parent1 9060756209122947072
PARAM_VALUE 4 log_request_parent1 2651026417167142912
PARAM_VALUE 4 log_request_parent1->access 0
PARAM_VALUE 4 log_request_parent1->audit.type 0
PARAM_VALUE 4 log_request_parent1->layer_masks 0
PARAM_VALUE 4 log_request_parent1->type 0
PARAM_VALUE 5 dentry_child1 0
PARAM_VALUE 6 access_request_parent2 0
PARAM_VALUE 7 layer_masks_parent2 0
PARAM_VALUE 8 log_request_parent2 0
PARAM_VALUE 9 dentry_child2 0
CAPPED_DATA 0 domain->num_layers 1
DATA_SOURCE 1 path $0