Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/kernel_read_file.c kernel_read_file() -> security_kernel_post_read_file()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->f_inode 4096-ptr_max
PARAM_VALUE 0 file->f_inode->i_writecount.counter 0-s32max
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 2 size 1-s64max
PARAM_VALUE 3 id 1-7
BUF_SIZE 0 file (-1),1-s32max
BUF_SIZE 0 file (-1),1-s32max
CAPPED_DATA 2 size 1
CAPPED_DATA 2 size 1
DATA_SOURCE 0 file $0
DATA_SOURCE 2 size r i_size_read
DATA_SOURCE 3 id $5
FUZZY_MAX 2 size 1
FUZZY_MAX 3 id 7
HARD_MAX 3 id 7
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte

kernel/module/main.c init_module_from_file() -> security_kernel_post_read_file()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->f_inode->i_writecount.counter 0-s32max
PARAM_VALUE 1 buf 0-18446744073709551614
PARAM_VALUE 2 size 0-s64max
PARAM_VALUE 3 id 2
DATA_SOURCE 0 file $0
BIT_INFO 0 file->f_mode 0x1,0xffffffffffffffff
UNITS 1 buf unit_byte
UNITS 2 size unit_byte