Home
last modified time | relevance | path

Searched refs:R_OK (Results 1 – 25 of 63) sorted by relevance

123

/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_process_unittest.cc111 ret = open_broker.Access(kR_WhiteListed, R_OK); in TestOpenFilePerms()
115 ret = open_broker.Access(kR_WhiteListed, R_OK | W_OK); in TestOpenFilePerms()
119 ret = open_broker.Access(kR_WhiteListed, R_OK | X_OK); in TestOpenFilePerms()
137 ret = open_broker.Access(kR_WhiteListedButDenied, R_OK); in TestOpenFilePerms()
141 ret = open_broker.Access(kR_WhiteListedButDenied, R_OK | W_OK); in TestOpenFilePerms()
145 ret = open_broker.Access(kR_WhiteListedButDenied, R_OK | X_OK); in TestOpenFilePerms()
157 ret = open_broker.Access(kW_WhiteListed, R_OK); in TestOpenFilePerms()
161 ret = open_broker.Access(kW_WhiteListed, R_OK | W_OK); in TestOpenFilePerms()
165 ret = open_broker.Access(kW_WhiteListed, R_OK | X_OK); in TestOpenFilePerms()
176 ret = open_broker.Access(kRW_WhiteListed, R_OK); in TestOpenFilePerms()
[all …]
Dbroker_file_permission.cc85 if (mode != F_OK && mode & ~(R_OK | W_OK)) { in CheckAccess()
101 case R_OK: in CheckAccess()
109 case R_OK | W_OK: in CheckAccess()
Dbroker_file_permission_unittest.cc97 ASSERT_TRUE(perm.CheckAccess(path, R_OK, NULL)); in CheckPerm()
104 ASSERT_FALSE(perm.CheckAccess(path, R_OK, NULL)); in CheckPerm()
111 ASSERT_TRUE(perm.CheckAccess(path, R_OK, NULL)); in CheckPerm()
/external/strace/xlat/
Daccess_flags.h14 #if defined(R_OK) || (defined(HAVE_DECL_R_OK) && HAVE_DECL_R_OK)
15 XLAT(R_OK),
Daccess_flags.in2 R_OK
/external/valgrind/coregrind/
Dlauncher-darwin.c126 if (access(fullname, R_OK|X_OK) == 0) in find_client()
292 if (access(vgpreload_core, R_OK|X_OK) != 0) { in main()
415 if (access(toolfile, R_OK|X_OK) != 0) { in main()
/external/icu/icu4c/source/tools/tzcode/
Dprivate.h108 #ifndef R_OK
109 #define R_OK 4 macro
/external/libxml2/
Dcheck-xinclude-test-suite.py80 if os.access(URI, os.R_OK) == 0:
96 if os.access(output, os.R_OK) == 0:
/external/ltrace/testsuite/ltrace.minor/
Dcount-record.c44 access ("system_calls.tmp", R_OK); in main()
/external/autotest/client/tools/
Dcd_hash.py31 can_read_file = os.access(filename, os.R_OK)
/external/valgrind/none/tests/solaris/
Dproc_auxv.c79 if (access(execname, R_OK | X_OK)) { in main()
/external/autotest/client/profilers/powertop/src/
Dconfig.c46 if (access("/proc/config.gz", R_OK) == 0) { in read_kernel_config()
/external/autotest/client/site_tests/graphics_dEQP/
Dprocess_logs.py185 if os.access(expectation_json, os.R_OK):
231 if not os.access(output_path, os.R_OK):
/external/toybox/toys/posix/
Drm.c53 if (faccessat(fd, try->name, R_OK, 0)) { in do_rm()
/external/chromium-trace/catapult/telemetry/build/
Dlinux_setup_msr.py51 if not os.access(MSR_DEV_FILE_PATH, os.R_OK):
/external/blktrace/btreplay/
Dbtrecord.c344 if (access(full_name, R_OK) != 0) in add_input_file()
399 if (access(idir, R_OK | X_OK) != 0) { in handle_args()
408 if (access(odir, R_OK | X_OK) != 0) { in handle_args()
/external/autotest/client/tests/memory_api/
Dmemory_api.py30 if os.access("/proc/sys/vm/vma_max_shift", os.R_OK):
/external/toybox/toys/lsb/
Dumount.c121 if (!(toys.optflags & FLAG_n) && !access(pm, R_OK)) in umount_main()
/external/ltrace/testsuite/ltrace.main/
Dsystem_calls.exp61 access ("system_calls.tmp", R_OK);
/external/toybox/toys/other/
Dsysctl.c109 if (!access(path, R_OK)) dirtree_read(path, do_show_keys); in process_key()
Dlogin.c128 if (pwd->pw_uid && !access("/etc/nologin", R_OK)) { in login_main()
/external/autotest/client/
Dsetup_modules.py50 if not os.access(full_name, os.R_OK | os.X_OK):
/external/toybox/toys/pending/
Duseradd.c139 if (!access(skel, R_OK))
/external/opencv3/modules/python/test/
Dtickets.py16 if os.access(path, os.R_OK):
/external/libcap-ng/libcap-ng-0.7/utils/
Dcaptest.c178 if (access("/etc/shadow", R_OK) == 0) in report()

123