/freebsd/lib/libc/tests/sys/ |
H A D | sendfile_test.c | 415 fd = shm_open(SHM_ANON, O_RDWR|O_CREAT, 0600); in fd_positive_shm_test() 803 fd = open(SOURCE_FILE, O_CREAT|O_RDWR, 0600); in hdtr_negative_bad_pointers_test() 862 fd = open(SOURCE_FILE, O_CREAT|O_RDWR, 0600); in offset_negative_value_less_than_zero_test() 1023 fd = open(SOURCE_FILE, O_CREAT|O_RDWR, 0600); in s_negative_not_connected_socket_test() 1082 fd = open(SOURCE_FILE, O_CREAT|O_RDWR, 0600); in ATF_TC_BODY() 1106 fd = open(SOURCE_FILE, O_CREAT|O_RDWR, 0600); in ATF_TC_BODY() 1127 fd = open(SOURCE_FILE, O_CREAT|O_RDWR, 0600); in s_negative_udp_socket_test()
|
/freebsd/contrib/capsicum-test/ |
H A D | capmode.cc | 33 fd_file_(open(TmpFile("cap_capmode"), O_RDWR|O_CREAT, 0644)), in WithFiles() 34 fd_close_(open("/dev/null", O_RDWR)), in WithFiles() 89 EXPECT_CAPMODE(open("/dev/null", O_RDWR)); in FORK_TEST_F() 625 EXPECT_CAPMODE(open("/dev/null", O_RDWR)); in thread_fn() 656 int fd = open("/dev/null", O_RDWR); in FORK_TEST() 691 EXPECT_CAPMODE(open("/dev/null", O_RDWR)); in FORK_TEST()
|
H A D | capability-fd.cc | 322 int fd = open(TmpFile("cap_file_sync"), O_RDWR|O_CREAT, 0644); 441 int fd = open(TmpFile("cap_mmap_operations"), O_RDWR | O_CREAT, 0644); 617 int fd = open(TmpFile("cap_fd_operations"), O_RDWR | O_CREAT, 0644); 698 rc = openat(dfd_cap, "cap_create", O_CREAT | O_RDWR | O_APPEND, 0600); in TryDirOps() 725 rc = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDWR | O_APPEND); in TryDirOps() 740 rc = openat(dfd_cap, "cap_fsync", O_SYNC | O_RDWR | O_APPEND); in TryDirOps() 760 rc = openat(dfd_cap, "cap_ftruncate", O_TRUNC | O_RDWR); in TryDirOps() 773 rc = openat(dfd_cap, "cap_create", O_CREAT | O_RDWR, 0600); in TryDirOps() 789 rc = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDWR); in TryDirOps() 801 rc = openat(dfd_cap, "cap_fsync", O_SYNC | O_RDWR); in TryDirOps() [all …]
|
/freebsd/contrib/pjdfstest/tests/open/ |
H A D | 20.t | 25 expect ETXTBSY open ${n0} O_RDWR
|
H A D | 16.t | 27 expect $error open ${n1} O_RDWR,O_NOFOLLOW
|
/freebsd/contrib/netbsd-tests/dev/scsipi/ |
H A D | t_cd.c | 66 RL(fd = rump_sys_open(fname, O_RDWR)); in ATF_TC_BODY()
|
/freebsd/contrib/netbsd-tests/dev/audio/ |
H A D | h_pad.c | 63 audiofd = rump_sys_open("/dev/audio0", O_RDWR); in main()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | mkstemp.c | 64 fd = open(template, O_RDWR | O_CREAT | O_EXCL, 0600); in mkstemp()
|
/freebsd/contrib/netbsd-tests/fs/puffs/ |
H A D | t_io.c | 46 RL(fd = rump_sys_open("afile", O_CREAT | O_RDWR, 0755)); in ATF_TC_BODY()
|
/freebsd/lib/libpam/pam.d/ |
H A D | convert.pl | 70 sysopen(FILE, $service, O_RDWR|O_CREAT|O_TRUNC)
|
/freebsd/share/examples/kld/cdev/test/ |
H A D | testcdev.c | 96 if ((kernel_fd = open("/dev/" CDEV_DEVICE, O_RDWR)) == -1) { in main()
|
/freebsd/tools/tools/mfi/ |
H A D | mfi_checkq.c | 58 fd = open("/dev/mfi0", O_RDWR); in main()
|
/freebsd/tools/tools/aac/ |
H A D | aac_checkq.c | 61 fd = open("/dev/aac0", O_RDWR); in main()
|
/freebsd/contrib/netbsd-tests/rump/rumpvfs/ |
H A D | t_basic.c | 63 RL(fd = rump_sys_open(TESTFILE, O_RDWR | O_CREAT, 0777)); in ATF_TC_BODY()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/ |
H A D | tmpfile_003_pos.c | 44 fd = open(penv[0], O_RDWR|O_TMPFILE|O_EXCL, 0666); in main()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/file/ |
H A D | file_fadvise.c | 87 if ((fd = open(filename, O_RDWR, 0666)) < 0) { in main()
|
/freebsd/lib/libc/stdio/ |
H A D | flags.c | 86 m = O_RDWR; in __sflags()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | dosmode_readonly_write.c | 56 fd = open(path, O_CREAT|O_RDWR, 0777); in main()
|
/freebsd/tests/sys/cddl/zfs/bin/ |
H A D | mmapwrite.c | 79 if ((fd = open(argv[1], O_RDWR|O_CREAT|O_TRUNC, 0666)) == -1) { in main()
|
/freebsd/tools/test/stress2/misc/ |
H A D | sendfile12.sh | 133 if ((fd = open(outputFile, O_RDWR | O_CREAT | O_TRUNC, 0640)) == 197 if ((fd = open(inputFile, O_RDWR)) == -1)
|
H A D | cluster.sh | 97 if ((fd = open(file, O_RDWR | O_CREAT, 0644)) == -1) 181 if ((fd = open(file, O_RDWR | O_CREAT, 0644)) == -1)
|
H A D | msdos18.sh | 126 if ((fd = open(outputFile, O_RDWR | O_CREAT | O_TRUNC, 0640)) == -1) 198 if ((fd = open(inputFile, O_RDWR | O_CREAT | O_TRUNC, 0640)) == -1)
|
/freebsd/usr.sbin/rpc.statd/ |
H A D | file.c | 179 status_fd = open(filename, O_RDWR); in init_file() 182 status_fd = open(filename, O_RDWR | O_CREAT, 0644); in init_file()
|
/freebsd/contrib/ntp/libntp/lib/isc/win32/include/isc/ |
H A D | stat.h | 62 #define O_RDWR _O_RDWR macro
|
/freebsd/tools/test/stress2/tools/ |
H A D | serial.c | 25 if ((fd = open(file, O_RDWR | O_CREAT | O_TRUNC, 0600)) < 0) in main()
|