Symbol: R_OK
bin/pax/file_subs.c
445
if (access(arcn->name, R_OK | W_OK | X_OK) < 0) {
bin/pax/file_subs.c
606
if ((access(name, R_OK | W_OK | X_OK) < 0) &&
bin/test/test.c
373
return (eaccess(nm, R_OK) == 0);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
984
access(name, R_OK) == 0){
crypto/heimdal/appl/ftp/ftpd/ftpd.c
996
if (access(ext, R_OK) == 0) {
crypto/krb5/src/util/profile/prof_file.c
108
if (access(filespec, R_OK) == 0)
crypto/openssh/servconf.c
281
if (file == defaultkey && access(path, R_OK) != 0)
crypto/openssl/include/internal/e_os.h
135
#ifndef R_OK
lib/libc/tests/nss/getaddrinfo_test.c
433
ATF_REQUIRE_MSG(access(hostlist_file, R_OK) == 0,
lib/libc/tests/nss/getaddrinfo_test.c
444
if (access(snapshot_file, W_OK | R_OK) != 0) {
lib/libc/tests/nss/getgr_test.c
412
if (access(snapshot_file, W_OK | R_OK) != 0) {
lib/libc/tests/nss/gethostby_test.c
971
if (access(hostlist_file, R_OK) != 0) {
lib/libc/tests/nss/gethostby_test.c
990
if (access(snapshot_file, W_OK | R_OK) != 0) {
lib/libc/tests/nss/getproto_test.c
404
if (access(snapshot_file, W_OK | R_OK) != 0) {
lib/libc/tests/nss/getpw_test.c
393
if (access(snapshot_file, W_OK | R_OK) != 0) {
lib/libc/tests/nss/getrpc_test.c
407
if (access(snapshot_file, W_OK | R_OK) != 0) {
lib/libc/tests/nss/getserv_test.c
423
if (access(snapshot_file, W_OK | R_OK) != 0) {
lib/libc/tests/nss/getusershell_test.c
154
if (access(snapshot_file, W_OK | R_OK) != 0) {
lib/libsecureboot/openpgp/opgp_key.c
321
if (access(kfile, R_OK) == 0) {
lib/libsecureboot/openpgp/opgp_sig.c
447
if (access(pbuf, R_OK) == 0) {
sbin/ddb/ddb.c
129
if (argc == 2 && argv[1][0] == '/' && access(argv[1], R_OK) == 0)
sbin/ipfw/main.c
699
if (access(av[ac - 1], R_OK) == 0)
sys/compat/linux/linux_file.c
648
if (args->amode & ~(F_OK | X_OK | W_OK | R_OK))
sys/compat/linux/linux_file.c
663
if (amode & ~(F_OK | X_OK | W_OK | R_OK))
sys/fs/fuse/fuse_internal.c
223
mask |= R_OK;
sys/kern/vfs_syscalls.c
2187
if (user_flags & R_OK)
sys/kern/vfs_syscalls.c
2248
if (amode != F_OK && (amode & ~(R_OK | W_OK | X_OK)) != 0)
tests/sys/fs/fusefs/access.cc
130
expect_noaccess(FUSE_ROOT_ID, R_OK | W_OK);
tests/sys/fs/fusefs/access.cc
171
mode_t access_mode = R_OK;
tests/sys/fs/fusefs/access.cc
227
mode_t access_mode = R_OK;
tests/sys/fs/fusefs/access.cc
250
expect_noaccess(FUSE_ROOT_ID, W_OK | R_OK);
tests/sys/fs/fusefs/access.cc
273
expect_noaccess(FUSE_ROOT_ID, W_OK | R_OK);
tests/sys/fs/fusefs/default_permissions.cc
311
mode_t access_mode = R_OK;
tests/sys/fs/fusefs/dev_fuse_poll.cc
49
const mode_t access_mode = R_OK;
tests/sys/fs/fusefs/readlink.cc
117
EXPECT_EQ(-1, access(FULLPATH, R_OK));
tests/sys/fs/fusefs/utils.cc
71
if (eaccess(devnode, R_OK | W_OK)) {
tests/sys/kern/kern_descrip_test.c
108
if (access(RENDEZVOUS, R_OK) != 0)
tools/regression/security/access/testaccess.c
217
error = access("test1", R_OK);
tools/regression/security/access/testaccess.c
224
error = eaccess("test1", R_OK);
tools/regression/security/access/testaccess.c
246
error = access("test2", R_OK);
tools/regression/security/access/testaccess.c
254
error = eaccess("test3", R_OK);
tools/regression/security/access/testaccess.c
262
error = access("test3", R_OK);
tools/regression/security/access/testaccess.c
270
error = eaccess("test2", R_OK);
tools/regression/security/access/testaccess.c
300
error = access("test4", R_OK);
tools/regression/security/access/testaccess.c
306
error = eaccess("test4", R_OK);
tools/regression/security/access/testaccess.c
314
error = access("test5", R_OK);
tools/regression/security/access/testaccess.c
322
error = eaccess("test6", R_OK);
tools/regression/security/access/testaccess.c
330
error = access("test6", R_OK);
tools/regression/security/access/testaccess.c
338
error = eaccess("test5", R_OK);
usr.bin/find/function.c
1988
return (access(entry->fts_path, R_OK) == 0);
usr.bin/fortune/fortune/fortune.c
794
if (access(datfile, R_OK) < 0) {
usr.bin/localedef/localedef.c
161
rv = access(srcpath, R_OK);
usr.bin/localedef/localedef.c
166
rv = access(srcpath, R_OK);
usr.bin/tip/tip/remote.c
81
(host[0] == '/' && access(DV = host, R_OK | W_OK) == 0)) {
usr.bin/whereis/whereis.c
325
if (access(PATH_PORTS, R_OK | X_OK) != 0)
usr.bin/whereis/whereis.c
361
access(b, R_OK | X_OK) != 0) {
usr.sbin/inetd/inetd.c
461
if (access(CONFIG, R_OK) < 0)
usr.sbin/kbdmap/kbdmap.c
535
if (access(keym, R_OK) == -1) {
usr.sbin/kbdmap/kbdmap.c
538
if (access(fn, R_OK) == -1) {
usr.sbin/lpr/lpr/lpr.c
444
ret = access(dfname, R_OK);
usr.sbin/pkg/pkg.c
1225
if (access(pkgarg, R_OK) == -1) {
usr.sbin/pmcannotate/pmcannotate.c
749
if (access(bin, R_OK | F_OK) == -1)
usr.sbin/pmcannotate/pmcannotate.c
752
if (access(ofile, R_OK | F_OK) == -1)
usr.sbin/pmcannotate/pmcannotate.c
755
if (kfile != NULL && access(kfile, R_OK | F_OK) == -1)
usr.sbin/ppp/command.c
2222
else if (access(argp, R_OK)) {
usr.sbin/rpc.ypxfrd/ypxfrd_server.c
104
if (access(buf, R_OK) == -1) {
usr.sbin/tzsetup/tzsetup.c
756
if (access(zoneinfo_file, R_OK) != 0) {