Lines Matching refs:open_or_die
144 static int open_or_die(const char *filename, int flags) in open_or_die() function
156 int in_fd = open_or_die(src, O_RDONLY); in exe_cp()
246 int subdir_dfd = open_or_die("subdir", O_DIRECTORY|O_RDONLY); in run_tests()
247 int subdir_dfd_ephemeral = open_or_die("subdir.ephemeral", in run_tests()
249 int dot_dfd = open_or_die(".", O_DIRECTORY|O_RDONLY); in run_tests()
250 int root_dfd = open_or_die("/", O_DIRECTORY|O_RDONLY); in run_tests()
251 int dot_dfd_path = open_or_die(".", O_DIRECTORY|O_RDONLY|O_PATH); in run_tests()
252 int dot_dfd_cloexec = open_or_die(".", O_DIRECTORY|O_RDONLY|O_CLOEXEC); in run_tests()
253 int fd = open_or_die("execveat", O_RDONLY); in run_tests()
254 int fd_path = open_or_die("execveat", O_RDONLY|O_PATH); in run_tests()
255 int fd_symlink = open_or_die("execveat.symlink", O_RDONLY); in run_tests()
256 int fd_denatured = open_or_die("execveat.denatured", O_RDONLY); in run_tests()
257 int fd_denatured_path = open_or_die("execveat.denatured", in run_tests()
259 int fd_script = open_or_die("script", O_RDONLY); in run_tests()
260 int fd_ephemeral = open_or_die("execveat.ephemeral", O_RDONLY); in run_tests()
261 int fd_ephemeral_path = open_or_die("execveat.path.ephemeral", in run_tests()
263 int fd_script_ephemeral = open_or_die("script.ephemeral", O_RDONLY); in run_tests()
264 int fd_cloexec = open_or_die("execveat", O_RDONLY|O_CLOEXEC); in run_tests()
265 int fd_script_cloexec = open_or_die("script", O_RDONLY|O_CLOEXEC); in run_tests()