Searched refs:dot_dfd (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/tools/testing/selftests/exec/
H A Dexecveat.c150 static int check_execveat_pathmax(int dot_dfd, const char *src, int is_script) check_execveat_pathmax() argument
203 fail += check_execveat_invoked_rc(dot_dfd, longpath, 0, check_execveat_pathmax()
206 fail += check_execveat(dot_dfd, longpath, 0); check_execveat_pathmax()
220 int dot_dfd = open_or_die(".", O_DIRECTORY|O_RDONLY); run_tests() local
251 fail += check_execveat(dot_dfd, "execveat", 0); run_tests()
283 fail += check_execveat(dot_dfd, "execveat.symlink", 0); run_tests()
294 fail += check_execveat_fail(dot_dfd, "execveat.symlink", run_tests()
305 fail += check_execveat(dot_dfd, "script", 0); run_tests()
338 fail += check_execveat_fail(dot_dfd, "execveat", 0xFFFF, EINVAL); run_tests()
340 fail += check_execveat_fail(dot_dfd, "no-such-file", 0, ENOENT); run_tests()
344 fail += check_execveat_fail(dot_dfd, "", AT_EMPTY_PATH, EACCES); run_tests()
346 fail += check_execveat_fail(dot_dfd, "Makefile", 0, EACCES); run_tests()
356 fail += check_execveat_pathmax(dot_dfd, "execveat", 0); run_tests()
357 fail += check_execveat_pathmax(dot_dfd, "script", 1); run_tests()

Completed in 36 milliseconds