Lines Matching refs:longpath
26 static char longpath[2 * PATH_MAX] = ""; variable
160 if (*longpath == '\0') { in check_execveat_pathmax()
169 strcpy(longpath, cwd); in check_execveat_pathmax()
170 strcat(longpath, "/"); in check_execveat_pathmax()
176 strcat(longpath, longname); in check_execveat_pathmax()
177 mkdir(longpath, 0755); in check_execveat_pathmax()
184 strcat(longpath, longname); in check_execveat_pathmax()
187 exe_cp(src, longpath); in check_execveat_pathmax()
194 fd = open(longpath, O_RDONLY); in check_execveat_pathmax()
197 src, strlen(longpath)); in check_execveat_pathmax()
201 strlen(longpath), errno, strerror(errno)); in check_execveat_pathmax()
216 fail += check_execveat_invoked_rc(root_dfd, longpath + 1, 0, in check_execveat_pathmax()
219 fail += check_execveat(root_dfd, longpath + 1, 0); in check_execveat_pathmax()