/openbsd/regress/sys/mfs_noperm/ |
H A D | nopermtest.c | 88 EXPECT_ERRNO(access(mnt, X_OK), EACCES); in check_locked() 114 EXPECT_OK(access(".", R_OK | W_OK | X_OK)); in check_unlocked_vroot() 130 EXPECT_OK(access("sub", R_OK | W_OK | X_OK)); in check_unlocked_subdir()
|
/openbsd/gnu/lib/libiberty/src/ |
H A D | make-temp-file.c | 42 #define X_OK 1 macro 72 && access (dir, R_OK | W_OK | X_OK) == 0) in try_dir()
|
H A D | make-relative-prefix.c | 69 #define X_OK 1 macro 272 if (! access (nstore, X_OK) in make_relative_prefix() 274 || ! access (strcat (nstore, HOST_EXECUTABLE_SUFFIX), X_OK) in make_relative_prefix()
|
/openbsd/usr.bin/which/ |
H A D | which.c | 105 access(prog, X_OK) == 0) { in findprog() 133 access(filename, X_OK) == 0) { in findprog()
|
/openbsd/usr.bin/tic/ |
H A D | progs.priv.h | 193 #ifndef X_OK 194 #define X_OK 1 /* Test for executable. */ macro
|
/openbsd/sys/sys/ |
H A D | unistd.h | 50 #define X_OK 0x01 /* test for execute or search permission */ macro
|
/openbsd/gnu/usr.bin/binutils/include/mpw/ |
H A D | mpw.h | 81 #define X_OK 1 macro
|
H A D | ChangeLog | 26 (R_OK, W_OK, X_OK): Define if not defined.
|
/openbsd/regress/sys/kern/unveil/ |
H A D | access.c | 47 if (access(filename, X_OK) == 0) in main()
|
/openbsd/gnu/llvm/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/ |
H A D | util.py | 7 def which(cmd, mode=os.F_OK | os.X_OK, path=None):
|
/openbsd/gnu/usr.bin/cvs/os2/ |
H A D | config.h | 357 #define X_OK R_OK /* I think this is right for OS/2. */ macro
|
/openbsd/gnu/llvm/llvm/utils/gn/build/ |
H A D | write_vcsrevision.py | 20 if os.path.isfile(candidate) and os.access(candidate, os.X_OK):
|
/openbsd/gnu/llvm/llvm/utils/TableGen/jupyter/tablegen_kernel/ |
H A D | kernel.py | 73 if path is not None and os.path.isfile(path) and os.access(path, os.X_OK):
|
/openbsd/gnu/usr.bin/cvs/emx/ |
H A D | filesubr.c | 195 if (mode & X_OK) 213 if (mode & X_OK)
|
/openbsd/regress/lib/libc/sys/ |
H A D | t_access.c | 47 static const int mode[4] = { R_OK, W_OK, X_OK, F_OK };
|
/openbsd/bin/ksh/ |
H A D | exec.c | 712 shell = search(shell, search_path, X_OK, NULL); in scriptexec() 883 if (tp && (tp->flag & ISSET) && access(tp->val.s, X_OK) != 0) { in findcom() 906 search_path, X_OK, &tp->u2.errno_); in findcom() 966 else if (mode == X_OK && (!S_ISREG(statb.st_mode) || in search_access() 1107 X_OK | ((iop->flag & IORDUP) ? R_OK : W_OK), in iosetup()
|
H A D | c_test.c | 232 return test_eaccess(opnd1, X_OK) == 0; in test_eval() 362 if (res == 0 && ksheuid == 0 && (amode & X_OK)) { in test_eaccess()
|
/openbsd/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/pexpect/ |
H A D | utils.py | 45 return os.access(fpath, os.X_OK)
|
/openbsd/gnu/llvm/lldb/source/Plugins/Platform/OpenBSD/ |
H A D | PlatformOpenBSD.cpp | 182 if (access(check.c_str(), X_OK) == 0) { in LocateExecutable()
|
/openbsd/usr.sbin/hotplugd/ |
H A D | hotplugd.c | 154 if (access(file, X_OK | R_OK) == -1) { in exec_script()
|
/openbsd/gnu/gcc/gcc/ |
H A D | prefix.c | 294 if (!ALWAYS_STRIP_DOTDOT && access (result, X_OK) == 0) in update_path()
|
/openbsd/lib/libcurses/tinfo/ |
H A D | access.c | 153 result = ACCESS(head, R_OK | W_OK | X_OK); in _nc_access()
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | prefix.c | 293 if (!ALWAYS_STRIP_DOTDOT && access (result, X_OK) == 0)
|
/openbsd/gnu/usr.bin/cvs/windows-NT/ |
H A D | filesubr.c | 193 if (mode & X_OK) 211 if (mode & X_OK)
|
/openbsd/gnu/usr.bin/cvs/vms/ |
H A D | filesubr.c | 198 if (mode & X_OK) 216 if (mode & X_OK)
|