Searched refs:longpath (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/exec/ |
H A D | execveat.c | 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() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/exec/ |
H A D | execveat.c | 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() [all...] |
Completed in 2 milliseconds