Searched refs:cred (Results 1 – 2 of 2) sorted by relevance
72 struct ucred *cred = NULL; in onDataAvailable() local78 cred = (struct ucred *)CMSG_DATA(cmsg); in onDataAvailable()84 if (cred == NULL) { in onDataAvailable()88 if (cred->uid == AID_LOGD) { in onDataAvailable()102 !clientHasLogCredentials(cred->uid, cred->gid, cred->pid))) { in onDataAvailable()113 cred->uid, cred->pid, header->tid, msg, in onDataAvailable()
79 struct ucred *cred = (struct ucred *)CMSG_DATA(cmsg); in uevent_kernel_recv() local80 *uid = cred->uid; in uevent_kernel_recv()81 if (cred->uid != 0) { in uevent_kernel_recv()