Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/namei.c handle_truncate() -> security_file_truncate()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->f_mode 0,131072-u32max
PARAM_VALUE 0 file->f_path.dentry 4096-ptr_max
PARAM_VALUE 0 file->f_path.dentry->d_inode->i_writecount.counter 0-s32max
DATA_SOURCE 0 file $1
NO_OVERFLOW_SIMPLE 0 file->f_inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 file->f_inode->i_size

fs/open.c do_ftruncate() -> security_file_truncate()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->f_path.dentry 4096-ptr_max
DATA_SOURCE 0 file $0
BIT_INFO 0 file->f_mode 0x2,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING