Searched refs:pathbuf (Results 1 – 4 of 4) sorted by relevance
/security/integrity/ima/ |
D | ima_main.c | 87 char **pathbuf, const char **pathname, in mmap_violation_check() argument 97 if (!*pathbuf) /* ima_rdwr_violation possibly pre-fetched */ in mmap_violation_check() 98 *pathname = ima_d_path(&file->f_path, pathbuf, in mmap_violation_check() 119 char **pathbuf, in ima_rdwr_violation_check() argument 146 *pathname = ima_d_path(&file->f_path, pathbuf, filename); in ima_rdwr_violation_check() 209 char *pathbuf = NULL; in process_measurement() local 252 &pathbuf, &pathname, filename); in process_measurement() 322 rc = mmap_violation_check(func, file, &pathbuf, in process_measurement() 355 if (!pathbuf) /* ima_rdwr_violation possibly pre-fetched */ in process_measurement() 356 pathname = ima_d_path(&file->f_path, &pathbuf, filename); in process_measurement() [all …]
|
D | ima_api.c | 396 const char *ima_d_path(const struct path *path, char **pathbuf, char *namebuf) in ima_d_path() argument 400 *pathbuf = __getname(); in ima_d_path() 401 if (*pathbuf) { in ima_d_path() 402 pathname = d_absolute_path(path, *pathbuf, PATH_MAX); in ima_d_path() 404 __putname(*pathbuf); in ima_d_path() 405 *pathbuf = NULL; in ima_d_path()
|
D | ima_appraise.c | 598 char *path = NULL, *pathbuf = NULL; in validate_hash_algo() local 627 pathbuf = kmalloc(PATH_MAX, GFP_KERNEL); in validate_hash_algo() 628 if (!pathbuf) in validate_hash_algo() 631 path = dentry_path(dentry, pathbuf, PATH_MAX); in validate_hash_algo() 636 kfree(pathbuf); in validate_hash_algo()
|
D | ima.h | 285 const char *ima_d_path(const struct path *path, char **pathbuf, char *filename);
|