Home
last modified time | relevance | path

Searched refs:S_IRUSR (Results 1 – 25 of 175) sorted by relevance

1234567

/titanic_50/usr/src/cmd/sendmail/db/os/
H A Dos_oflags.c63 #ifndef S_IRUSR
65 #define S_IRUSR S_IREAD /* R for owner */ macro
72 #define S_IRUSR 0000400 /* R for owner */ macro
82 mode |= S_IRUSR;
/titanic_50/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_50/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)
114 if (fchmod(sfd[0], S_IRUSR) < 0 ||
116 (st0.st_mode & (S_IRUSR|S_IWUSR)) != S_IRUSR)
120 (st1.st_mode & (S_IRUSR|S_IWUSR)) != S_IWUSR)
/titanic_50/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()
254 if (fchmod(fd, S_IRUSR | S_IRGRP | S_IROTH) < 0) { in update_fabric_wwn_list()
315 S_IRUSR | S_IWUSR)) < 0) { in update_fabric_wwn_list()
392 S_IRUSR | S_IRGRP | S_IROTH) < 0) { in update_fabric_wwn_list()
443 S_IRUSR | S_IWUSR)) < 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()
538 S_IRUSR | S_IWUSR)) < 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()
/titanic_50/usr/src/lib/libast/common/string/
H A Dstrperm.c107 typ |= S_IRUSR|S_IRGRP|S_IROTH; in strperm()
194 perm |= who & (S_IRUSR|S_IRGRP); in strperm()
200 perm |= who & S_IRUSR; in strperm()
208 if (typ & S_IRUSR) in strperm()
H A Dmodedata.c60 S_IRUSR, X_IRUSR,
H A Dfmtperm.c51 if (perm & S_IRUSR) in fmtperm()
/titanic_50/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_50/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_50/usr/src/cmd/pwconv/
H A Dpwconv.c165 (void) umask(S_IAMB & ~(buf.st_mode & (S_IRUSR|S_IRGRP|S_IROTH))); in main()
179 mode = S_IAMB & ~(S_IRUSR); in main()
188 mode = S_IAMB & ~(buf.st_mode & S_IRUSR); in main()
466 if (chmod(OPASSWD, S_IRUSR) < 0) in main()
/titanic_50/usr/src/lib/libast/common/features/
H A Dmode.c138 #ifndef S_IRUSR in main()
141 if (S_IRUSR != X_IRUSR) idperm = 0; in main()
/titanic_50/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_50/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()
/titanic_50/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_50/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_50/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_50/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_50/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_50/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dstrmode.c85 if (mode & S_IRUSR) in strmode()
/titanic_50/usr/src/cmd/find/
H A Dfind.c1954 S_IRUSR != 0400 || S_IWUSR != 0200 || S_IXUSR != 0100 || \
1965 S_IXUSR, S_IWUSR, S_IRUSR,
2141 return (S_IRUSR|S_IRGRP|S_IROTH);
2212 if (temp & (S_IRUSR|S_IRGRP|S_IROTH)) in getmode()
2213 perm |= ((S_IRUSR|S_IRGRP|S_IROTH) & in getmode()
2223 if (temp & (S_IRUSR|S_IRGRP|S_IROTH)) in getmode()
2224 perm |= ((S_IRUSR|S_IRGRP|S_IROTH) & pp->p_who); in getmode()
2233 if (temp & (S_IRUSR|S_IRGRP|S_IROTH)) in getmode()
2234 perm |= ((S_IRUSR|S_IRGRP|S_IROTH) & pp->p_who); in getmode()
/titanic_50/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_50/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_50/usr/src/cmd/mkfifo/
H A Dmkfifo.c43 #define ALLRW (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
/titanic_50/usr/src/cmd/oamuser/group/
H A Dadd_group.c59 sb.st_mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH;
/titanic_50/usr/src/cmd/mail/
H A Dcreatemf.c76 O_APPEND|O_CREAT|O_EXCL|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP);

1234567