Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/uuid/
Dgen_uuid.c503 static int access_ret = -2; in get_uuid_via_daemon() local
514 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()
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_host.cc105 int access_ret = access(file_to_access, mode); in AccessFileForIPC() local
107 if (!access_ret) in AccessFileForIPC()