Searched refs:access_ret (Results 1 – 1 of 1) sorted by relevance
510 static int access_ret = -2; in get_uuid_via_daemon() local521 if (access_ret == -2) in get_uuid_via_daemon()522 access_ret = access(uuidd_path, X_OK); in get_uuid_via_daemon()523 if (access_ret == 0) in get_uuid_via_daemon()524 access_ret = stat(uuidd_path, &st); in get_uuid_via_daemon()525 if (access_ret == 0 && (st.st_mode & (S_ISUID | S_ISGID)) == 0) in get_uuid_via_daemon()526 access_ret = access(UUIDD_DIR, W_OK); in get_uuid_via_daemon()527 if (access_ret == 0 && start_attempts++ < 5) { in get_uuid_via_daemon()