Searched refs:cred (Results 1 – 3 of 3) sorted by relevance
69 struct ucred* cred = nullptr; in onDataAvailable() local75 cred = (struct ucred*)CMSG_DATA(cmsg); in onDataAvailable()82 if (cred == nullptr) { in onDataAvailable()83 cred = &fake_cred; in onDataAvailable()84 cred->pid = 0; in onDataAvailable()85 cred->uid = DEFAULT_OVERFLOWUID; in onDataAvailable()88 if (cred->uid == AID_LOGD) { in onDataAvailable()105 !clientHasLogCredentials(cred->uid, cred->gid, cred->pid))) { in onDataAvailable()110 if (cred->pid == 0) { in onDataAvailable()111 cred->pid = logbuf ? logbuf->tidToPid(header->tid) in onDataAvailable()[all …]
60 struct ucred* cred; in uevent_kernel_recv() local74 cred = (struct ucred*)CMSG_DATA(cmsg); in uevent_kernel_recv()75 *uid = cred->uid; in uevent_kernel_recv()
288 SocketConnection(int socket, const ucred& cred) : socket_(socket), cred_(cred) {} in SocketConnection() argument334 const ucred& cred() { return cred_; } in cred() function in android::init::SocketConnection556 const auto& cr = socket.cred(); in handle_property_set_fd()579 const auto& cr = socket.cred(); in handle_property_set_fd()