Lines Matching refs:O_RDONLY
142 int in_fd = open_or_die(src, O_RDONLY); in exe_cp()
194 fd = open(longpath, O_RDONLY); in check_execveat_pathmax()
230 int subdir_dfd = open_or_die("subdir", O_DIRECTORY|O_RDONLY); in run_tests()
232 O_DIRECTORY|O_RDONLY); in run_tests()
233 int dot_dfd = open_or_die(".", O_DIRECTORY|O_RDONLY); in run_tests()
234 int root_dfd = open_or_die("/", O_DIRECTORY|O_RDONLY); in run_tests()
235 int dot_dfd_path = open_or_die(".", O_DIRECTORY|O_RDONLY|O_PATH); in run_tests()
236 int dot_dfd_cloexec = open_or_die(".", O_DIRECTORY|O_RDONLY|O_CLOEXEC); in run_tests()
237 int fd = open_or_die("execveat", O_RDONLY); in run_tests()
238 int fd_path = open_or_die("execveat", O_RDONLY|O_PATH); in run_tests()
239 int fd_symlink = open_or_die("execveat.symlink", O_RDONLY); in run_tests()
240 int fd_denatured = open_or_die("execveat.denatured", O_RDONLY); in run_tests()
242 O_RDONLY|O_PATH); in run_tests()
243 int fd_script = open_or_die("script", O_RDONLY); in run_tests()
244 int fd_ephemeral = open_or_die("execveat.ephemeral", O_RDONLY); in run_tests()
246 O_RDONLY|O_PATH); in run_tests()
247 int fd_script_ephemeral = open_or_die("script.ephemeral", O_RDONLY); in run_tests()
248 int fd_cloexec = open_or_die("execveat", O_RDONLY|O_CLOEXEC); in run_tests()
249 int fd_script_cloexec = open_or_die("script", O_RDONLY|O_CLOEXEC); in run_tests()