Searched refs:R_OK (Results 1 – 3 of 3) sorted by relevance
363 if (geteuid() != ROOT_UID && mch_access(TtyName, R_OK | W_OK)) in mch_openpty()421 if (geteuid() != ROOT_UID && mch_access(TtyName, R_OK | W_OK)) in mch_openpty()
1599 #ifndef R_OK1600 # define R_OK 4 // for systems that don't have R_OK in unistd.h macro
7038 if (p & R_OK) in mch_access()7079 | ((p & R_OK) ? GENERIC_READ : 0); in mch_access()