Searched refs:pathbuf (Results  1 – 7 of 7) sorted by relevance
| /Linux-v5.4/security/integrity/ima/ | 
| D | ima_main.c | 77 				char **pathbuf, const char **pathname,  in mmap_violation_check()  argument 87 		if (!*pathbuf)	/* ima_rdwr_violation possibly pre-fetched */  in mmap_violation_check() 88 			*pathname = ima_d_path(&file->f_path, pathbuf,  in mmap_violation_check() 109 				     char **pathbuf,  in ima_rdwr_violation_check()  argument 136 	*pathname = ima_d_path(&file->f_path, pathbuf, filename);  in ima_rdwr_violation_check() 199 	char *pathbuf = NULL;  in process_measurement()  local 240 					 &pathbuf, &pathname, filename);  in process_measurement() 297 			rc = mmap_violation_check(func, file, &pathbuf,  in process_measurement() 330 	if (!pathbuf)	/* ima_rdwr_violation possibly pre-fetched */  in process_measurement() 331 		pathname = ima_d_path(&file->f_path, &pathbuf, filename);  in process_measurement() [all …] 
 | 
| D | ima_api.c | 384 const char *ima_d_path(const struct path *path, char **pathbuf, char *namebuf)  in ima_d_path()  argument 388 	*pathbuf = __getname();  in ima_d_path() 389 	if (*pathbuf) {  in ima_d_path() 390 		pathname = d_absolute_path(path, *pathbuf, PATH_MAX);  in ima_d_path() 392 			__putname(*pathbuf);  in ima_d_path() 393 			*pathbuf = NULL;  in ima_d_path()
  | 
| D | ima.h | 229 const char *ima_d_path(const struct path *path, char **pathbuf, char *filename);
  | 
| /Linux-v5.4/fs/ | 
| D | coredump.c | 159 	char *pathbuf, *path;  in cn_print_exe_file()  local 166 	pathbuf = kmalloc(PATH_MAX, GFP_KERNEL);  in cn_print_exe_file() 167 	if (!pathbuf) {  in cn_print_exe_file() 172 	path = file_path(exe_file, pathbuf, PATH_MAX);  in cn_print_exe_file() 181 	kfree(pathbuf);  in cn_print_exe_file()
  | 
| D | exec.c | 1721 	char *pathbuf = NULL;  in __do_execve_file()  local 1776 			pathbuf = kasprintf(GFP_KERNEL, "/dev/fd/%d", fd);  in __do_execve_file() 1778 			pathbuf = kasprintf(GFP_KERNEL, "/dev/fd/%d/%s",  in __do_execve_file() 1780 		if (!pathbuf) {  in __do_execve_file() 1791 		bprm->filename = pathbuf;  in __do_execve_file() 1833 	kfree(pathbuf);  in __do_execve_file() 1852 	kfree(pathbuf);  in __do_execve_file()
  | 
| /Linux-v5.4/kernel/cgroup/ | 
| D | cgroup-v1.c | 778 	char *pathbuf = NULL, *agentbuf = NULL;  in cgroup1_release_agent()  local 784 	pathbuf = kmalloc(PATH_MAX, GFP_KERNEL);  in cgroup1_release_agent() 786 	if (!pathbuf || !agentbuf)  in cgroup1_release_agent() 790 	ret = cgroup_path_ns_locked(cgrp, pathbuf, PATH_MAX, &init_cgroup_ns);  in cgroup1_release_agent() 796 	argv[1] = pathbuf;  in cgroup1_release_agent() 811 	kfree(pathbuf);  in cgroup1_release_agent()
  | 
| /Linux-v5.4/drivers/usb/gadget/function/ | 
| D | f_mass_storage.c | 2743 	char *pathbuf, *p;  in fsg_common_create_lun()  local 2795 	pathbuf = kmalloc(PATH_MAX, GFP_KERNEL);  in fsg_common_create_lun() 2799 		if (pathbuf) {  in fsg_common_create_lun() 2800 			p = file_path(lun->filp, pathbuf, PATH_MAX);  in fsg_common_create_lun() 2810 	kfree(pathbuf);  in fsg_common_create_lun()
  |