Home
last modified time | relevance | path

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

/base/hiviewdfx/faultloggerd/interfaces/innerkits/faultloggerd_client/include/
Dfaultloggerd_socket.h30 bool RecvMsgCredFromSocket(int sockfd, struct ucred* pucred);
/base/hiviewdfx/faultloggerd/interfaces/innerkits/faultloggerd_client/
Dfaultloggerd_socket.cpp186 bool RecvMsgCredFromSocket(int sockfd, struct ucred* pucred) in RecvMsgCredFromSocket() argument
189 if ((sockfd < 0) || (pucred == nullptr)) { in RecvMsgCredFromSocket()
227 if (memcpy_s(pucred, sizeof(struct ucred), CMSG_DATA(cmsg), sizeof(struct ucred)) != 0) { in RecvMsgCredFromSocket()