Home
last modified time | relevance | path

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

12345678

/illumos-gate/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;
/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)
116 if (fchmod(sfd[0], S_IRUSR) < 0 ||
118 (st0.st_mode & (S_IRUSR|S_IWUSR)) != S_IRUSR)
122 (st1.st_mode & (S_IRUSR|S_IWUSR)) != S_IWUSR)
/illumos-gate/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()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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()
/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/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/pwconv/
H A Dpwconv.c162 (void) umask(S_IAMB & ~(buf.st_mode & (S_IRUSR|S_IRGRP|S_IROTH))); in main()
176 mode = S_IAMB & ~(S_IRUSR); in main()
185 mode = S_IAMB & ~(buf.st_mode & S_IRUSR); in main()
469 if (chmod(OPASSWD, S_IRUSR) < 0) in main()
/illumos-gate/usr/src/boot/sys/sys/
H A Dstat.h202 #define S_IRUSR 0000400 /* R for owner */ macro
207 #define S_IREAD S_IRUSR
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.c138 #ifndef S_IRUSR in main()
141 if (S_IRUSR != X_IRUSR) 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/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/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/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/cmd/find/
H A Dfind.c1964 S_IRUSR != 0400 || S_IWUSR != 0200 || S_IXUSR != 0100 || \ in readmode()
1975 S_IXUSR, S_IWUSR, S_IRUSR, in readmode()
2147 return (S_IRUSR|S_IRGRP|S_IROTH); in isperm()
2218 if (temp & (S_IRUSR|S_IRGRP|S_IROTH)) in getmode()
2219 perm |= ((S_IRUSR|S_IRGRP|S_IROTH) & in getmode()
2229 if (temp & (S_IRUSR|S_IRGRP|S_IROTH)) in getmode()
2230 perm |= ((S_IRUSR|S_IRGRP|S_IROTH) & pp->p_who); in getmode()
2239 if (temp & (S_IRUSR|S_IRGRP|S_IROTH)) in getmode()
2240 perm |= ((S_IRUSR|S_IRGRP|S_IROTH) & 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()
/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/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/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/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)

12345678