Symbol: access
bin/csh/exec.c
594
access(strname, X_OK) == 0) || (dir_ok && S_ISDIR(stbuf.st_mode))));
bin/csh/exp.c
494
i = !access(short2str(ep), R_OK);
bin/csh/exp.c
497
i = !access(short2str(ep), W_OK);
bin/csh/exp.c
500
i = !access(short2str(ep), X_OK);
bin/ksh/sh.h
168
#define eaccess(path, mode) access(path, mode)
bin/mv/mv.c
185
if (!fflg && !access(to, F_OK)) {
bin/mv/mv.c
190
if (access(from, F_OK)) {
bin/mv/mv.c
195
} else if (stdin_ok && access(to, W_OK) && !stat(to, &sb)) {
bin/mv/mv.c
196
if (access(from, F_OK)) {
bin/pax/file_subs.c
613
if (access(nm, R_OK | W_OK | X_OK) < 0) {
bin/pax/file_subs.c
783
if ((access(name, R_OK | W_OK | X_OK) < 0) &&
bin/rm/rm.c
537
!(access(name, W_OK) && (errno != ETXTBSY)))
bin/sh/exec.c
1199
if (access(arg, X_OK) == 0) {
distrib/utils/ssh/ssh.c
468
if (access(file, X_OK)) {
distrib/utils/ssh/ssh.c
547
if (access(filebuf, X_OK) == 0)
games/battlestar/command4.c
240
(location[position].access || position == FINAL);
games/battlestar/command4.c
266
location[position].access = 1;
games/battlestar/cypher.c
74
if (location[position].access || wiz || tempwiz) {
games/battlestar/cypher.c
75
if (!location[position].access) {
games/fortune/fortune/fortune.c
575
fp->was_pos_file = (access(fp->posfile, W_OK) >= 0);
games/fortune/fortune/fortune.c
679
obscene->was_pos_file = (access(obscene->posfile, W_OK) >= 0);
games/fortune/fortune/fortune.c
788
if (access(datfile, R_OK) < 0) {
games/larn/main.c
161
if (access(scorefile, 0) == -1) /* not there */
games/larn/main.c
252
if ((i = access(psname, 1)) < 0) { /* link not there */
games/larn/main.c
265
if (access(savefilename, 0) == 0) { /* restore game if need to */
games/warp/warp.h
236
# define eaccess access
games/wump/wump.c
758
if (access(_PATH_WUMPINFO, R_OK)) {
include/unistd.h
88
int access(const char *, int);
lib/libc/gen/posix_spawnp.c
130
if (access(fpath, X_OK) == 0)
lib/libc/stdlib/system.c
69
if (access(_PATH_BSHELL, X_OK) == 0)
lib/libp2k/p2k.c
299
PUFFSOP_SET(pops, p2k, node, access);
lib/libperfuse/perfuse.c
501
PUFFSOP_SET(pops, perfuse, node, access);
lib/libpuffs/puffs.c
81
FILLOP(access, ACCESS);
lib/libquota/quota_oldfiles.c
211
if (access(_PATH_FSTAB, F_OK) == -1 && errno == ENOENT)
lib/librefuse/refuse/fs.c
1343
if (((const struct __CONCAT(fuse_operations_v,VER)*)fs->op)->access) \
lib/librefuse/refuse/fs.c
1344
return ((const struct __CONCAT(fuse_operations_v,VER)*)fs->op)->access(path, mask); \
lib/librefuse/refuse/v25.h
78
int (*access) (const char *, int);
lib/librefuse/refuse/v26.h
78
int (*access) (const char *, int);
lib/librefuse/refuse/v28.h
78
int (*access) (const char *, int);
lib/librefuse/refuse/v29.h
78
int (*access) (const char *, int);
lib/librefuse/refuse/v30.h
86
int (*access) (const char *, int);
lib/librefuse/refuse/v34.h
76
int (*access) (const char *, int);
lib/librefuse/refuse/v35.h
76
int (*access) (const char *, int);
lib/librefuse/refuse/v38.h
76
int (*access) (const char *, int);
lib/librmt/rmtlib.c
662
return access(path, amode);
lib/librumphijack/hijack.c
2781
PATHCALL(int, access, DUALCALL_ACCESS, \
libexec/rshd/rshd.c
528
if (pwd->pw_uid && !access(_PATH_NOLOGIN, F_OK))
libexec/utmp_update/utmp_update.c
146
if (access(tty, W_OK|R_OK) == -1)
regress/sys/kern/nameibench/nameibench.c
113
(void)access(sa[p], F_OK);
sbin/init/init.c
1673
if (access(_PATH_CONSOLE, F_OK) == 0)
sbin/init/init.c
1724
access("./MAKEDEV", X_OK) == 0
sbin/init/init.c
1742
if (access(_PATH_CONSOLE, F_OK) == 0)
sbin/init/init.c
684
if (access(_PATH_CONSTTY, F_OK) == 0)
share/examples/puffs/pgfs/mount.c
149
PUFFSOP_SET(pops, pgfs, node, access);
share/examples/refuse/fanoutfs/fanoutfs.c
369
if (access(name, acc) < 0) {
share/examples/refuse/fanoutfs/fanoutfs.c
587
.access = fanoutfs_access,
share/examples/refuse/icfs/icfs.c
257
if (access(name, acc) < 0) {
share/examples/refuse/icfs/icfs.c
522
.access = icfs_access,
sys/arch/acorn32/stand/lib/riscoscalls.h
376
int access;
sys/arch/ews4800mips/stand/common/mem.c
147
mem_write(uint32_t dst_addr, uint32_t access, uint32_t stride,
sys/arch/ews4800mips/stand/common/mem.c
153
(void *)dst_addr, access, stride, count);
sys/arch/ews4800mips/stand/common/mem.c
158
switch (access) {
sys/arch/ews4800mips/stand/common/mem.c
160
printf("invalid %dbyte access.\n", access);
sys/arch/ews4800mips/stand/common/mem.c
190
mem_read(uint32_t src_addr, uint32_t access, uint32_t stride,
sys/arch/ews4800mips/stand/common/mem.c
197
(void *)src_addr, access, stride, count);
sys/arch/ews4800mips/stand/common/mem.c
204
switch (access) {
sys/arch/ews4800mips/stand/common/mem.c
206
printf("invalid %dbyte access.\n", access);
sys/arch/ews4800mips/stand/common/mem.c
222
switch (access) {
sys/arch/ews4800mips/stand/common/mem.c
224
printf("invalid %dbyte access.\n", access);
sys/arch/m68k/060sp/dist/fpsp.s
19609
# if an immediate data access fails, the resulting fault status #
sys/arch/m68k/fpsp/fpsp.h
39
* These equates are used to access the exception frame, the fsave
sys/arch/x68k/stand/installboot/installboot.c
80
if (access(name, R_OK) < 0)
sys/arch/x68k/stand/installboot/installboot.c
94
if (access(name, W_OK) < 0)
sys/arch/x68k/stand/newdisk/newdisk.c
109
if (access(mboot, R_OK) < 0)
sys/dev/acpi/acpi_display.c
1286
int access;
sys/dev/acpi/acpi_display.c
1289
access = CTLFLAG_READWRITE;
sys/dev/acpi/acpi_display.c
1291
access = CTLFLAG_READONLY;
sys/dev/acpi/acpi_display.c
1294
access | CTLFLAG_HEX, CTLTYPE_INT, "state",
sys/dev/acpi/fujbp_acpi.c
363
int access;
sys/dev/acpi/fujbp_acpi.c
388
access = CTLFLAG_READWRITE;
sys/dev/acpi/fujbp_acpi.c
390
access = CTLFLAG_READONLY;
sys/dev/acpi/fujbp_acpi.c
393
access, CTLTYPE_INT, "brightness",
sys/dev/acpi/fujbp_acpi.c
401
access = CTLFLAG_READWRITE;
sys/dev/acpi/fujbp_acpi.c
403
access = CTLFLAG_READONLY;
sys/dev/acpi/fujbp_acpi.c
406
access, CTLTYPE_BOOL, "pointer",
sys/dev/ic/icp_ioctl.h
81
u_int8_t access;
sys/dev/ic/rtw.c
364
rtw_access_string(enum rtw_access access)
sys/dev/ic/rtw.c
366
switch (access) {
sys/dev/ic/rtw.c
431
rtw_set_access(struct rtw_regs *regs, enum rtw_access access)
sys/dev/ic/rtw.c
433
rtw_set_access1(regs, access);
sys/dev/ic/rtw.c
437
rtw_access_string(access)));
sys/dev/ic/rtw.c
438
regs->r_access = access;
sys/dev/pci/if_bge.c
949
uint32_t access, byte = 0;
sys/dev/pci/if_bge.c
963
access = CSR_READ_4(sc, BGE_NVRAM_ACCESS);
sys/dev/pci/if_bge.c
964
CSR_WRITE_4(sc, BGE_NVRAM_ACCESS, access | BGE_NVRAMACC_ENABLE);
sys/dev/pci/if_bge.c
987
CSR_WRITE_4(sc, BGE_NVRAM_ACCESS, access);
sys/fs/nfs/nlm/nlm_prot.h
131
fsh_access access;
sys/fs/nfs/nlm/nlm_prot.h
199
fsh_access access;
sys/fs/nfs/nlm/nlm_prot_server.c
71
dst->access = src->access;
sys/fs/nfs/nlm/nlm_prot_xdr.c
199
if (!xdr_fsh_access(xdrs, &objp->access))
sys/fs/nfs/nlm/nlm_prot_xdr.c
307
if (!xdr_fsh_access(xdrs, &objp->access))
sys/fs/puffs/puffs_vnops.c
918
PUFFS_MSG_VARS(vn, access);
sys/fs/puffs/puffs_vnops.c
941
PUFFS_MSG_ALLOC(vn, access);
sys/fs/puffs/puffs_vnops.c
949
PUFFS_MSG_RELEASE(access);
sys/kern/sys_mqueue.c
394
mqueue_access(mqueue_t *mq, int access, kauth_cred_t cred)
sys/kern/sys_mqueue.c
399
if (access & FREAD) {
sys/kern/sys_mqueue.c
402
if (access & FWRITE) {
sys/kern/vfs_xattr.c
115
int access)
sys/kern/vfs_xattr.c
121
return kauth_authorize_vnode(cred, kauth_extattr_action(access), vp,
sys/kern/vfs_xattr.c
122
NULL, genfs_can_extattr(vp, cred, access, attrspace));
sys/rump/librump/rumpkern/rump_syscalls.c
714
__weak_alias(access,rump___sysimpl_access);
sys/rump/librump/rumpkern/vm.c
949
uvm_vslock(struct vmspace *vs, void *addr, size_t len, vm_prot_t access)
sys/ufs/ufs/ufs_wapbl.h
109
#define UFS_WAPBL_UPDATE(vp, access, modify, flags) \
sys/ufs/ufs/ufs_wapbl.h
111
UFS_UPDATE(vp, access, modify, flags); \
sys/ufs/ufs/ufs_wapbl.h
149
#define UFS_WAPBL_UPDATE(vp, access, modify, flags) do { } while (0)
tests/fs/puffs/h_dtfs/dtfs.c
191
PUFFSOP_SET(pops, dtfs, node, access);
tests/kernel/t_lua.c
100
ATF_TC_WITH_CLEANUP(access);
tests/kernel/t_lua.c
101
ATF_TC_HEAD(access, tc)
tests/kernel/t_lua.c
106
ATF_TC_BODY(access, tc)
tests/kernel/t_lua.c
169
ATF_TC_CLEANUP(access, tc)
tests/kernel/t_lua.c
229
ATF_TP_ADD_TC(tp, access);
tests/lib/libc/c063/t_fexecve.c
86
ATF_REQUIRE(access("test", F_OK) == 0);
tests/lib/libc/c063/t_mkdirat.c
64
ATF_REQUIRE(access(SDIR, F_OK) == 0);
tests/lib/libc/c063/t_mkdirat.c
79
ATF_REQUIRE(access(SDIR, F_OK) == 0);
tests/lib/libc/c063/t_mkfifoat.c
128
ATF_REQUIRE(access(FIFO, F_OK) == 0);
tests/lib/libc/c063/t_mkfifoat.c
63
ATF_REQUIRE(access(FIFO, F_OK) == 0);
tests/lib/libc/c063/t_mkfifoat.c
79
ATF_REQUIRE(access(FIFO, F_OK) == 0);
tests/lib/libc/c063/t_mknodat.c
103
ATF_REQUIRE(access(FILE, F_OK) == 0);
tests/lib/libc/c063/t_mknodat.c
82
ATF_REQUIRE(access(FILE, F_OK) == 0);
tests/lib/libc/sys/t_access.c
103
ATF_REQUIRE(access((char *)-1, mode[i]) != 0);
tests/lib/libc/sys/t_access.c
119
ATF_REQUIRE(access("/usr", -1) != 0);
tests/lib/libc/sys/t_access.c
147
ATF_REQUIRE(access("/etc/passwd//", mode[i]) != 0);
tests/lib/libc/sys/t_access.c
166
ATF_REQUIRE(access("", mode[i]) != 0);
tests/lib/libc/sys/t_access.c
194
ATF_REQUIRE(access(buf, mode[i]) != 0);
tests/lib/libc/sys/t_access.c
72
ATF_REQUIRE(access(path, mode[i]) != 0);
tests/lib/libc/sys/t_access.c
98
ATF_REQUIRE(access(NULL, mode[i]) != 0);
tests/lib/libutil/t_pidfile.c
96
if (access(path, R_OK) != -1) {
usr.bin/cksum/cksum.c
437
if (access(filename, R_OK) == 0
usr.bin/cvslatest/cvslatest.c
217
if (access(path, F_OK) == -1)
usr.bin/ftp/ftp.c
1009
d = access(dir == local ? "/" :
usr.bin/ftp/ftp.c
2078
d = access(cp == local ? "/" : cp ? local : ".", W_OK);
usr.bin/ftp/ftp.c
2100
if ((d = access(new, F_OK)) < 0)
usr.bin/ftp/ftp.c
999
if (access(local, W_OK) < 0) {
usr.bin/last/last.c
231
if (access(_PATH_WTMPX, R_OK) == 0)
usr.bin/last/last.c
236
if (access(_PATH_WTMP, R_OK) == 0)
usr.bin/login/login.c
522
quietlog = access(_PATH_HUSHLOGIN, F_OK) == 0;
usr.bin/login/login.c
659
if (fname != NULL && access(fname, F_OK) == 0)
usr.bin/login/login.c
667
if (fname == NULL || access(fname, F_OK) != 0)
usr.bin/login/login_pam.c
448
quietlog = access(_PATH_HUSHLOGIN, F_OK) == 0;
usr.bin/login/login_pam.c
623
if (fname != NULL && access(fname, F_OK) == 0)
usr.bin/login/login_pam.c
629
if (fname == NULL || access(fname, F_OK) != 0)
usr.bin/mail/cmd2.c
229
if (access(fn, 0) >= 0)
usr.bin/mail/cmd2.c
605
if (access(canon_name, W_OK|X_OK) == -1) {
usr.bin/make/main.c
744
if ((writable && access(path, W_OK) != 0) || chdir(path) != 0) {
usr.bin/mkdep/findcc.c
64
if (access(cc, X_OK) == 0)
usr.bin/mkdep/findcc.c
79
&& access(buffer, X_OK) == 0)
usr.bin/qsubst/qsubst.c
552
if ((access(av[1], R_OK | W_OK) == 0) &&
usr.bin/qsubst/qsubst.c
553
(access(av[ac - 1], R_OK | W_OK) < 0) &&
usr.bin/qsubst/qsubst.c
554
(access(av[ac - 2], R_OK | W_OK) < 0)) {
usr.bin/rdist/docmd.c
459
if (access(name, 4) < 0 || stat(name, &stb) < 0) {
usr.bin/rpcgen/rpc_main.c
185
if (access(CPP, X_OK))
usr.bin/sort/sort.c
282
} else if ((ch = access(argv[i], R_OK)))
usr.bin/sort/sort.c
330
if (access(outpath, W_OK))
usr.bin/sort/sort.c
358
if (access(outfile, F_OK))
usr.bin/tip/remote.c
93
(host[0] == '/' && access(DV = host, R_OK | W_OK) == 0)) {
usr.bin/whereis/whereis.c
120
if (access(*argv, X_OK) == -1)
usr.bin/whereis/whereis.c
145
if (access(path, X_OK) == -1)
usr.bin/xinstall/xinstall.c
1152
} while (access(bname, F_OK) == 0);
usr.bin/xlint/xlint/xlint.c
466
&& access(path, R_OK) == 0;
usr.sbin/ac/ac.c
320
if (access(_PATH_WTMP, 0) != 0 && errno == ENOENT)
usr.sbin/apmd/apmd.c
533
if (access(file, X_OK|R_OK)) {
usr.sbin/autofs/common.c
1050
error = access(path, F_OK);
usr.sbin/autofs/common.c
290
error = access(AUTO_INCLUDE_PATH, F_OK);
usr.sbin/autofs/common.c
995
error = access(AUTO_INCLUDE_PATH, F_OK);
usr.sbin/lpr/filters/lpf.c
223
if (name && acctfile && access(acctfile, 02) >= 0 &&
usr.sbin/lpr/lpr/lpr.c
610
if (access(file, 4) < 0) {
usr.sbin/lpr/lpr/lpr.c
633
if (access(".", 2) == 0)
usr.sbin/lpr/lpr/lpr.c
637
fd = access("/", 2);
usr.sbin/lpr/lpr/lpr.c
640
fd = access(file, 2);
usr.sbin/makemandb/apropos-utils.c
386
if ((access(dbpath, access_mode)) != 0) {
usr.sbin/powerd/powerd.c
189
if (access(path, R_OK|X_OK) == 0) {
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
117
if (access(SHADOW, 0))
usr.sbin/sliplogin/sliplogin.c
150
if (access(loginfile, R_OK|X_OK) != 0) {
usr.sbin/sliplogin/sliplogin.c
152
if (access(loginfile, R_OK|X_OK)) {
usr.sbin/sliplogin/sliplogin.c
191
if (access(logoutfile, R_OK|X_OK) != 0)
usr.sbin/sliplogin/sliplogin.c
193
if (access(logoutfile, R_OK|X_OK) == 0) {
usr.sbin/sysinst/arch/i386/md.c
188
rval = access(bootxx, R_OK);
usr.sbin/sysinst/arch/i386/md.c
370
if (access(src, R_OK) != 0)
usr.sbin/sysinst/bsddisklabel.c
2011
rv = access(bootxx, R_OK);
usr.sbin/sysinst/configmenu.c
352
if (access(target_expand("/etc/resolv.conf"), R_OK) != 0) {
usr.sbin/sysinst/disks.c
1864
if (access(prog, X_OK) != 0) {
usr.sbin/sysinst/net.c
1001
if (access(target_expand("/etc/resolv.conf"), R_OK) != 0) {
usr.sbin/sysinst/target.c
453
if (access(realfrom, R_OK) == -1 && optional)
usr.sbin/sysinst/util.c
1390
if (access(fname, R_OK) == 0)
usr.sbin/sysinst/util.c
1402
if (access(fname, R_OK) == 0)
usr.sbin/sysinst/util.c
2222
return access(prog, X_OK) == 0;
usr.sbin/sysinst/util.c
2236
if (access(tmp, X_OK) == 0) {
usr.sbin/syslogd/syslogd.c
486
if (access(root, F_OK | R_OK)) {
usr.sbin/user/user.c
1011
if (access(_PATH_SHELLS, R_OK) == -1) {
usr.sbin/user/user.c
1028
return access(shellname, X_OK) != -1;
usr.sbin/user/user.c
992
if (access(_PATH_LOGINCONF, R_OK) == -1) {