/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | readelf.c | 79 if ((fd = open(name, O_RDONLY)) == -1) { in is_shared_obj() 126 if ((fd = open((aoutname), O_RDONLY)) == -1) { in getnfile() 171 if ((fd = open(module->name, O_RDONLY)) == -1) { in process_namelist()
|
/illumos-gate/usr/src/lib/iconv_modules/euro/utils/gentbl/ |
H A D | debug.c | 43 if ((fd = open(argv[1], O_RDONLY)) == -1) { in main()
|
/illumos-gate/usr/src/lib/libmail/common/ |
H A D | xgetenv.c | 95 infd = open(xfile, O_RDONLY); in xsetenv()
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | isatty.c | 78 int fd = open(notttys[i], O_RDONLY); in main()
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | Sun_fcAdapterCreateWWN.cc | 41 int fd = open("/dev/urandom", O_RDONLY); in get_random_bytes()
|
/illumos-gate/usr/src/common/ficl/ficlplatform/ |
H A D | pager.c | 159 if ((fd = open(fname, O_RDONLY)) == -1) { in pager_file()
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/lsacl/ |
H A D | lsacl.c | 104 fd = open(file, O_RDONLY, 0); in lsacl()
|
/illumos-gate/usr/src/boot/i386/loader/ |
H A D | chain.c | 60 fd = open(argv[1], O_RDONLY); in command_chain()
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | restore.c | 954 if ((fromfd = openat64(tfd, from, O_RDONLY|O_NONBLOCK)) == -1) { in movexattrs() 967 O_RDONLY|O_NONBLOCK|O_XATTR)) == -1) { in movexattrs() 978 if ((tofd = openat64(tfd, to, O_RDONLY|O_NONBLOCK)) == -1 || in movexattrs() 979 (todir = openat64(tofd, ".", O_RDONLY|O_NONBLOCK|O_XATTR)) == -1) { in movexattrs()
|
/illumos-gate/usr/src/cmd/whodo/ |
H A D | whodo.c | 372 dirfd = priv_proc_open(pname, O_RDONLY | O_DIRECTORY); in main() 377 procfd = priv_proc_openat(dirfd, "psinfo", O_RDONLY); in main() 401 procfd = priv_proc_openat(dirfd, "status", O_RDONLY); in main() 423 procfd = priv_proc_openat(dirfd, "sigact", O_RDONLY); in main()
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | hot.c | 178 if ((fp_fd = g_object_open(fp_path, O_RDONLY | O_EXCL)) < 0) { in issue_lip() 314 O_NDELAY | O_RDONLY)) == -1) in g_force_lip()
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_main.c | 138 if ((fd = open(ADDROBJ_MAPPING_DB_FILE, O_CREAT|O_RDONLY, in ipmgmt_db_init() 176 if ((fd = open(IPMGMT_DOOR, O_CREAT|O_RDONLY, IPADM_FILE_MODE)) == -1) { in ipmgmt_door_init()
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | boot_plat.c | 146 if ((fd = open(BOOT_REDIRECT, O_RDONLY)) != -1) { in read_redirect() 238 return (open(pathname, O_RDONLY)); in boot_open()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | ulockf.c | 40 #define O_RDONLY 0 macro 116 fd = open(name, O_RDONLY);
|
H A D | callers.c | 288 (void) close(nullfd = open("/", O_RDONLY)); 756 (void) close(nullfd = open("/", O_RDONLY)); 857 (void) close(nullfd = open("/dev/null", O_RDONLY));/* partial open hack */ 924 (void) close(nullfd = open("/", O_RDONLY)); /* partial open hack */ 974 (void) close(nullfd = open("/", O_RDONLY)); /* partial open hack */
|
/illumos-gate/usr/src/boot/forth/ |
H A D | beadm.4th | 64 O_RDONLY fopen fd ! 85 O_RDONLY fopen fd ! 114 2dup O_RDONLY fopen fd ! 341 O_RDONLY fopen fd ! 411 O_RDONLY fopen fd !
|
/illumos-gate/usr/src/tools/btxld/ |
H A D | version.c | 59 fd = open(ifile, O_RDONLY); in add_version()
|
/illumos-gate/usr/src/test/os-tests/tests/regression/ |
H A D | illumos-15036.c | 71 result_fds[nvalid] = open(path, O_RDONLY, 0); in find_test_files()
|
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | minfree.c | 56 FILE *fp = minfree_open(dir, O_RDONLY, "r"); in minfree_read()
|
/illumos-gate/usr/src/cmd/boot/symdef/ |
H A D | symdef.c | 74 fd = open(argv[1], O_RDONLY); in main()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/ |
H A D | fssnap.c | 208 if ((mountfd = open(mountpoint, O_RDONLY)) < 0) in main() 299 if ((ctlfd = open(SNAP_CTL_PATH, O_RDONLY | O_EXCL)) == -1) { in create_snap() 350 if ((ctlfd = open(SNAP_CTL_PATH, O_RDONLY | O_EXCL)) == -1) in delete_snap()
|
/illumos-gate/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_fs.c | 80 fd = open(path, O_RDONLY); in slice_ufs() 114 if ((fd = open(rdev, O_RDONLY|O_NDELAY)) >= 0) { in get_sol_prtnum() 132 fd = open(rdev, O_RDONLY); in get_sol_prtnum()
|
/illumos-gate/usr/src/lib/madv/common/ |
H A D | madv.c | 170 int fd = open("/proc/self/auxv", O_RDONLY); in mygetexecname() 194 fd = open("/proc/self/status", O_RDONLY); in mygetbrk() 256 fd = open("/proc/self/psinfo", O_RDONLY); in argmatch()
|
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmf_misc.c | 1347 fd = open(devnode, O_RDONLY|O_NDELAY); in get_device() 1439 ((fd = open(supplied, O_RDONLY|O_NDELAY)) >= 0)) { in lookup_device() 1456 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device() 1473 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device() 1490 fd = open(node, O_RDONLY|O_NDELAY); in is_cd() 2070 fd = my_open(sn, O_RDONLY|O_NDELAY); in get_media_info() 2073 fd = my_open(sdev, O_RDONLY|O_NDELAY); in get_media_info()
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | isterminfo.c | 193 if (!(fd = Open(path, O_RDONLY))) {
|