Searched refs:X_OK (Results 1 – 15 of 15) sorted by relevance
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-pidns.c | 108 ASSERT_SUCCESS(access("/tmp/proc-host/self/", X_OK)); in TEST_F() 112 ASSERT_ERRNO_EQ(-ENOENT, access("/tmp/proc-dummy/1/", X_OK)); in TEST_F() 113 ASSERT_ERRNO_EQ(-ENOENT, access("/tmp/proc-dummy/self/", X_OK)); in TEST_F() 127 ASSERT_ERRNO_EQ(-ENOENT, faccessat(mountfd, "1/", X_OK, 0)); in TEST_F() 128 ASSERT_ERRNO_EQ(-ENOENT, faccessat(mountfd, "self/", X_OK, 0)); in TEST_F() 145 ASSERT_ERRNO_EQ(-ENOENT, faccessat(mountfd, "1/", X_OK, 0)); in TEST_F() 146 ASSERT_ERRNO_EQ(-ENOENT, faccessat(mountfd, "self/", X_OK, 0)); in TEST_F() 157 ASSERT_SUCCESS(access("/tmp/proc/1/", X_OK)); in TEST_F() 158 ASSERT_SUCCESS(access("/tmp/proc/self/", X_OK)); in TEST_F() 162 ASSERT_SUCCESS(access("/tmp/proc/1/", X_OK)); in TEST_F() [all...] |
| /linux/tools/testing/selftests/bpf/ |
| H A D | bpftool_helpers.c | 21 if (env_path && access(env_path, X_OK) == 0) { in detect_bpftool_path() 33 if (access(tmp, X_OK) == 0) { in detect_bpftool_path() 42 if (access(tmp, X_OK) == 0) { in detect_bpftool_path()
|
| /linux/tools/lib/subcmd/ |
| H A D | pager.c | 84 if (!(pager || access("/usr/bin/pager", X_OK))) in setup_pager() 86 if (!(pager || access("/usr/bin/less", X_OK))) in setup_pager()
|
| /linux/tools/include/nolibc/ |
| H A D | unistd.h | 24 #define X_OK 1 macro
|
| /linux/tools/lib/python/kdoc/ |
| H A D | python_version.py | 131 if os.path.isfile(cmd) and os.access(cmd, os.X_OK):
|
| /linux/tools/testing/selftests/exec/ |
| H A D | non-regular.c | 63 if (access(paths[i], X_OK) == 0) { in setup_link()
|
| /linux/arch/um/drivers/ |
| H A D | xterm.c | 97 if (access(argv[4], X_OK) < 0) in xterm_open()
|
| H A D | port_user.c | 183 err = os_access(argv[2], X_OK); in port_connection()
|
| /linux/tools/testing/selftests/coredump/ |
| H A D | coredump_notify_signal_test.c | 145 if (access(helper, X_OK)) in TEST_F()
|
| /linux/tools/hv/ |
| H A D | hv_vss_daemon.c | 78 if (!access(buffer, R_OK | X_OK)) { in is_dev_loop()
|
| /linux/tools/perf/tests/ |
| H A D | tests-scripts.c | 141 if (faccessat(dir_fd, path, R_OK | X_OK, 0) == 0) /* Is executable */
|
| /linux/arch/um/os-Linux/ |
| H A D | file.c | 78 (mode & OS_ACC_X_OK ? X_OK : 0) | in os_access()
|
| /linux/tools/perf/util/ |
| H A D | build-id.c | 718 if (access(linkname, X_OK) && mkdir_p(linkname, 0755)) in build_id_cache__add()
|
| /linux/tools/docs/ |
| H A D | sphinx-pre-install | 227 if os.access(full_path, os.X_OK):
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 13045 perm = R_OK | X_OK; in resolve_full_path()
|