Searched refs:pathbuf (Results 1 - 7 of 7) sorted by relevance
/linux-4.4.14/security/integrity/ima/ |
H A D | ima_api.c | 323 const char *ima_d_path(struct path *path, char **pathbuf) ima_d_path() argument 327 *pathbuf = __getname(); ima_d_path() 328 if (*pathbuf) { ima_d_path() 329 pathname = d_absolute_path(path, *pathbuf, PATH_MAX); ima_d_path() 331 __putname(*pathbuf); ima_d_path() 332 *pathbuf = NULL; ima_d_path()
|
H A D | ima_main.c | 83 char **pathbuf, ima_rdwr_violation_check() 106 *pathname = ima_d_path(&file->f_path, pathbuf); ima_rdwr_violation_check() 163 char *pathbuf = NULL; process_measurement() local 199 &pathbuf, &pathname); process_measurement() 234 pathname = ima_d_path(&file->f_path, &pathbuf); process_measurement() 250 if (pathbuf) process_measurement() 251 __putname(pathbuf); process_measurement() 80 ima_rdwr_violation_check(struct file *file, struct integrity_iint_cache *iint, int must_measure, char **pathbuf, const char **pathname) ima_rdwr_violation_check() argument
|
H A D | ima.h | 157 const char *ima_d_path(struct path *path, char **pathbuf);
|
/linux-4.4.14/fs/ |
H A D | coredump.c | 133 char *pathbuf, *path; cn_print_exe_file() local 140 pathbuf = kmalloc(PATH_MAX, GFP_TEMPORARY); cn_print_exe_file() 141 if (!pathbuf) { cn_print_exe_file() 146 path = file_path(exe_file, pathbuf, PATH_MAX); cn_print_exe_file() 155 kfree(pathbuf); cn_print_exe_file()
|
H A D | exec.c | 1489 char *pathbuf = NULL; do_execveat_common() local 1542 pathbuf = kasprintf(GFP_TEMPORARY, "/dev/fd/%d", fd); do_execveat_common() 1544 pathbuf = kasprintf(GFP_TEMPORARY, "/dev/fd/%d/%s", do_execveat_common() 1546 if (!pathbuf) { do_execveat_common() 1557 bprm->filename = pathbuf; do_execveat_common() 1600 kfree(pathbuf); do_execveat_common() 1618 kfree(pathbuf); do_execveat_common()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
H A D | f_mass_storage.c | 2857 char *pathbuf, *p; fsg_common_create_lun() local 2909 pathbuf = kmalloc(PATH_MAX, GFP_KERNEL); fsg_common_create_lun() 2913 if (pathbuf) { fsg_common_create_lun() 2914 p = file_path(lun->filp, pathbuf, PATH_MAX); fsg_common_create_lun() 2924 kfree(pathbuf); fsg_common_create_lun()
|
/linux-4.4.14/kernel/ |
H A D | cgroup.c | 5751 char *pathbuf = NULL, *agentbuf = NULL, *path; cgroup_release_agent() local 5756 pathbuf = kmalloc(PATH_MAX, GFP_KERNEL); cgroup_release_agent() 5758 if (!pathbuf || !agentbuf) cgroup_release_agent() 5761 path = cgroup_path(cgrp, pathbuf, PATH_MAX); cgroup_release_agent() 5781 kfree(pathbuf); cgroup_release_agent()
|
Completed in 266 milliseconds