HomeSort by: relevance | last modified time | path
    Searched refs:X_OK (Results 1 - 25 of 31) sorted by relevancy

1 2

  /src/usr.bin/mkdep/
findcc.c 64 if (access(cc, X_OK) == 0)
79 && access(buffer, X_OK) == 0)
  /src/usr.bin/whereis/
whereis.c 120 if (access(*argv, X_OK) == -1)
145 if (access(path, X_OK) == -1)
  /src/usr.sbin/sliplogin/
sliplogin.c 150 if (access(loginfile, R_OK|X_OK) != 0) {
152 if (access(loginfile, R_OK|X_OK)) {
191 if (access(logoutfile, R_OK|X_OK) != 0)
193 if (access(logoutfile, R_OK|X_OK) == 0) {
  /src/lib/libc/gen/
posix_spawnp.c 130 if (access(fpath, X_OK) == 0)
  /src/lib/libc/stdlib/
system.c 69 if (access(_PATH_BSHELL, X_OK) == 0)
  /src/sys/sys/
unistd.h 173 #define X_OK 0x01 /* test for execute or search permission */
  /src/tests/lib/libc/sys/
t_access.c 46 static const int mode[4] = { R_OK, W_OK, X_OK, F_OK };
  /src/distrib/utils/ssh/
ssh.c 468 if (access(file, X_OK)) {
547 if (access(filebuf, X_OK) == 0)
  /src/bin/ksh/
c_test.c 255 return test_eaccess(opnd1, X_OK) == 0;
436 /* Routine to handle Korn's /dev/fd hack, and to deal with X_OK on
451 if (res == 0 && ksheuid == 0 && (mode & X_OK)) {
exec.c 759 shellv = search(shellv, path, X_OK, (int *) 0);
940 if (tp && (tp->flag & ISSET) && eaccess(tp->val.s, X_OK) != 0) {
964 X_OK, &tp->u2.errno_);
1027 else if (mode == X_OK
1047 int mode; /* R_OK or X_OK */
1177 X_OK | ((iop->flag & IORDUP) ? R_OK : W_OK),
io.c 323 /* X_OK is a kludge to disable this check for dups (x<&1):
327 if (!(mode & X_OK) && fl != O_RDWR
sh.h 33 # define X_OK 1
c_ksh.c 974 newval = tflag ? search(alias, path, X_OK, (int *) 0)
  /src/usr.sbin/powerd/
powerd.c 189 if (access(path, R_OK|X_OK) == 0) {
  /src/bin/pax/
file_subs.c 613 if (access(nm, R_OK | W_OK | X_OK) < 0) {
783 if ((access(name, R_OK | W_OK | X_OK) < 0) &&
  /src/sys/arch/atari/dev/
fd.c 948 #define X_OK 0
1008 case X_OK:
1047 * X_OK : Command succeeded and is complete.
1143 return X_OK;
  /src/bin/csh/
exec.c 594 access(strname, X_OK) == 0) || (dir_ok && S_ISDIR(stbuf.st_mode))));
exp.c 500 i = !access(short2str(ep), X_OK);
  /src/usr.sbin/apmd/
apmd.c 533 if (access(file, X_OK|R_OK)) {
  /src/sbin/umount/
umount.c 292 X_OK, AT_EACCESS);
  /src/usr.bin/mail/
cmd2.c 605 if (access(canon_name, W_OK|X_OK) == -1) {
  /src/usr.bin/rpcgen/
rpc_main.c 185 if (access(CPP, X_OK))
  /src/tests/fs/vfs/
t_vnops.c 1005 #define ALLACC (F_OK | X_OK | W_OK | R_OK)
  /src/bin/sh/
exec.c 1197 if (access(arg, X_OK) == 0) {
  /src/usr.sbin/sysinst/
util.c 2159 return access(prog, X_OK) == 0;
2173 if (access(tmp, X_OK) == 0) {

Completed in 27 milliseconds

1 2