Searched refs:access_ret (Results 1 – 2 of 2) sorted by relevance
503 static int access_ret = -2; in get_uuid_via_daemon() local514 if (access_ret == -2) in get_uuid_via_daemon()515 access_ret = access(uuidd_path, X_OK); in get_uuid_via_daemon()516 if (access_ret == 0) in get_uuid_via_daemon()517 access_ret = stat(uuidd_path, &st); in get_uuid_via_daemon()518 if (access_ret == 0 && (st.st_mode & (S_ISUID | S_ISGID)) == 0) in get_uuid_via_daemon()519 access_ret = access(UUIDD_DIR, W_OK); in get_uuid_via_daemon()520 if (access_ret == 0 && start_attempts++ < 5) { in get_uuid_via_daemon()
105 int access_ret = access(file_to_access, mode); in AccessFileForIPC() local107 if (!access_ret) in AccessFileForIPC()