Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

security/integrity/ima/ima_main.c ima_file_mprotect() -> ima_d_path()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->mnt 4096-ptr_max
PARAM_VALUE 1 pathbuf 4710341245218734080
PARAM_VALUE 1 *pathbuf 0
PARAM_VALUE 1 *(*pathbuf) 0
PARAM_VALUE 2 namebuf 5454783682351161344
BUF_SIZE 2 namebuf 255

security/integrity/ima/ima_main.c ima_rdwr_violation_check() -> ima_d_path()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->mnt 4096-ptr_max
PARAM_VALUE 1 pathbuf 4880460000577474560
PARAM_VALUE 1 *pathbuf 0
PARAM_VALUE 1 *(*pathbuf) 0
PARAM_VALUE 2 namebuf 4541884849808953344
BUF_SIZE 2 namebuf 255
BUF_SIZE 2 namebuf 255
DATA_SOURCE 1 pathbuf $3
DATA_SOURCE 2 namebuf $5
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

security/integrity/ima/ima_main.c mmap_violation_check() -> ima_d_path()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 1 pathbuf 4880460000577474560
PARAM_VALUE 1 *pathbuf 0
PARAM_VALUE 2 namebuf 4541884849808953344
BUF_SIZE 2 namebuf 255
BUF_SIZE 2 namebuf 255
DATA_SOURCE 1 pathbuf $2
DATA_SOURCE 2 namebuf $4
LOCK2 &iint->mutex
TYPE_LOCK (struct ima_iint_cache)->mutex

security/integrity/ima/ima_main.c process_measurement() -> ima_d_path()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 1 pathbuf 4880460000577474560
PARAM_VALUE 1 *pathbuf 0
PARAM_VALUE 1 *(*pathbuf) 0
PARAM_VALUE 2 namebuf 4541884849808953344
BUF_SIZE 2 namebuf 255
LOCK2 &iint->mutex
TYPE_LOCK (struct ima_iint_cache)->mutex