Home
last modified time | relevance | path

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

1234567

/illumos-gate/usr/src/cmd/acct/
H A Daccton.c98 if ((s->st_mode & S_IAMB) != S_IRUSR|S_IWUSR|S_IRGRP|S_IWUSR|S_IROTH) in ckfile()
99 if (fchmod(fd, S_IRUSR|S_IWUSR|S_IRGRP|S_IWUSR|S_IROTH) == ERR) { in ckfile()
/illumos-gate/usr/src/cmd/mesg/
H A Dmesg.c100 newmode(S_IRUSR | S_IWUSR | S_IWGRP); in main()
108 newmode(S_IRUSR | S_IWUSR); in main()
128 newmode(S_IRUSR | S_IWUSR | S_IWGRP); in main()
132 newmode(S_IRUSR | S_IWUSR); in main()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/features/
H A Dpoll113 if ((st0.st_mode & (S_IRUSR|S_IWUSR)) == S_IRUSR &&
114 (st1.st_mode & (S_IRUSR|S_IWUSR)) == S_IWUSR)
118 (st0.st_mode & (S_IRUSR|S_IWUSR)) != S_IRUSR)
120 if (fchmod(sfd[1], S_IWUSR) < 0 ||
122 (st1.st_mode & (S_IRUSR|S_IWUSR)) != S_IWUSR)
/illumos-gate/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;
/illumos-gate/usr/src/tools/ctf/ctfstrip/
H A Dctfstrip.c122 if ((mode & S_IWUSR) == 0) { in fix_file()
123 if (chmod(filename, mode | S_IWUSR) == -1) { in fix_file()
142 if ((mode & S_IWUSR) == 0) { in fix_file()
/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()
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()
/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()
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()
/illumos-gate/usr/src/boot/sys/sys/
H A Dstat.h203 #define S_IWUSR 0000200 /* W for owner */ macro
208 #define S_IWRITE S_IWUSR
255 #define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dmode.c143 #ifndef S_IWUSR in main()
146 if (S_IWUSR != X_IWUSR) idperm = 0; in main()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dcontrol.c80 sff, S_IRUSR|S_IWUSR, NULL); in opencontrolsocket()
140 if (chmod(ControlSocketName, S_IRUSR|S_IWUSR) < 0) in opencontrolsocket()
189 RunAsUserName, sff, S_IRUSR|S_IWUSR, NULL);
/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 };
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()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_open.c88 O_RDWR | O_BINARY, S_IRUSR | S_IWUSR, &btopeninfo, dflags);
90 dbp = __bt_open(NULL, O_RDWR | O_BINARY, S_IRUSR | S_IWUSR, NULL, dflags);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c320 if (mkdir(get_keystore_path(), S_IRUSR|S_IWUSR|S_IXUSR) < 0) { in create_keystore()
349 S_IRUSR|S_IWUSR|S_IXUSR) < 0) { in create_keystore()
360 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in create_keystore()
379 S_IRUSR|S_IWUSR|S_IXUSR) < 0) { in create_keystore()
389 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()
1473 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in soft_keystore_setpin()
2229 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in soft_keystore_put_new_obj()
2277 O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in soft_keystore_put_new_obj()
[all …]
/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/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/lib/cfgadm_plugins/fp/common/
H A Dcfga_rep.c315 S_IRUSR | S_IWUSR)) < 0) { in update_fabric_wwn_list()
443 S_IRUSR | S_IWUSR)) < 0) { in update_fabric_wwn_list()
538 S_IRUSR | S_IWUSR)) < 0) { in update_fabric_wwn_list()
/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/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/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/randfree_file/
H A Drandfree_file.c63 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in main()
/illumos-gate/usr/src/cmd/find/
H A Dfind.c2049 S_IRUSR != 0400 || S_IWUSR != 0200 || S_IXUSR != 0100 || \ in readmode()
2060 S_IXUSR, S_IWUSR, S_IRUSR, in readmode()
2235 return (S_IWUSR|S_IWGRP|S_IWOTH); in isperm()
2306 if (temp & (S_IWUSR|S_IWGRP|S_IWOTH)) in getmode()
2307 perm |= ((S_IWUSR|S_IWGRP|S_IWOTH) & pp->p_who); in getmode()
2316 if (temp & (S_IWUSR|S_IWGRP|S_IWOTH)) in getmode()
2317 perm |= ((S_IWUSR|S_IWGRP|S_IWOTH) & pp->p_who); in getmode()
2326 if (temp & (S_IWUSR|S_IWGRP|S_IWOTH)) in getmode()
2327 perm |= ((S_IWUSR|S_IWGRP|S_IWOTH) & pp->p_who); in getmode()
/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.c41 #define ALLRW (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)

1234567