Searched refs:check_execveat_fail (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/tools/testing/selftests/exec/ |
H A D | execveat.c | 38 #define check_execveat_fail(fd, path, flags, errno) \ macro 278 fail += check_execveat_fail(fd, "", 0, ENOENT); run_tests() 279 fail += check_execveat_fail(fd, NULL, AT_EMPTY_PATH, EFAULT); run_tests() 294 fail += check_execveat_fail(dot_dfd, "execveat.symlink", run_tests() 296 fail += check_execveat_fail(dot_dfd_path, "execveat.symlink", run_tests() 299 fail += check_execveat_fail(AT_FDCWD, fullname_symlink, run_tests() 314 fail += check_execveat_fail(fd_script_cloexec, "", AT_EMPTY_PATH, run_tests() 316 fail += check_execveat_fail(dot_dfd_cloexec, "script", 0, ENOENT); run_tests() 335 fail += check_execveat_fail(subdir_dfd_ephemeral, "script", 0, ENOENT); 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() 341 fail += check_execveat_fail(dot_dfd_path, "no-such-file", 0, ENOENT); run_tests() 342 fail += check_execveat_fail(AT_FDCWD, "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() 347 fail += check_execveat_fail(fd_denatured, "", AT_EMPTY_PATH, EACCES); run_tests() 348 fail += check_execveat_fail(fd_denatured_path, "", AT_EMPTY_PATH, run_tests() 351 fail += check_execveat_fail(99, "", AT_EMPTY_PATH, EBADF); run_tests() 352 fail += check_execveat_fail(99, "execveat", 0, EBADF); run_tests() 354 fail += check_execveat_fail(fd, "execveat", 0, ENOTDIR); run_tests()
|
Completed in 36 milliseconds