/illumos-gate/usr/src/cmd/utmpd/ |
H A D | utmpd.c | 269 (void) open("/dev/null", O_RDONLY); in main() 301 if ((WTMPXfd = open(WTMPX_FILE, O_RDONLY)) < 0) in main() 888 if ((fd = open(procname, O_RDONLY)) >= 0) { in proc_to_fd() 1064 if ((fd = open(psinfoname, O_RDONLY)) < 0 || in proc_is_alive()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | setsid.c | 63 if ((fd = open("/dev/tty", O_RDONLY|O_cloexec)) >= 0)
|
H A D | readlink.c | 48 if ((fd = open(path, O_RDONLY|O_cloexec)) < 0)
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | typeahead.c | 107 if ((cur_term->_check_fd = open("/dev/tty", O_RDONLY | in typeahead()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/libzfs/ |
H A D | many_fds.c | 56 int fd = open("/dev/null", O_RDONLY); in main()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | omitted | 15 if ((fd = _open(from, O_RDONLY|O_BINARY)) < 0) 57 if ((fd = _open("foo", O_RDONLY)) < 0)
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_open.c | 127 case O_RDONLY: 140 case O_RDONLY:
|
/illumos-gate/usr/src/test/libc-tests/tests/fexecve/ |
H A D | fexecve_test.c | 169 fd = open("/usr/bin/uname", O_RDONLY); in case_notexec() 196 fd = open("/usr/bin/ls", O_RDONLY | O_EXEC | O_CLOEXEC); in case_cloexec()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.c | 651 oflag = O_RDONLY; in lock_desc_file() 976 oflag = O_RDONLY; in soft_keystore_lock_object() 1037 if ((fd = open_and_lock_keystore_desc(O_RDONLY, in soft_keystore_get_version() 1091 if ((fd = open_and_lock_object_file(ks_handle, O_RDONLY, in soft_keystore_get_object_version() 1148 if ((fd = open_and_lock_keystore_desc(O_RDONLY, B_FALSE, in soft_keystore_getpin() 1254 old_fd = open_nointr(orig_obj_name, O_RDONLY|O_NONBLOCK); in reencrypt_obj() 1809 if ((fd = open_and_lock_keystore_desc(O_RDONLY, in soft_keystore_authpin() 1911 if ((ks_fd = open_and_lock_keystore_desc(O_RDONLY, B_FALSE, in soft_keystore_get_objs() 2035 if ((fd = open_and_lock_object_file(ks_handle, O_RDONLY, in soft_keystore_get_single_obj() 2787 if ((fd = open_and_lock_keystore_desc(O_RDONLY, B_FALSE, in soft_keystore_get_pin_salt() [all …]
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | signalfd.c | 28 int oflags = O_RDONLY; in signalfd()
|
/illumos-gate/usr/src/lib/libvolmgt/common/ |
H A D | volmgt_on_private.c | 95 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) { in _dev_mounted() 304 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) { in vol_getmntdev() 434 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) { in get_media_info()
|
/illumos-gate/usr/src/cmd/power/ |
H A D | conf.c | 170 if ((fd = open("/dev/tod", O_RDONLY)) != -1) { in get_cpr_info() 182 if ((fd = open(cpr_conf, O_RDONLY)) == -1) { in get_cpr_info() 225 if ((fd = open(PIDPATH, O_RDONLY)) == -1) in get_powerd_pid()
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | kvatoname.c | 19 fd = open(IPL_NAME, O_RDONLY);
|
H A D | nametokva.c | 18 fd = open(IPL_NAME, O_RDONLY);
|
H A D | checkrev.c | 28 if ((vfd == -1) && ((vfd = open(ipfname, O_RDONLY)) == -1)) {
|
/illumos-gate/usr/src/test/os-tests/tests/ddi_ufm/ |
H A D | ufm-test.c | 121 if ((tst_state->ufts_ufm_fd = open(DDI_UFM_DEV, O_RDONLY)) < 0) { in do_test_setup() 126 if ((tst_state->ufts_ufmtest_fd = open("/dev/ufmtest", O_RDONLY)) < 0) { in do_test_setup() 295 if (try_open(O_RDONLY | O_EXCL, EINVAL) != 0) in do_negative_open_tests() 308 if (try_open(O_RDONLY | O_NONBLOCK, EINVAL) != 0) in do_negative_open_tests() 321 if (try_open(O_RDONLY | O_NDELAY, EINVAL) != 0) in do_negative_open_tests()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vec/ |
H A D | vecfile.c | 48 if ((fd = open(file, O_RDONLY|O_cloexec)) >= 0) in vecfile()
|
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | Initialize.c | 67 O_NDELAY | O_RDONLY); in Initialize()
|
/illumos-gate/usr/src/cmd/hal/tools/sunos/ |
H A D | hal-system-lcd-get-brightness-sunos.c | 47 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { in main()
|
H A D | hal-system-lcd-set-brightness-sunos.c | 48 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { in main()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | io.d.in | 143 * flags behave as a bit-field *except* for O_RDONLY, O_WRONLY, and O_RDWR. 150 inline int O_RDONLY = @O_RDONLY@; variable 151 #pragma D binding "1.1" O_RDONLY
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_dump.c | 73 if ((dump_fd = open("/dev/dump", O_RDONLY)) >= 0) in inuse_dump()
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | fsck.c | 120 tryOpen(inFD, name, O_RDONLY, EXIT_ON_OPEN_FAILURE); in doOpen() 134 tryOpen(inFD, name, O_RDONLY, in doOpen()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_kb_kvm.c | 49 if ((io = mdb_fdio_create_path(NULL, symfile, O_RDONLY, 0)) == NULL) in libkvm_sym_io()
|
/illumos-gate/usr/src/lib/iconv_modules/euro/utils/gentbl/ |
H A D | rewritetbl.c | 41 if ((fd = open(argv[1], O_RDONLY)) == -1) { in main()
|