Home
last modified time | relevance | path

Searched refs:S_IROTH (Results 1 – 25 of 138) sorted by relevance

123456

/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_oflags.c69 #define S_IROTH 0 /* R for other */ macro
76 #define S_IROTH 0000004 /* R for other */ macro
90 mode |= S_IROTH;
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rep.c240 if ((chmod(FAB_REPOSITORY, S_IRUSR|S_IRGRP|S_IROTH) == -1) && in update_fabric_wwn_list()
244 S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH); in update_fabric_wwn_list()
254 if (fchmod(fd, S_IRUSR | S_IRGRP | S_IROTH) < 0) { in update_fabric_wwn_list()
392 S_IRUSR | S_IRGRP | S_IROTH) < 0) { in update_fabric_wwn_list()
480 if (fchmod(copy_fd, S_IRUSR | S_IRGRP | S_IROTH) < 0) { in update_fabric_wwn_list()
490 if (fchmod(tmp_fd, S_IRUSR | S_IRGRP | S_IROTH) < 0) { in update_fabric_wwn_list()
574 if (fchmod(tmp_fd, S_IRUSR | S_IRGRP | S_IROTH) < 0) { in update_fabric_wwn_list()
588 if (fchmod(copy_fd, S_IRUSR | S_IRGRP | S_IROTH) < 0) { in update_fabric_wwn_list()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrperm.c107 typ |= S_IRUSR|S_IRGRP|S_IROTH; in strperm()
193 if (typ & S_IROTH) in strperm()
212 if (typ & S_IROTH) in strperm()
H A Dmodedata.c66 S_IROTH, X_IROTH,
H A Dfmtperm.c83 if (perm & S_IROTH) in fmtperm()
/illumos-gate/usr/src/cmd/svc/startd/
H A Dutmpx.c194 sb.st_mode != (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) in utmpx_check()
196 S_IROTH); in utmpx_check()
199 sb.st_mode != (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) in utmpx_check()
201 S_IROTH); in utmpx_check()
396 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in utmpx_clear_old()
/illumos-gate/usr/src/cmd/acct/
H A Daccton.c99 if ((s->st_mode & S_IAMB) != S_IRUSR|S_IWUSR|S_IRGRP|S_IWUSR|S_IROTH) in ckfile()
100 if (fchmod(fd, S_IRUSR|S_IWUSR|S_IRGRP|S_IWUSR|S_IROTH) == ERR) { in ckfile()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_dli.c93 int mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in di_dli_open()
102 S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) < 0) { in di_dli_open()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dmode.c168 #ifndef S_IROTH in main()
171 if (S_IROTH != X_IROTH) idperm = 0; in main()
/illumos-gate/usr/src/head/rpcsvc/
H A Ddaemon_utils.h49 #define DAEMON_DIR_MODE (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH)
/illumos-gate/usr/src/boot/sys/sys/
H A Dstat.h218 #define S_IROTH 0000004 /* R for other */ macro
255 #define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dsymlink.c48 …if ((fd = open(b, O_CREAT|O_TRUNC|O_WRONLY|O_cloexec, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IW…
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dhomedir.c135 S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH) != 0) { in create_home()
151 if (mkdir(homedir, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH) in create_home()
/illumos-gate/usr/src/test/smbclient-tests/cmd/no_close/
H A Dno_close.c52 S_IRUSR | S_IWUSR | S_IROTH | S_IWOTH); in main()
/illumos-gate/usr/src/cmd/find/
H A Dfind.c1949 S_IROTH != 0004 || S_IWOTH != 0002 || S_IXOTH != 0001 in readmode()
1956 S_IXOTH, S_IWOTH, S_IROTH, in readmode()
2130 return (S_IRUSR|S_IRGRP|S_IROTH); in isperm()
2201 if (temp & (S_IRUSR|S_IRGRP|S_IROTH)) in getmode()
2202 perm |= ((S_IRUSR|S_IRGRP|S_IROTH) & in getmode()
2212 if (temp & (S_IRUSR|S_IRGRP|S_IROTH)) in getmode()
2213 perm |= ((S_IRUSR|S_IRGRP|S_IROTH) & pp->p_who); in getmode()
2222 if (temp & (S_IRUSR|S_IRGRP|S_IROTH)) in getmode()
2223 perm |= ((S_IRUSR|S_IRGRP|S_IROTH) & pp->p_who); in getmode()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dmkfifo.c56 register mode_t mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH; in b_mkfifo()
/illumos-gate/usr/src/common/acl/
H A Dacl_common.c387 hasreadperm = (mode & S_IROTH); in mode_to_ace_access()
390 hasreadperm = !(mode & S_IROTH); in mode_to_ace_access()
411 if (mode & S_IROTH) { in mode_to_ace_access()
745 mode |= S_IROTH; in ace_mask_to_mode()
1584 if (!(mode & S_IRUSR) && (mode & (S_IRGRP|S_IROTH))) in acl_trivial_access_masks()
1592 if (!(mode & S_IRGRP) && (mode & S_IROTH)) in acl_trivial_access_masks()
1600 if ((mode & S_IRUSR) && (!(mode & S_IRGRP) && (mode & S_IROTH))) in acl_trivial_access_masks()
1628 if (mode & S_IROTH) in acl_trivial_access_masks()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtvtouch.c149 mode = (~mode) & (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); in tvtouch()
273 mode = (~mode) & (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); in tvtouch()
/illumos-gate/usr/src/test/zfs-tests/cmd/randfree_file/
H A Drandfree_file.c63 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in main()
/illumos-gate/usr/src/test/smbclient-tests/cmd/close_wr/
H A Dclose_wr.c55 S_IRUSR | S_IWUSR | S_IROTH | S_IWOTH); in main()
/illumos-gate/usr/src/test/zfs-tests/cmd/largest_file/
H A Dlargest_file.c63 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in main()
/illumos-gate/usr/src/cmd/mkfifo/
H A Dmkfifo.c43 #define ALLRW (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
/illumos-gate/usr/src/cmd/oamuser/group/
H A Dadd_group.c59 sb.st_mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH;
/illumos-gate/usr/src/cmd/news/
H A Dnews.c53 #define RD_WR_ALL (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
242 umask (((~(S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH)) & S_IAMB)); in initialize()
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_odir.c73 S_IROTH | S_IXOTH; in objfs_odir_getattr()

123456