Searched refs:cred (Results 1 – 2 of 2) sorted by relevance
67 struct ucred *cred = NULL; in onDataAvailable() local73 cred = (struct ucred *)CMSG_DATA(cmsg); in onDataAvailable()79 if (cred == NULL) { in onDataAvailable()83 if (cred->uid == AID_LOGD) { in onDataAvailable()102 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()