/glibc-2.36/posix/ |
D | tst-execveat.c | 106 fd = xopen ("/bin", O_PATH | O_DIRECTORY, O_RDONLY); in do_test() 112 fd = xopen ("/usr", O_PATH | O_DIRECTORY, 0); in do_test() 119 fd = xopen ("/usr", O_RDONLY, 0); in do_test() 125 fd = xopen ("/bin/sh", O_RDONLY, 0); in do_test() 138 fd = xopen ("/bin/sh", O_PATH, 0); in do_test() 157 fd_out = xopen (symlink_name, O_CREAT | O_WRONLY, 0); in do_test() 159 fd = xopen ("/bin/sh", O_RDONLY, 0); in do_test() 164 fd_out = xopen (symlink_name, O_PATH, 0); in do_test()
|
D | tst-spawn6.c | 69 int fd = xopen (_PATH_TTY, O_RDONLY, 0600); in handle_restart() 137 int tcfd = xopen (ptmxpath, O_RDONLY, 0600); in run_test()
|
/glibc-2.36/support/ |
D | tst-support_descriptors.c | 36 int fd = xopen ("/dev/null", O_WRONLY, 0); in subprocess_no_change() 45 int fd = xopen ("/dev/null", O_WRONLY, 0); in subprocess_closed_descriptor() 58 int fd = xopen ("/dev/null", O_WRONLY, 0); in subprocess_opened_descriptor() 68 int fd = xopen ("/dev/null", O_WRONLY, 0); in subprocess_changed_descriptor() 72 TEST_COMPARE (xopen ("/dev", O_DIRECTORY | O_RDONLY, 0), fd); in subprocess_changed_descriptor() 158 free_descriptor = xopen ("/dev/null", O_WRONLY, 0); in do_test() 177 int fd = xopen ("/dev/full", O_WRONLY, 0); in do_test()
|
D | support_copy_file.c | 29 int fd_from = xopen (from, O_RDONLY, 0); in support_copy_file() 31 int fd_to = xopen (to, O_WRONLY | O_TRUNC | O_CREAT, mode); in support_copy_file()
|
D | xopen.c | 24 xopen (const char *path, int flags, mode_t mode) in xopen() function
|
D | support_write_file_string.c | 27 int fd = xopen (path, O_CREAT | O_TRUNC | O_WRONLY, 0666); in support_write_file_string()
|
D | tst-xreadlink.c | 64 xclose (xopen (symlink_name, O_WRONLY | O_CREAT, 0)); in do_test()
|
D | support_become_root.c | 71 fd = xopen ("/proc/self/gid_map", O_WRONLY, 0); in setup_uid_gid_mapping()
|
D | xunistd.h | 38 int xopen (const char *path, int flags, mode_t);
|
D | support-open-dev-null-range.c | 52 return xopen ("/dev/null", flags, mode); in open_dev_null()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | tst-o_path-locks.c | 40 int fd = xopen (path, O_RDWR, 0); in subprocess() 86 xclose (xopen (path, O_RDONLY, 0)); in do_test() 91 xclose (xopen (path, O_PATH, 0)); in do_test()
|
D | tst-getdents64.c | 82 int fd = xopen (".", O_RDONLY | O_DIRECTORY, 0); in do_test_large_size() 96 int fd = xopen (".", O_RDONLY | O_DIRECTORY, 0); in do_test_by_size()
|
D | tst-getcwd-smallbuff.c | 137 const int fd = xopen ("mpoint", in child_func() 155 const int fd = xopen (map_file, O_WRONLY, 0); in update_map()
|
D | tst-ttyname.c | 55 xclose (xopen (path, O_WRONLY|O_CREAT|O_NOCTTY, mode)); in touch() 297 int slave = xopen (slavename, O_RDWR, 0); in do_in_chroot_1() 379 int slave = xopen (slavename, O_RDWR, 0); in do_in_chroot_2()
|
D | tst-scm_rights.c | 50 int fd = xopen (PATH, O_RDONLY, 0); in subprocess()
|
/glibc-2.36/misc/ |
D | tst-fd_to_filename.c | 63 int read_alias = xopen (__fd_to_filename (pipes[0], &storage), O_RDONLY, 0); in check_open() 64 int write_alias = xopen (__fd_to_filename (pipes[1], &storage), O_WRONLY, 0); in check_open()
|
D | tst-syscalls.c | 149 int fd = xopen ("/dev/null", O_RDWR, 0); in do_test()
|
/glibc-2.36/stdio-common/ |
D | tst-renameat2.c | 50 directory_fd = xopen (directory, O_RDONLY | O_DIRECTORY, 0); in prepare() 58 subdirectory_fd = xopen (subdirectory, O_RDONLY | O_DIRECTORY, 0); in prepare()
|
D | tst-bz11319.c | 37 fd = xopen (tempfile, O_RDONLY, 0660); in do_test()
|
/glibc-2.36/io/ |
D | tst-copy_file_range.c | 276 infd = xopen (infile, O_RDWR | O_LARGEFILE, 0); in do_test() 278 outfd = xopen (outfile, O_RDWR | O_LARGEFILE, 0); in do_test()
|
D | tst-closefrom.c | 111 int lowfd = xopen ("/dev/null", O_RDONLY, 0600); in closefrom_test_file_desc_limit()
|
/glibc-2.36/libio/ |
D | tst-wfile-sync.c | 43 infd = xopen (infile, O_RDONLY, 0); in do_test()
|
/glibc-2.36/malloc/ |
D | tst-free-errno.c | 75 if (xopen ("/proc/sys/vm/max_map_count", O_RDONLY, 0) >= 0) in do_test()
|
/glibc-2.36/login/ |
D | tst-pututxline-lockfail.c | 73 int fd = xopen (path, O_RDONLY, 0); in subprocess_lock_file()
|
/glibc-2.36/nptl/ |
D | tst-pthread-gdb-attach.c | 62 int fd = xopen (path, O_RDONLY, 0); in read_elf_header()
|