Searched refs:AT_DIR_OK (Results 1 - 3 of 3) sorted by relevance

/ast/src/cmd/at/
H A Dat.h54 #define AT_DIR_OK(d) (S_ISDIR((d)->st_mode)&&(((d)->st_mode)&S_IPERM)==AT_DIR_MODE) macro
62 #define AT_DIR_OK(d) (S_ISDIR((d)->st_mode)) macro
76 #define AT_DIR_OK(d) (S_ISDIR((d)->st_mode)&&(((d)->st_mode)&S_IPERM)==AT_DIR_MODE) macro
H A Datx.c88 ++n && !AT_DIR_OK(&ds) ||
H A Datd.c1352 if (!pathpath(AT_JOB_DIR, "", PATH_ABSOLUTE|PATH_EXECUTE, s, state->bufsiz) || lstat(s, &ds) || !AT_DIR_OK(&ds))
1374 if (!AT_DIR_OK(&hs) || ds.st_uid != hs.st_uid || chdir(s))

Completed in 13 milliseconds