Home
last modified time | relevance | path

Searched refs:S_IWUSR (Results 1 – 25 of 173) sorted by relevance

1234567

/titanic_41/usr/src/cmd/mesg/
H A Dmesg.c102 newmode(S_IRUSR | S_IWUSR | S_IWGRP); in main()
110 newmode(S_IRUSR | S_IWUSR); in main()
130 newmode(S_IRUSR | S_IWUSR | S_IWGRP); in main()
134 newmode(S_IRUSR | S_IWUSR); in main()
/titanic_41/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()
/titanic_41/usr/src/lib/libshell/common/features/
H A Dpoll111 if ((st0.st_mode & (S_IRUSR|S_IWUSR)) == S_IRUSR &&
112 (st1.st_mode & (S_IRUSR|S_IWUSR)) == S_IWUSR)
116 (st0.st_mode & (S_IRUSR|S_IWUSR)) != S_IRUSR)
118 if (fchmod(sfd[1], S_IWUSR) < 0 ||
120 (st1.st_mode & (S_IRUSR|S_IWUSR)) != S_IWUSR)
/titanic_41/usr/src/cmd/sendmail/db/os/
H A Dos_oflags.c66 #define S_IWUSR S_IWRITE /* W for owner */ macro
73 #define S_IWUSR 0000200 /* W for owner */ macro
84 mode |= S_IWUSR;
/titanic_41/usr/src/tools/ctf/ctfstrip/
H A Dctfstrip.c121 if ((mode & S_IWUSR) == 0) { in fix_file()
122 if (chmod(filename, mode | S_IWUSR) == -1) { in fix_file()
141 if ((mode & S_IWUSR) == 0) { in fix_file()
/titanic_41/usr/src/lib/libast/common/string/
H A Dstrperm.c110 typ |= S_IWUSR|S_IWGRP|S_IWOTH; in strperm()
192 perm |= who & (S_IWUSR|S_IWGRP); in strperm()
198 perm |= who & S_IWUSR; in strperm()
H A Dmodedata.c61 S_IWUSR, X_IWUSR,
H A Dfmtperm.c53 if (perm & S_IWUSR) in fmtperm()
/titanic_41/usr/src/cmd/svc/startd/
H A Dutmpx.c194 sb.st_mode != (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) in utmpx_check()
195 (void) chmod(_UTMPX_FILE, S_IRUSR | S_IWUSR | S_IRGRP | in utmpx_check()
199 sb.st_mode != (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) in utmpx_check()
200 (void) chmod(_WTMPX_FILE, S_IRUSR | S_IWUSR | S_IRGRP | in utmpx_check()
396 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in utmpx_clear_old()
/titanic_41/usr/src/lib/libast/common/features/
H A Dmode.c143 #ifndef S_IWUSR in main()
146 if (S_IWUSR != X_IWUSR) idperm = 0; in main()
/titanic_41/usr/src/cmd/sendmail/src/
H A Dcontrol.c82 sff, S_IRUSR|S_IWUSR, NULL); in opencontrolsocket()
142 if (chmod(ControlSocketName, S_IRUSR|S_IWUSR) < 0) in opencontrolsocket()
191 RunAsUserName, sff, S_IRUSR|S_IWUSR, NULL);
/titanic_41/usr/src/lib/libast/common/path/
H A Dpathtemp.c99 } tmp = { S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH };
142 tmp.mode = S_IRUSR|S_IWUSR; in pathtemp()
147 tmp.mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH; in pathtemp()
H A Dpathprobe.c142 if (pathpath(path, lib, "", PATH_ABSOLUTE) && !stat(path, &st) && (st.st_mode & S_IWUSR)) in pathprobe()
275 if (op >= 0 && (st.st_mode & S_IWUSR)) in pathprobe()
/titanic_41/usr/src/tools/pmodes/
H A Dpmodes.c575 ((!(line.mode & S_IWUSR) && in update_map()
610 (line.mode & (S_IWUSR|S_IXUSR)) == (S_IWUSR|S_IXUSR)) in update_map()
611 mode_diff |= S_IWUSR; in update_map()
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_open.c90 O_RDWR | O_BINARY, S_IRUSR | S_IWUSR, &btopeninfo, dflags);
92 dbp = __bt_open(NULL, O_RDWR | O_BINARY, S_IRUSR | S_IWUSR, NULL, dflags);
/titanic_41/usr/src/lib/libast/common/comp/
H A Dsymlink.c48 if ((fd = open(b, O_CREAT|O_TRUNC|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0)
/titanic_41/usr/src/lib/libcmd/common/
H A Dmkfifo.c56 register mode_t mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH; in b_mkfifo()
/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c319 if (mkdir(get_keystore_path(), S_IRUSR|S_IWUSR|S_IXUSR) < 0) { in create_keystore()
348 S_IRUSR|S_IWUSR|S_IXUSR) < 0) { in create_keystore()
359 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in create_keystore()
378 S_IRUSR|S_IWUSR|S_IXUSR) < 0) { in create_keystore()
388 S_IRUSR|S_IWUSR|S_IXUSR) < 0) { in create_keystore()
735 O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in create_updated_keystore_version()
1267 O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in reencrypt_obj()
1474 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in soft_keystore_setpin()
2233 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in soft_keystore_put_new_obj()
2281 O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in soft_keystore_put_new_obj()
[all …]
/titanic_41/usr/src/test/zfs-tests/cmd/randfree_file/
H A Drandfree_file.c59 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in main()
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dstrmode.c89 if (mode & S_IWUSR) in strmode()
/titanic_41/usr/src/cmd/find/
H A Dfind.c1954 S_IRUSR != 0400 || S_IWUSR != 0200 || S_IXUSR != 0100 || \
1965 S_IXUSR, S_IWUSR, S_IRUSR,
2144 return (S_IWUSR|S_IWGRP|S_IWOTH);
2215 if (temp & (S_IWUSR|S_IWGRP|S_IWOTH)) in getmode()
2216 perm |= ((S_IWUSR|S_IWGRP|S_IWOTH) & pp->p_who); in getmode()
2225 if (temp & (S_IWUSR|S_IWGRP|S_IWOTH)) in getmode()
2226 perm |= ((S_IWUSR|S_IWGRP|S_IWOTH) & pp->p_who); in getmode()
2235 if (temp & (S_IWUSR|S_IWGRP|S_IWOTH)) in getmode()
2236 perm |= ((S_IWUSR|S_IWGRP|S_IWOTH) & pp->p_who); in getmode()
/titanic_41/usr/src/lib/libast/common/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()
/titanic_41/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()
/titanic_41/usr/src/cmd/mkfifo/
H A Dmkfifo.c43 #define ALLRW (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
/titanic_41/usr/src/cmd/oamuser/group/
H A Dadd_group.c59 sb.st_mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH;

1234567