/freebsd-11-stable/usr.bin/mkuzip/ |
H A D | mkuz_insize.c | 59 ffd = open(statfsbuf.f_mntfromname, O_RDONLY); 61 warn("open(%s, O_RDONLY)", statfsbuf.f_mntfromname);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_ftok.c | 68 fd = open(path, O_RDONLY | O_CREAT, 0600);
|
/freebsd-11-stable/contrib/expat/xmlwf/ |
H A D | unixfilemap.c | 64 fd = topen(name, O_RDONLY);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/ |
H A D | FileAction.cpp | 41 m_arg = O_NOCTTY | O_RDONLY;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | RandomNumberGenerator.cpp | 69 int Fd = open("/dev/urandom", O_RDONLY);
|
/freebsd-11-stable/tools/regression/security/cap_test/ |
H A D | cap_test_capabilities.c | 187 ret = openat(dfd_cap, "cap_create", O_CREAT | O_RDONLY, 0600); 188 CHECK_RESULT(openat(O_CREATE | O_RDONLY), 210 ret = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDONLY); 211 CHECK_RESULT(openat(O_FSYNC | O_RDONLY), 222 ret = openat(dfd_cap, "cap_fsync", O_SYNC | O_RDONLY); 223 CHECK_RESULT(openat(O_SYNC | O_RDONLY), 242 ret = openat(dfd_cap, "cap_ftruncate", O_TRUNC | O_RDONLY); 243 CHECK_RESULT(openat(O_TRUNC | O_RDONLY), 447 dirfd = open(dir, O_RDONLY | O_DIRECTORY); 453 tmpfd = open("/tmp", O_RDONLY | O_DIRECTOR [all...] |
/freebsd-11-stable/tools/regression/security/open_to_operation/ |
H A D | open_to_operation.c | 38 * aio_read(2) O_RDONLY or O_RDWR yes 43 * extattr_get_fd(2) O_RDONLY or O_RDWR no 44 * extattr_list_fd(2) O_RDONLY or O_RDWR no 57 * getdents(2) O_RDONLY directory yes 59 * mmap(2) PROT_READ O_RDONLY or O_RDWR yes 61 * mmap(2) PROT_WRITE + MAP_PRIV O_RDONLY or O_RDWR yes 62 * mmap(2) PROT_EXEC O_RDONLY or O_RDWR yes 63 * pread(2) O_RDONLY or O_RDWR yes 64 * preadv(2) O_RDONLY or O_RDWR yes 67 * read(2) O_RDONLY o [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_renameat.c | 71 ATF_REQUIRE((ofd = open(ODIR, O_RDONLY, 0)) != -1); 72 ATF_REQUIRE((nfd = open(NDIR, O_RDONLY, 0)) != -1);
|
H A D | t_readlinkat.c | 69 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1); 125 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1);
|
H A D | t_mkdirat.c | 61 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_mkfifo.c | 92 fd = open(path, O_RDONLY); 175 * If we open the FIFO as O_NONBLOCK, the O_RDONLY 179 fd = open(path, O_RDONLY | O_NONBLOCK);
|
H A D | t_socketpair.c | 63 while ((i = open("/", O_RDONLY)) < 3) 131 fd = open("/", O_RDONLY);
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | refclock_pcf.c | 76 fd = open(device, O_RDONLY); 79 fd = open(device, O_RDONLY);
|
/freebsd-11-stable/contrib/pjdfstest/tests/ftruncate/ |
H A D | 00.t | 45 expect EINVAL -u 65534 open ${n0} O_RDONLY : ftruncate 0 123
|
/freebsd-11-stable/contrib/ntp/sntp/libopts/ |
H A D | text_mmap.c | 132 mapinfo->txt_zero_fd = open("/dev/zero", O_RDONLY); 188 int o_flag = FILE_WRITABLE(prot, flags) ? O_RDWR : O_RDONLY;
|
/freebsd-11-stable/contrib/libpcap/ |
H A D | pcap-enet.c | 156 GETENETDEVICE(0, O_RDONLY, &if_fd); 158 if_fd = open("/dev/enet", O_RDONLY, 0);
|
/freebsd-11-stable/contrib/netbsd-tests/fs/vfs/ |
H A D | t_vfsops.c | 110 fd = rump_sys_fhopen(fhp, fhsize, O_RDONLY); 152 ATF_REQUIRE_ERRNO(ESTALE, rump_sys_fhopen(fhp, fhsize, O_RDONLY) == -1);
|
H A D | t_union.c | 52 fd = rump_sys_open(pathb, O_RDONLY); 141 RL(fd = rump_sys_open(mp, O_RDONLY));
|
H A D | t_rwtoro.c | 99 RL(file_fd = rump_sys_open(file_path, O_RDONLY)); 109 RL(file_fd = rump_sys_open(file_path, O_RDONLY));
|
/freebsd-11-stable/contrib/mdocml/ |
H A D | catman.c | 127 if ((in_fd = open(path, O_RDONLY)) == -1) { 245 if ((dstdir_fd = open(argv[1], O_RDONLY | O_DIRECTORY)) == -1)
|
/freebsd-11-stable/usr.sbin/acpi/acpidump/ |
H A D | acpi_user.c | 65 acpi_mem_fd = open("/dev/mem", O_RDONLY); 206 if ((acpi_mem_fd = open(infile, O_RDONLY)) == -1)
|
/freebsd-11-stable/stand/powerpc/kboot/ |
H A D | kbootfdt.c | 54 fd = host_open(path, O_RDONLY, 0); 80 pfd = host_open(subpath, O_RDONLY, 0);
|
/freebsd-11-stable/lib/libc/tests/gen/ |
H A D | dir2_test.c | 64 dirfd = open(tmpdir, O_RDONLY | O_DIRECTORY); 141 dirfd = open(tmpdir, O_RDONLY | O_DIRECTORY);
|
/freebsd-11-stable/stand/liblua/ |
H A D | lstd.c | 46 m = O_RDONLY; 170 fd = open(name, O_RDONLY);
|
/freebsd-11-stable/usr.bin/lockf/ |
H A D | lockf.c | 174 if ((fd = open(name, O_RDONLY|O_EXLOCK|flags, 0666)) == -1) { 239 if ((fd = open(name, O_RDONLY|O_EXLOCK, 0666)) == -1) {
|