Lines Matching refs:longpath
24 static char longpath[2 * PATH_MAX] = ""; variable
158 if (*longpath == '\0') { in check_execveat_pathmax()
167 strcpy(longpath, cwd); in check_execveat_pathmax()
168 strcat(longpath, "/"); in check_execveat_pathmax()
174 strcat(longpath, longname); in check_execveat_pathmax()
175 mkdir(longpath, 0755); in check_execveat_pathmax()
182 strcat(longpath, longname); in check_execveat_pathmax()
185 exe_cp(src, longpath); in check_execveat_pathmax()
192 fd = open(longpath, O_RDONLY); in check_execveat_pathmax()
195 src, strlen(longpath)); in check_execveat_pathmax()
199 strlen(longpath), errno, strerror(errno)); in check_execveat_pathmax()
214 fail += check_execveat_invoked_rc(root_dfd, longpath + 1, 0, in check_execveat_pathmax()
217 fail += check_execveat(root_dfd, longpath + 1, 0); in check_execveat_pathmax()