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

/external/e2fsprogs/lib/uuid/
H A Dgen_uuid.c487 static int access_ret = -2; local
498 if (access_ret == -2)
499 access_ret = access(uuidd_path, X_OK);
500 if (access_ret == 0)
501 access_ret = stat(uuidd_path, &st);
502 if (access_ret == 0 && (st.st_mode & (S_ISUID | S_ISGID)) == 0)
503 access_ret = access(UUIDD_DIR, W_OK);
504 if (access_ret == 0 && start_attempts++ < 5) {

Completed in 70 milliseconds