/illumos-gate/usr/src/cmd/acct/ |
H A D | accton.c | 98 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 D | mesg.c | 100 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 D | poll | 113 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 D | os_oflags.c | 66 #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 D | ctfstrip.c | 122 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 D | strperm.c | 110 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 D | modedata.c | 61 S_IWUSR, X_IWUSR,
|
H A D | fmtperm.c | 53 if (perm & S_IWUSR) in fmtperm()
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | utmpx.c | 194 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 D | stat.h | 203 #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 D | mode.c | 143 #ifndef S_IWUSR in main() 146 if (S_IWUSR != X_IWUSR) idperm = 0; in main()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | control.c | 80 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 D | pathtemp.c | 99 } 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 D | rec_open.c | 88 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 D | softKeystoreUtil.c | 320 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 D | symlink.c | 48 …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 D | no_close.c | 52 S_IRUSR | S_IWUSR | S_IROTH | S_IWOTH); in main()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rep.c | 315 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 D | tvtouch.c | 149 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 D | mkfifo.c | 56 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 D | close_wr.c | 55 S_IRUSR | S_IWUSR | S_IROTH | S_IWOTH); in main()
|
/illumos-gate/usr/src/test/zfs-tests/cmd/randfree_file/ |
H A D | randfree_file.c | 63 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in main()
|
/illumos-gate/usr/src/cmd/find/ |
H A D | find.c | 2049 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 D | largest_file.c | 63 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in main()
|
/illumos-gate/usr/src/cmd/mkfifo/ |
H A D | mkfifo.c | 41 #define ALLRW (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
|