Home | History | Annotate | Download | only in lib

Lines Matching refs:creds

345 	struct ucred *creds;
361 creds = nlmsg_get_creds(msg);
362 if (creds != NULL) {
373 memcpy(CMSG_DATA(cmsg), creds, sizeof(struct ucred));
584 * @arg creds Destination pointer for credentials (optional)
611 * filled with the received credentials and assign it to \c *creds. The caller
626 unsigned char **buf, struct ucred **creds)
658 if (creds && (sk->s_flags & NL_SOCK_PASSCRED)) {
721 if (creds && (sk->s_flags & NL_SOCK_PASSCRED)) {
751 if (creds)
752 *creds = tmpcreds;
788 struct ucred *creds = NULL;
793 n = cb->cb_recv_ow(sk, &nla, &buf, &creds);
795 n = nl_recv(sk, &nla, &buf, &creds);
815 if (creds)
816 nlmsg_set_creds(msg, creds);
961 free(creds);
964 creds = NULL;
975 free(creds);