Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/exec/
Dexecveat.c23 static char longpath[2 * PATH_MAX] = ""; variable
157 if (*longpath == '\0') { in check_execveat_pathmax()
164 strcat(longpath, longname); in check_execveat_pathmax()
165 mkdir(longpath, 0755); in check_execveat_pathmax()
172 strcat(longpath, longname); in check_execveat_pathmax()
174 exe_cp(src, longpath); in check_execveat_pathmax()
181 fd = open(longpath, O_RDONLY); in check_execveat_pathmax()
184 src, strlen(longpath)); in check_execveat_pathmax()
188 strlen(longpath), errno, strerror(errno)); in check_execveat_pathmax()
203 fail += check_execveat_invoked_rc(dot_dfd, longpath, 0, in check_execveat_pathmax()
[all …]
/external/ltp/testcases/kernel/syscalls/link/
Dlink04.c56 static char longpath[PATH_MAX + 2]; variable
75 {longpath, "pathname too long", "nefile", "nefile", ENAMETOOLONG},
86 {"regfile", "regfile", longpath, "pathname too long", ENAMETOOLONG},
176 memset(longpath, 'a', PATH_MAX+1); in setup()