Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/uuid/
Dgen_uuid.c492 static int access_ret = -2; in get_uuid_via_daemon() local
503 if (access_ret == -2) in get_uuid_via_daemon()
504 access_ret = access(uuidd_path, X_OK); in get_uuid_via_daemon()
505 if (access_ret == 0) in get_uuid_via_daemon()
506 access_ret = stat(uuidd_path, &st); in get_uuid_via_daemon()
507 if (access_ret == 0 && (st.st_mode & (S_ISUID | S_ISGID)) == 0) in get_uuid_via_daemon()
508 access_ret = access(UUIDD_DIR, W_OK); in get_uuid_via_daemon()
509 if (access_ret == 0 && start_attempts++ < 5) { in get_uuid_via_daemon()