Home
last modified time | relevance | path

Searched refs:S_IRUSR (Results 76 – 100 of 179) sorted by relevance

12345678

/illumos-gate/usr/src/cmd/ed/
H A Ded.c803 if ((io = creat(file, S_IRUSR|S_IWUSR|S_IRGRP in commands()
876 : O_WRONLY|O_CREAT|O_APPEND, S_IRUSR|S_IWUSR in commands()
1236 S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); in onhup()
1244 io = creat(fn, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP in onhup()
1818 S_IRUSR|S_IWUSR)) < 0) { in init()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_acl.c938 (!(seen & S_IRUSR))) { in zfs_mode_compute()
939 seen |= S_IRUSR; in zfs_mode_compute()
941 mode |= S_IRUSR; in zfs_mode_compute()
983 if (!(seen & S_IRUSR)) { in zfs_mode_compute()
984 seen |= S_IRUSR; in zfs_mode_compute()
986 mode |= S_IRUSR; in zfs_mode_compute()
/illumos-gate/usr/src/cmd/passmgmt/
H A Dpassmgmt.c680 error = fchmod(fd_ptemp, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); in main()
724 error = fchmod(fd_stemp, S_IRUSR); in main()
765 S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); in main()
/illumos-gate/usr/src/lib/pam_modules/timestamp/
H A Dpam_timestamp.c394 if ((fd = open(timestampfile, O_WRONLY|O_CREAT, S_IRUSR|S_IWUSR)) < 0) { in pam_sm_setcred()
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_backend.c355 S_IRUSR | S_IRGRP | S_IROTH); in nwam_backend_init()
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vnops.c171 vap->va_mode = S_IRUSR | S_IRGRP | S_IROTH; in sharefs_getattr()
/illumos-gate/usr/src/uts/common/sys/
H A Dstat.h431 #define S_IRUSR 00400 /* read permission: owner */ macro
/illumos-gate/usr/src/cmd/rctladm/
H A Drctladm.c49 #define CONFIGPERM (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) /* 0644 */
/illumos-gate/usr/src/cmd/touch/
H A Dtouch.c78 (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); in main()
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dmakemap.c305 smode = S_IRUSR;
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_vnops.c316 vap->va_mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP| in socket_vop_getattr()
/illumos-gate/usr/src/cmd/init/
H A Dinit.c2200 ((stat_buf.st_mode & (S_IFMT|S_IRUSR)) == (S_IFIFO|S_IRUSR))) in setup_pipe()
3871 S_IRUSR | S_IWUSR); in st_init()
3879 st_fd = open(init_state_file, O_RDWR, S_IRUSR | S_IWUSR); in st_init()
3985 O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in st_write()
/illumos-gate/usr/src/lib/passwdutil/
H A Dfiles_attr.c377 #define HISTMODE S_IRUSR /* mode to create history file */
920 filemode = stbuf.st_mode & S_IRUSR; in files_update_shadow()
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm_impl.h101 #define SYNCH_DOOR_PERMS (S_IRUSR | S_IWUSR)
/illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c338 if (mdata.dir_mode & S_IRUSR) in main()
/illumos-gate/usr/src/common/acl/
H A Dacl_common.c1585 if (!(mode & S_IRUSR) && (mode & (S_IRGRP|S_IROTH))) in acl_trivial_access_masks()
1601 if ((mode & S_IRUSR) && (!(mode & S_IRGRP) && (mode & S_IROTH))) in acl_trivial_access_masks()
1611 if (mode & S_IRUSR) in acl_trivial_access_masks()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dcksum.c243 …(st->st_uid != state->uid && ((st->st_mode & S_ISUID) || (st->st_mode & S_IRUSR) && !(st->st_mode … in pr()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.h195 #define DB_PERMS (S_IRUSR | S_IRGRP | S_IROTH | S_IWUSR)
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Drepval.c473 if (fchmod(tfd, (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) == -1) { in repvals_to_file()
/illumos-gate/usr/src/cmd/nohup/
H A Dnohup.c46 #define NOHUP_PERM (S_IRUSR | S_IWUSR)
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dmks.h195 #define S_IRALL (S_IRUSR|S_IRGRP|S_IROTH)
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dproto.c121 # ifndef S_IRUSR
122 # define S_IRUSR 0400 macro
184 if (st.st_mode &= (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IXGRP|S_IROTH|S_IWOTH|S_IXOTH))
4878 if ((fd = creat(file, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)) < 0)
4899 if ((fd = creat(buf, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)) < 0)
4907 if (access(buf, 0) && mkdir(buf, S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH))
4916 if ((fd = creat(buf, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)) < 0)
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_uef.c943 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) == -1) { in uninstall_uef_lib()
1276 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) == -1) { in update_pkcs11conf()
/illumos-gate/usr/src/cmd/dumpadm/
H A Ddconf.c88 #define DC_PERM (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) /* Mode 0644 */
/illumos-gate/usr/src/lib/libdladm/common/
H A Dflowprop.c162 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH, process_prop_db, \

12345678