/titanic_50/usr/src/lib/libc/port/stdio/ |
H A D | tempnam.c | 71 if (x > 0 && access(pcopy(p, tdir), (W_OK | X_OK)) == 0) in tempnam() 73 if (y > 0 && access(pcopy(p, dir), (W_OK | X_OK)) == 0) in tempnam() 75 if (access(pcopy(p, P_tmpdir), (W_OK | X_OK)) == 0) in tempnam() 77 if (access(pcopy(p, "/tmp"), (W_OK | X_OK)) != 0) { in tempnam()
|
/titanic_50/usr/src/lib/libast/common/comp/ |
H A D | eaccess.c | 84 if (flags & W_OK) 96 if (flags & W_OK) 125 if (flags & W_OK)
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | access.c | 57 #define W_OK 002 macro 71 if (fmode & ~(E_OK|R_OK|W_OK|X_OK)) in caccess() 74 mode = ((fmode & (R_OK|W_OK|X_OK)) << 6); in caccess()
|
/titanic_50/usr/src/lib/libast/common/path/ |
H A D | pathtemp.c | 84 #define VALID(d) (*(d)&&!eaccess(d,W_OK|X_OK)) 185 if (!(d = (char*)dir) || *d && eaccess(d, W_OK|X_OK)) in pathtemp() 230 …= astconf("TMP", NiL, NiL)) || eaccess(d, W_OK|X_OK)) && eaccess(d = TMP1, W_OK|X_OK) && eaccess(d… in pathtemp()
|
H A D | pathshell.c | 64 if (!(ru = getuid()) || !eaccess("/bin", W_OK)) in pathshell()
|
/titanic_50/usr/src/lib/libbc/libc/sys/common/ |
H A D | _access.c | 37 if (mode == W_OK || mode == X_OK) in access_com()
|
/titanic_50/usr/src/lib/libbc/inc/include/sys/ |
H A D | file.h | 78 #define W_OK 2 /* writable by caller */ macro
|
/titanic_50/usr/src/ucbhead/sys/ |
H A D | file.h | 125 #define W_OK 2 /* writable by caller */ macro
|
/titanic_50/usr/src/cmd/ypcmd/yppasswd/ |
H A D | yppasswdd.c | 285 if (access(passwd_file, W_OK) < 0) { in main() 290 if (access(shadow_file, W_OK) == 0) { in main() 300 if (access(adjunct_file, W_OK) == 0) { in main()
|
/titanic_50/usr/src/ucbhead/ |
H A D | unistd.h | 52 #define W_OK 2 /* Test for Write permission */ macro
|
/titanic_50/usr/src/lib/libbc/inc/include/ |
H A D | unistd.h | 101 #define W_OK 2 /* is it writable by caller */ macro
|
/titanic_50/usr/src/cmd/cmd-crypto/kmfcfg/ |
H A D | delete.c | 111 if (access(filename, W_OK) < 0) { in kc_delete()
|
/titanic_50/usr/src/cmd/lp/lib/access/ |
H A D | allowed.c | 64 return (Access(Lp_A, W_OK) == -1? 0 : 1); in is_user_admin()
|
/titanic_50/usr/src/cmd/setuname/ |
H A D | setuname.c | 320 if (access("/dev/kmem", R_OK|W_OK) == 0) { 321 if (access(RC_DIRNAME, R_OK|W_OK) == 0) {
|
/titanic_50/usr/src/cmd/filesync/ |
H A D | main.c | 632 if (access(name, R_OK|W_OK) == 0) { in check_access() 662 if (access(name, W_OK) == 0) in check_access()
|
/titanic_50/usr/src/cmd/sgs/crle/common/ |
H A D | crle.c | 363 if (access(crle.c_confil, (R_OK | W_OK)) == 0) { in main() 451 (R_OK | W_OK)) != 0) { in main()
|
/titanic_50/usr/src/cmd/rm/ |
H A D | rm.c | 385 faccessat(caller->fd, entry, W_OK|X_OK, AT_EACCESS) != 0 && in rm() 518 faccessat(caller->fd, entry, W_OK, AT_EACCESS) != 0 && in rm()
|
/titanic_50/usr/src/cmd/tip/ |
H A D | remote.c | 43 host[0] == '/' && access(DV = host, R_OK | W_OK) == 0) { in getremcap()
|
/titanic_50/usr/src/lib/libbc/libc/gen/common/ |
H A D | exportent.c | 62 if (access(TABFILE, W_OK) == 0) { in setexportent()
|
/titanic_50/usr/src/cmd/modload/ |
H A D | rem_drv.c | 140 if ((check_name_to_major(R_OK | W_OK)) == ERROR) in main()
|
/titanic_50/usr/src/lib/libxcurses/src/tic/ |
H A D | ticparse.c | 347 if (access(first, W_OK) == -1 && errno != ENOENT) { in dump_structure() 383 if (access(fn, W_OK) == -1 && errno != ENOENT) { in dump_structure()
|
/titanic_50/usr/src/ucbcmd/touch/ |
H A D | touch.c | 246 nowrite = access(filename, R_OK|W_OK);
|
/titanic_50/usr/src/cmd/svr4pkg/libinst/ |
H A D | dryrun.c | 686 if (access(targ_file, W_OK) == 0) { in init_drfile() 754 if (access(continue_bin, W_OK) != 0) { in init_contfile()
|
/titanic_50/usr/src/cmd/audio/audioconvert/ |
H A D | main.cc | 305 if (access(realfile, W_OK)) { in main()
|
/titanic_50/usr/src/cmd/backup/dump/ |
H A D | dumpitime.c | 110 if (uflag && access(increm, W_OK) < 0) { in inititimes()
|