Home
last modified time | relevance | path

Searched refs:W_OK (Results 1 – 25 of 52) sorted by relevance

123

/titanic_50/usr/src/lib/libc/port/stdio/
H A Dtempnam.c71 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 Deaccess.c84 if (flags & W_OK)
96 if (flags & W_OK)
125 if (flags & W_OK)
/titanic_50/usr/src/uts/common/syscall/
H A Daccess.c57 #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 Dpathtemp.c84 #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 Dpathshell.c64 if (!(ru = getuid()) || !eaccess("/bin", W_OK)) in pathshell()
/titanic_50/usr/src/lib/libbc/libc/sys/common/
H A D_access.c37 if (mode == W_OK || mode == X_OK) in access_com()
/titanic_50/usr/src/lib/libbc/inc/include/sys/
H A Dfile.h78 #define W_OK 2 /* writable by caller */ macro
/titanic_50/usr/src/ucbhead/sys/
H A Dfile.h125 #define W_OK 2 /* writable by caller */ macro
/titanic_50/usr/src/cmd/ypcmd/yppasswd/
H A Dyppasswdd.c285 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 Dunistd.h52 #define W_OK 2 /* Test for Write permission */ macro
/titanic_50/usr/src/lib/libbc/inc/include/
H A Dunistd.h101 #define W_OK 2 /* is it writable by caller */ macro
/titanic_50/usr/src/cmd/cmd-crypto/kmfcfg/
H A Ddelete.c111 if (access(filename, W_OK) < 0) { in kc_delete()
/titanic_50/usr/src/cmd/lp/lib/access/
H A Dallowed.c64 return (Access(Lp_A, W_OK) == -1? 0 : 1); in is_user_admin()
/titanic_50/usr/src/cmd/setuname/
H A Dsetuname.c320 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 Dmain.c632 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 Dcrle.c363 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 Drm.c385 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 Dremote.c43 host[0] == '/' && access(DV = host, R_OK | W_OK) == 0) { in getremcap()
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dexportent.c62 if (access(TABFILE, W_OK) == 0) { in setexportent()
/titanic_50/usr/src/cmd/modload/
H A Drem_drv.c140 if ((check_name_to_major(R_OK | W_OK)) == ERROR) in main()
/titanic_50/usr/src/lib/libxcurses/src/tic/
H A Dticparse.c347 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 Dtouch.c246 nowrite = access(filename, R_OK|W_OK);
/titanic_50/usr/src/cmd/svr4pkg/libinst/
H A Ddryrun.c686 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 Dmain.cc305 if (access(realfile, W_OK)) { in main()
/titanic_50/usr/src/cmd/backup/dump/
H A Ddumpitime.c110 if (uflag && access(increm, W_OK) < 0) { in inititimes()

123