Home
last modified time | relevance | path

Searched refs:longpath (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/exec/
H A Dexecveat.c26 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 …]