Home
last modified time | relevance | path

Searched refs:X_OK (Results 1 – 25 of 80) sorted by relevance

1234

/openbsd/regress/sys/mfs_noperm/
H A Dnopermtest.c88 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 Dmake-temp-file.c42 #define X_OK 1 macro
72 && access (dir, R_OK | W_OK | X_OK) == 0) in try_dir()
H A Dmake-relative-prefix.c69 #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 Dwhich.c105 access(prog, X_OK) == 0) { in findprog()
133 access(filename, X_OK) == 0) { in findprog()
/openbsd/usr.bin/tic/
H A Dprogs.priv.h193 #ifndef X_OK
194 #define X_OK 1 /* Test for executable. */ macro
/openbsd/sys/sys/
H A Dunistd.h50 #define X_OK 0x01 /* test for execute or search permission */ macro
/openbsd/gnu/usr.bin/binutils/include/mpw/
H A Dmpw.h81 #define X_OK 1 macro
H A DChangeLog26 (R_OK, W_OK, X_OK): Define if not defined.
/openbsd/regress/sys/kern/unveil/
H A Daccess.c47 if (access(filename, X_OK) == 0) in main()
/openbsd/gnu/llvm/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/
H A Dutil.py7 def which(cmd, mode=os.F_OK | os.X_OK, path=None):
/openbsd/gnu/usr.bin/cvs/os2/
H A Dconfig.h357 #define X_OK R_OK /* I think this is right for OS/2. */ macro
/openbsd/gnu/llvm/llvm/utils/gn/build/
H A Dwrite_vcsrevision.py20 if os.path.isfile(candidate) and os.access(candidate, os.X_OK):
/openbsd/gnu/llvm/llvm/utils/TableGen/jupyter/tablegen_kernel/
H A Dkernel.py73 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 Dfilesubr.c195 if (mode & X_OK)
213 if (mode & X_OK)
/openbsd/regress/lib/libc/sys/
H A Dt_access.c47 static const int mode[4] = { R_OK, W_OK, X_OK, F_OK };
/openbsd/bin/ksh/
H A Dexec.c712 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 Dc_test.c232 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 Dutils.py45 return os.access(fpath, os.X_OK)
/openbsd/gnu/llvm/lldb/source/Plugins/Platform/OpenBSD/
H A DPlatformOpenBSD.cpp182 if (access(check.c_str(), X_OK) == 0) { in LocateExecutable()
/openbsd/usr.sbin/hotplugd/
H A Dhotplugd.c154 if (access(file, X_OK | R_OK) == -1) { in exec_script()
/openbsd/gnu/gcc/gcc/
H A Dprefix.c294 if (!ALWAYS_STRIP_DOTDOT && access (result, X_OK) == 0) in update_path()
/openbsd/lib/libcurses/tinfo/
H A Daccess.c153 result = ACCESS(head, R_OK | W_OK | X_OK); in _nc_access()
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dprefix.c293 if (!ALWAYS_STRIP_DOTDOT && access (result, X_OK) == 0)
/openbsd/gnu/usr.bin/cvs/windows-NT/
H A Dfilesubr.c193 if (mode & X_OK)
211 if (mode & X_OK)
/openbsd/gnu/usr.bin/cvs/vms/
H A Dfilesubr.c198 if (mode & X_OK)
216 if (mode & X_OK)

1234