Searched refs:peercred (Results 1 – 3 of 3) sorted by relevance
/freebsd/crypto/heimdal/kcm/ |
H A D | connect.c | 44 kcm_client peercred; in kcm_service() local 52 peercred.uid = heim_ipc_cred_get_uid(cred); in kcm_service() 53 peercred.gid = heim_ipc_cred_get_gid(cred); in kcm_service() 54 peercred.pid = heim_ipc_cred_get_pid(cred); in kcm_service() 55 peercred.session = heim_ipc_cred_get_session(cred); in kcm_service() 59 peercred.pid); in kcm_service() 70 buf[0], buf[1], peercred.pid); in kcm_service() 80 ret = kcm_dispatch(kcm_context, &peercred, &request, &rep); in kcm_service()
|
/freebsd/crypto/heimdal/lib/ipc/ |
H A D | server.c | 503 ucred_t *peercred; in update_client_creds() local 505 if (getpeerucred(c->fd, &peercred) != 0) { in update_client_creds() 506 c->unixrights.uid = ucred_geteuid(peercred); in update_client_creds() 507 c->unixrights.gid = ucred_getegid(peercred); in update_client_creds() 509 ucred_free(peercred); in update_client_creds() 544 struct xucred peercred; in update_client_creds() local 545 socklen_t peercredlen = sizeof(peercred); in update_client_creds() 548 (void *)&peercred, &peercredlen) == 0 in update_client_creds() 549 && peercred.cr_version == XUCRED_VERSION) in update_client_creds() 551 c->unixrights.uid = peercred.cr_uid; in update_client_creds() [all …]
|
/freebsd/crypto/heimdal/doc/ |
H A D | setup.texi | 1063 authz-regexp "gidNumber=.*\\\+uidNumber=0,cn=peercred,cn=external,cn=auth''
|