access
access(strname, X_OK) == 0) || (dir_ok && S_ISDIR(stbuf.st_mode))));
i = !access(short2str(ep), R_OK);
i = !access(short2str(ep), W_OK);
i = !access(short2str(ep), X_OK);
#define eaccess(path, mode) access(path, mode)
if (!fflg && !access(to, F_OK)) {
if (access(from, F_OK)) {
} else if (stdin_ok && access(to, W_OK) && !stat(to, &sb)) {
if (access(from, F_OK)) {
if (access(nm, R_OK | W_OK | X_OK) < 0) {
if ((access(name, R_OK | W_OK | X_OK) < 0) &&
!(access(name, W_OK) && (errno != ETXTBSY)))
if (access(arg, X_OK) == 0) {
if (access(file, X_OK)) {
if (access(filebuf, X_OK) == 0)
(location[position].access || position == FINAL);
location[position].access = 1;
if (location[position].access || wiz || tempwiz) {
if (!location[position].access) {
fp->was_pos_file = (access(fp->posfile, W_OK) >= 0);
obscene->was_pos_file = (access(obscene->posfile, W_OK) >= 0);
if (access(datfile, R_OK) < 0) {
if (access(scorefile, 0) == -1) /* not there */
if ((i = access(psname, 1)) < 0) { /* link not there */
if (access(savefilename, 0) == 0) { /* restore game if need to */
# define eaccess access
if (access(_PATH_WUMPINFO, R_OK)) {
int access(const char *, int);
if (access(fpath, X_OK) == 0)
if (access(_PATH_BSHELL, X_OK) == 0)
PUFFSOP_SET(pops, p2k, node, access);
PUFFSOP_SET(pops, perfuse, node, access);
FILLOP(access, ACCESS);
if (access(_PATH_FSTAB, F_OK) == -1 && errno == ENOENT)
if (((const struct __CONCAT(fuse_operations_v,VER)*)fs->op)->access) \
return ((const struct __CONCAT(fuse_operations_v,VER)*)fs->op)->access(path, mask); \
int (*access) (const char *, int);
int (*access) (const char *, int);
int (*access) (const char *, int);
int (*access) (const char *, int);
int (*access) (const char *, int);
int (*access) (const char *, int);
int (*access) (const char *, int);
int (*access) (const char *, int);
return access(path, amode);
PATHCALL(int, access, DUALCALL_ACCESS, \
if (pwd->pw_uid && !access(_PATH_NOLOGIN, F_OK))
if (access(tty, W_OK|R_OK) == -1)
(void)access(sa[p], F_OK);
if (access(_PATH_CONSOLE, F_OK) == 0)
access("./MAKEDEV", X_OK) == 0
if (access(_PATH_CONSOLE, F_OK) == 0)
if (access(_PATH_CONSTTY, F_OK) == 0)
PUFFSOP_SET(pops, pgfs, node, access);
if (access(name, acc) < 0) {
.access = fanoutfs_access,
if (access(name, acc) < 0) {
.access = icfs_access,
int access;
mem_write(uint32_t dst_addr, uint32_t access, uint32_t stride,
(void *)dst_addr, access, stride, count);
switch (access) {
printf("invalid %dbyte access.\n", access);
mem_read(uint32_t src_addr, uint32_t access, uint32_t stride,
(void *)src_addr, access, stride, count);
switch (access) {
printf("invalid %dbyte access.\n", access);
switch (access) {
printf("invalid %dbyte access.\n", access);
# if an immediate data access fails, the resulting fault status #
* These equates are used to access the exception frame, the fsave
if (access(name, R_OK) < 0)
if (access(name, W_OK) < 0)
if (access(mboot, R_OK) < 0)
int access;
access = CTLFLAG_READWRITE;
access = CTLFLAG_READONLY;
access | CTLFLAG_HEX, CTLTYPE_INT, "state",
int access;
access = CTLFLAG_READWRITE;
access = CTLFLAG_READONLY;
access, CTLTYPE_INT, "brightness",
access = CTLFLAG_READWRITE;
access = CTLFLAG_READONLY;
access, CTLTYPE_BOOL, "pointer",
u_int8_t access;
rtw_access_string(enum rtw_access access)
switch (access) {
rtw_set_access(struct rtw_regs *regs, enum rtw_access access)
rtw_set_access1(regs, access);
rtw_access_string(access)));
regs->r_access = access;
uint32_t access, byte = 0;
access = CSR_READ_4(sc, BGE_NVRAM_ACCESS);
CSR_WRITE_4(sc, BGE_NVRAM_ACCESS, access | BGE_NVRAMACC_ENABLE);
CSR_WRITE_4(sc, BGE_NVRAM_ACCESS, access);
fsh_access access;
fsh_access access;
dst->access = src->access;
if (!xdr_fsh_access(xdrs, &objp->access))
if (!xdr_fsh_access(xdrs, &objp->access))
PUFFS_MSG_VARS(vn, access);
PUFFS_MSG_ALLOC(vn, access);
PUFFS_MSG_RELEASE(access);
mqueue_access(mqueue_t *mq, int access, kauth_cred_t cred)
if (access & FREAD) {
if (access & FWRITE) {
int access)
return kauth_authorize_vnode(cred, kauth_extattr_action(access), vp,
NULL, genfs_can_extattr(vp, cred, access, attrspace));
__weak_alias(access,rump___sysimpl_access);
uvm_vslock(struct vmspace *vs, void *addr, size_t len, vm_prot_t access)
#define UFS_WAPBL_UPDATE(vp, access, modify, flags) \
UFS_UPDATE(vp, access, modify, flags); \
#define UFS_WAPBL_UPDATE(vp, access, modify, flags) do { } while (0)
PUFFSOP_SET(pops, dtfs, node, access);
ATF_TC_WITH_CLEANUP(access);
ATF_TC_HEAD(access, tc)
ATF_TC_BODY(access, tc)
ATF_TC_CLEANUP(access, tc)
ATF_TP_ADD_TC(tp, access);
ATF_REQUIRE(access("test", F_OK) == 0);
ATF_REQUIRE(access(SDIR, F_OK) == 0);
ATF_REQUIRE(access(SDIR, F_OK) == 0);
ATF_REQUIRE(access(FIFO, F_OK) == 0);
ATF_REQUIRE(access(FIFO, F_OK) == 0);
ATF_REQUIRE(access(FIFO, F_OK) == 0);
ATF_REQUIRE(access(FILE, F_OK) == 0);
ATF_REQUIRE(access(FILE, F_OK) == 0);
ATF_REQUIRE(access((char *)-1, mode[i]) != 0);
ATF_REQUIRE(access("/usr", -1) != 0);
ATF_REQUIRE(access("/etc/passwd//", mode[i]) != 0);
ATF_REQUIRE(access("", mode[i]) != 0);
ATF_REQUIRE(access(buf, mode[i]) != 0);
ATF_REQUIRE(access(path, mode[i]) != 0);
ATF_REQUIRE(access(NULL, mode[i]) != 0);
if (access(path, R_OK) != -1) {
if (access(filename, R_OK) == 0
if (access(path, F_OK) == -1)
d = access(dir == local ? "/" :
d = access(cp == local ? "/" : cp ? local : ".", W_OK);
if ((d = access(new, F_OK)) < 0)
if (access(local, W_OK) < 0) {
if (access(_PATH_WTMPX, R_OK) == 0)
if (access(_PATH_WTMP, R_OK) == 0)
quietlog = access(_PATH_HUSHLOGIN, F_OK) == 0;
if (fname != NULL && access(fname, F_OK) == 0)
if (fname == NULL || access(fname, F_OK) != 0)
quietlog = access(_PATH_HUSHLOGIN, F_OK) == 0;
if (fname != NULL && access(fname, F_OK) == 0)
if (fname == NULL || access(fname, F_OK) != 0)
if (access(fn, 0) >= 0)
if (access(canon_name, W_OK|X_OK) == -1) {
if ((writable && access(path, W_OK) != 0) || chdir(path) != 0) {
if (access(cc, X_OK) == 0)
&& access(buffer, X_OK) == 0)
if ((access(av[1], R_OK | W_OK) == 0) &&
(access(av[ac - 1], R_OK | W_OK) < 0) &&
(access(av[ac - 2], R_OK | W_OK) < 0)) {
if (access(name, 4) < 0 || stat(name, &stb) < 0) {
if (access(CPP, X_OK))
} else if ((ch = access(argv[i], R_OK)))
if (access(outpath, W_OK))
if (access(outfile, F_OK))
(host[0] == '/' && access(DV = host, R_OK | W_OK) == 0)) {
if (access(*argv, X_OK) == -1)
if (access(path, X_OK) == -1)
} while (access(bname, F_OK) == 0);
&& access(path, R_OK) == 0;
if (access(_PATH_WTMP, 0) != 0 && errno == ENOENT)
if (access(file, X_OK|R_OK)) {
error = access(path, F_OK);
error = access(AUTO_INCLUDE_PATH, F_OK);
error = access(AUTO_INCLUDE_PATH, F_OK);
if (name && acctfile && access(acctfile, 02) >= 0 &&
if (access(file, 4) < 0) {
if (access(".", 2) == 0)
fd = access("/", 2);
fd = access(file, 2);
if ((access(dbpath, access_mode)) != 0) {
if (access(path, R_OK|X_OK) == 0) {
if (access(SHADOW, 0))
if (access(loginfile, R_OK|X_OK) != 0) {
if (access(loginfile, R_OK|X_OK)) {
if (access(logoutfile, R_OK|X_OK) != 0)
if (access(logoutfile, R_OK|X_OK) == 0) {
rval = access(bootxx, R_OK);
if (access(src, R_OK) != 0)
rv = access(bootxx, R_OK);
if (access(target_expand("/etc/resolv.conf"), R_OK) != 0) {
if (access(prog, X_OK) != 0) {
if (access(target_expand("/etc/resolv.conf"), R_OK) != 0) {
if (access(realfrom, R_OK) == -1 && optional)
if (access(fname, R_OK) == 0)
if (access(fname, R_OK) == 0)
return access(prog, X_OK) == 0;
if (access(tmp, X_OK) == 0) {
if (access(root, F_OK | R_OK)) {
if (access(_PATH_SHELLS, R_OK) == -1) {
return access(shellname, X_OK) != -1;
if (access(_PATH_LOGINCONF, R_OK) == -1) {