Searched refs:open_or_die (Results 1 – 1 of 1) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/exec/ |
D | execveat.c | 127 static int open_or_die(const char *filename, int flags) in open_or_die() function 141 int in_fd = open_or_die(src, O_RDONLY); in exe_cp() 229 int subdir_dfd = open_or_die("subdir", O_DIRECTORY|O_RDONLY); in run_tests() 230 int subdir_dfd_ephemeral = open_or_die("subdir.ephemeral", in run_tests() 232 int dot_dfd = open_or_die(".", O_DIRECTORY|O_RDONLY); in run_tests() 233 int root_dfd = open_or_die("/", O_DIRECTORY|O_RDONLY); in run_tests() 234 int dot_dfd_path = open_or_die(".", O_DIRECTORY|O_RDONLY|O_PATH); in run_tests() 235 int dot_dfd_cloexec = open_or_die(".", O_DIRECTORY|O_RDONLY|O_CLOEXEC); in run_tests() 236 int fd = open_or_die("execveat", O_RDONLY); in run_tests() 237 int fd_path = open_or_die("execveat", O_RDONLY|O_PATH); in run_tests() [all …]
|