Home
last modified time | relevance | path

Searched refs:S_IWGRP (Results 1 – 25 of 73) sorted by relevance

123

/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_oflags.c68 #define S_IWGRP 0 /* W for group */ macro
75 #define S_IWGRP 0000020 /* W for group */ macro
88 mode |= S_IWGRP;
/illumos-gate/usr/src/cmd/mesg/
H A Dmesg.c87 if (sbuf.st_mode & (S_IWGRP | S_IWOTH)) { in main()
102 newmode(S_IRUSR | S_IWUSR | S_IWGRP); in main()
130 newmode(S_IRUSR | S_IWUSR | S_IWGRP); in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrperm.c110 typ |= S_IWUSR|S_IWGRP|S_IWOTH; in strperm()
192 perm |= who & (S_IWUSR|S_IWGRP); in strperm()
197 if (typ & S_IWGRP) in strperm()
H A Dmodedata.c64 S_IWGRP, X_IWGRP,
H A Dfmtperm.c71 if (perm & S_IWGRP) in fmtperm()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dmode.c158 #ifndef S_IWGRP in main()
161 if (S_IWGRP != X_IWGRP) idperm = 0; in main()
/illumos-gate/usr/src/boot/sys/sys/
H A Dstat.h214 #define S_IWGRP 0000020 /* W for group */ 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…
H A Dopen.c58 mode = (op & O_CREAT) ? va_arg(ap, int) : S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH;
H A Deaccess.c97 mode |= S_IWGRP;
/illumos-gate/usr/src/cmd/find/
H A Dfind.c1948 S_IRGRP != 0040 || S_IWGRP != 0020 || S_IXGRP != 0010 || \ in readmode()
1957 S_IXGRP, S_IWGRP, S_IRGRP, in readmode()
2133 return (S_IWUSR|S_IWGRP|S_IWOTH); in isperm()
2204 if (temp & (S_IWUSR|S_IWGRP|S_IWOTH)) in getmode()
2205 perm |= ((S_IWUSR|S_IWGRP|S_IWOTH) & pp->p_who); in getmode()
2214 if (temp & (S_IWUSR|S_IWGRP|S_IWOTH)) in getmode()
2215 perm |= ((S_IWUSR|S_IWGRP|S_IWOTH) & pp->p_who); in getmode()
2224 if (temp & (S_IWUSR|S_IWGRP|S_IWOTH)) in getmode()
2225 perm |= ((S_IWUSR|S_IWGRP|S_IWOTH) & 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()
H A Dtee.c180 …while ((*hp = open(cp, oflag, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0 && errno == EI… in b_tee()
/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/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/mail/
H A Dcreatemf.c76 O_APPEND|O_CREAT|O_EXCL|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathtemp.c99 } tmp = { S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH };
147 tmp.mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH; in pathtemp()
H A Dpathexists.c121 if (st.st_mode & (S_IWUSR|S_IWGRP|S_IWOTH)) in pathexists()
/illumos-gate/usr/src/cmd/write/
H A Dwrite.c544 return (buf.st_mode & (S_IWGRP|S_IWOTH));
563 return (buf.st_mode & (S_IWGRP|S_IWOTH));
/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c273 bitset(S_IWGRP, st->st_mode))
303 bitset(S_IWUSR|S_IWGRP|S_IWOTH, mode) &&
428 mode |= S_IWGRP;
/illumos-gate/usr/src/cmd/sort/common/
H A Dutility.h97 #define OUTPUT_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | \
/illumos-gate/usr/src/cmd/dd/
H A Ddd.c902 (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | in main()
906 (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | in main()
922 (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | in main()
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_svc.c941 if (info == FTW_D && (statp->st_mode & (S_IWGRP | S_IWOTH)) != 0) { in nftw_owner()
942 mode_t newmode = (statp->st_mode & ~(S_IWGRP | S_IWOTH)) & in nftw_owner()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstdio.c100 S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
/illumos-gate/usr/src/common/acl/
H A Dacl_common.c1586 if (!(mode & S_IWUSR) && (mode & (S_IWGRP|S_IWOTH))) in acl_trivial_access_masks()
1594 if (!(mode & S_IWGRP) && (mode & S_IWOTH)) in acl_trivial_access_masks()
1602 if ((mode & S_IWUSR) && (!(mode & S_IWGRP) && (mode & S_IWOTH))) in acl_trivial_access_masks()
1621 if (mode & S_IWGRP) in acl_trivial_access_masks()

123