/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | fopen.c | 148 if ((accmode == O_RDONLY && (mode != 'r' || plus == '+')) || in _freopen_null()
|
/illumos-gate/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_bargs.c | 72 if ((fd = open64(path, O_RDONLY)) >= 0 && in get_kernel_fd()
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | alias.c | 98 fd = open(ap->devpaths->devpath, O_RDONLY|O_NDELAY); in alias_get_attributes()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_prom.c | 76 prom_fd = open(PROMDEV, O_RDONLY); in prom_read_disabled_list()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/ |
H A D | db-int.h | 248 #define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
|
/illumos-gate/usr/src/cmd/priocntl/ |
H A D | subr.c | 347 if ((procfd = open(pname, O_RDONLY)) < 0) in verifyupri() 360 if ((procfd = open(pname, O_RDONLY)) < 0 || in verifyupri()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_door.c | 94 if ((did = open(rendezvous, O_RDONLY, 0)) < 0) { in clnt_door_create() 471 if ((cu->cu_fd = open(rendezvous, O_RDONLY, 0)) < 0) { in _update_did()
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_main.c | 447 if ((fd = open(filepath, O_RDONLY | O_CREAT, access_mode)) == -1) { in vscand_init_file() 737 if ((vscand_kdrv_fd = open(devname, O_RDONLY)) < 0) { in vscand_kernel_bind()
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | dump_rcm.c | 393 if ((fd = open("/dev/dump", O_RDONLY)) == -1) { in dump_conf_alloc() 398 (fd = open("/dev/dump", O_RDONLY)) == -1) { in dump_conf_alloc()
|
/illumos-gate/usr/src/cmd/ctrun/ |
H A D | ctrun.c | 510 efd = open64(CTFS_ROOT "/process/pbundle", O_RDONLY); in main() 565 O_RDONLY)) == -1) || in main()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getxby_door.c | 251 dp->doorfd = open64(NAME_SERVICE_DOOR, O_RDONLY, 0); in _nsc_initdoor_fp() 719 if ((fd = open(fname, O_RDONLY)) >= 0) { in _nsc_proc_is_cache()
|
H A D | gettxt.c | 175 if ((fd = open(pathname, O_RDONLY)) == -1 || in gettxt()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_sv.c | 264 pvt->dbh = dbopen(_PATH_SERVICES_DB, O_RDONLY,O_RDONLY,DB_BTREE, NULL); in sv_rewind()
|
/illumos-gate/usr/src/cmd/swap/ |
H A D | swap.c | 538 if ((fd = open("/dev/dump", O_RDONLY)) >= 0) { in delete() 583 if ((fd = open("/dev/dump", O_RDONLY)) >= 0) { in add()
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | crypt.c | 228 fd = open("/dev/urandom", O_RDONLY); in smb_get_urandom()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | cpmv.c | 52 if ((fd1 = open(f1, O_RDONLY)) == -1)
|
/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | util.c | 143 fd = open(name, O_RDONLY); in lt_get_proc_field()
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | warmstart.c | 126 fd = open(filename, O_RDONLY, 0600); in read_struct()
|
/illumos-gate/usr/src/cmd/acpihpd/ |
H A D | acpihpd.c | 153 (void) open("/dev/null", O_RDONLY); in daemon_init()
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | isdir.c | 179 if ((fd = open(path, O_RDONLY, 0)) == -1) { in iscpio()
|
/illumos-gate/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_rfd.c | 254 O_RDONLY, 0); in rfd_reserve()
|
/illumos-gate/usr/src/lib/crypt_modules/bsdmd5/ |
H A D | bsdmd5.c | 194 if ((fd = open("/dev/urandom", O_RDONLY)) == -1) { in crypt_gensalt_impl()
|
/illumos-gate/usr/src/test/os-tests/tests/ |
H A D | odirectory.c | 46 int fd = open(path, flags | O_DIRECTORY | O_RDONLY, 0644); in odir_test_one()
|
/illumos-gate/usr/src/cmd/sgs/libelf/demo/ |
H A D | tpcom.c | 225 if ((fd = open(elf_fname, O_RDONLY)) == -1) { in main()
|
/illumos-gate/usr/src/cmd/acctadm/ |
H A D | utils.c | 199 err = ea_open(&ef, file, "SunOS", EO_TAIL, O_RDONLY, 0); in verify_exacct_file()
|