/freebsd/tools/regression/sockets/unix_cmsg/ |
H A D | t_peercred.c | 39 check_xucred(const struct xucred *xucred, socklen_t len) in check_xucred() argument 43 if (len != sizeof(*xucred)) { in check_xucred() 45 (size_t)len, sizeof(*xucred)); in check_xucred() 49 uc_dbgmsg("xucred.cr_version %u", xucred->cr_version); in check_xucred() 50 uc_dbgmsg("xucred.cr_uid %lu", (u_long)xucred->cr_uid); in check_xucred() 51 uc_dbgmsg("xucred.cr_ngroups %d", xucred->cr_ngroups); in check_xucred() 55 if (xucred->cr_version != XUCRED_VERSION) { in check_xucred() 57 xucred->cr_version, XUCRED_VERSION); in check_xucred() 60 if (xucred->cr_uid != uc_cfg.proc_cred.euid) { in check_xucred() 62 (u_long)xucred->cr_uid, (u_long)uc_cfg.proc_cred.euid); in check_xucred() [all …]
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | kern.c | 77 static void set_auth(CLIENT *cl, struct xucred *ucred); 232 set_auth(CLIENT *cl, struct xucred *xucred) in set_auth() argument 236 ngroups = xucred->cr_ngroups - 1; in set_auth() 242 xucred->cr_uid, in set_auth() 243 xucred->cr_groups[0], in set_auth() 245 &xucred->cr_groups[1]); in set_auth()
|
/freebsd/sys/rpc/ |
H A D | rpc_com.h | 112 struct xucred; 114 bool_t xdr_authunix_parms(struct XDR *xdrs, uint32_t *time, struct xucred *cred);
|
H A D | svc_auth.c | 175 struct xucred *xcr; in svc_getcred() 204 xcr = (struct xucred *) rqst->rq_clntcred; in svc_getcred()
|
H A D | auth_unix.c | 88 struct xucred au_xcred; 126 struct xucred xcr; in authunix_create() 295 struct xucred xcr; in authunix_refresh()
|
H A D | authunix_prot.c | 60 xdr_authunix_parms(XDR *xdrs, uint32_t *time, struct xucred *cred) in xdr_authunix_parms()
|
H A D | svc_auth_unix.c | 66 struct xucred *xcr; in _svcauth_unix()
|
/freebsd/sys/sys/ |
H A D | ucred.h | 111 struct xucred { struct 235 void cru2x(struct ucred *cr, struct xucred *xcr); 236 void cru2xt(struct thread *td, struct xucred *xcr);
|
H A D | unpcb.h | 87 struct xucred unp_peercred; /* (p) peer credentials if applicable */
|
H A D | mount.h | 579 struct xucred ex_anon; /* mapping for anonymous user */ 594 struct xucred ex_anon; /* mapping for anonymous user */
|
/freebsd/lib/libc/gen/ |
H A D | getpeereid.c | 42 struct xucred xuc; in getpeereid()
|
/freebsd/sys/nfs/ |
H A D | nfs_lock.h | 75 struct xucred lm_cred; /* user cred for lock req */
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | vnode.h | 34 struct xucred;
|
/freebsd/sys/netinet6/ |
H A D | udp6_usrreq.c | 614 struct xucred xuc; in udp6_getcred() 628 if (req->oldlen != sizeof(struct xucred)) in udp6_getcred() 655 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in udp6_getcred()
|
H A D | sctp6_usrreq.c | 368 struct xucred xuc; in sctp6_getcred() 426 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in sctp6_getcred()
|
/freebsd/sys/security/audit/ |
H A D | audit_private.h | 182 struct xucred ar_subj_cred;
|
/freebsd/usr.sbin/bluetooth/sdpd/ |
H A D | server.c | 348 struct xucred cr; in server_accept_client()
|
/freebsd/contrib/bsnmp/snmpd/ |
H A D | trans_lsock.c | 426 struct xucred ucred; in check_priv_stream()
|
/freebsd/usr.sbin/inetd/ |
H A D | builtins.c | 350 struct xucred uc; in ident_stream()
|
/freebsd/sys/netinet/ |
H A D | udp_usrreq.c | 841 struct xucred xuc; in udp_getcred() 872 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in udp_getcred()
|
H A D | tcp_subr.c | 2695 struct xucred xuc; in tcp_getcred() 2722 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in tcp_getcred() 2737 struct xucred xuc; in tcp6_getcred() 2790 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in tcp6_getcred()
|
/freebsd/sys/kern/ |
H A D | kern_prot.c | 2616 cru2x(struct ucred *cr, struct xucred *xcr) in cru2x() 2631 cru2xt(struct thread *td, struct xucred *xcr) in cru2xt()
|
H A D | uipc_usrreq.c | 1780 struct xucred xu; in uipc_ctloutput() 3528 db_print_xucred(int indent, struct xucred *xu) in db_print_xucred()
|
/freebsd/crypto/heimdal/lib/ipc/ |
H A D | server.c | 544 struct xucred peercred; in update_client_creds()
|
/freebsd/sys/compat/linux/ |
H A D | linux_socket.c | 2182 struct xucred xu; in linux_getsockopt_so_peergroups() 2258 struct xucred xu; in linux_getsockopt()
|