Home
last modified time | relevance | path

Searched refs:xucred (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/tools/regression/sockets/unix_cmsg/
H A Dt_peercred.c39 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 Dkern.c77 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 Drpc_com.h112 struct xucred;
114 bool_t xdr_authunix_parms(struct XDR *xdrs, uint32_t *time, struct xucred *cred);
H A Dsvc_auth.c175 struct xucred *xcr; in svc_getcred()
204 xcr = (struct xucred *) rqst->rq_clntcred; in svc_getcred()
H A Dauth_unix.c88 struct xucred au_xcred;
126 struct xucred xcr; in authunix_create()
295 struct xucred xcr; in authunix_refresh()
H A Dauthunix_prot.c60 xdr_authunix_parms(XDR *xdrs, uint32_t *time, struct xucred *cred) in xdr_authunix_parms()
H A Dsvc_auth_unix.c66 struct xucred *xcr; in _svcauth_unix()
/freebsd/sys/sys/
H A Ducred.h111 struct xucred { struct
235 void cru2x(struct ucred *cr, struct xucred *xcr);
236 void cru2xt(struct thread *td, struct xucred *xcr);
H A Dunpcb.h87 struct xucred unp_peercred; /* (p) peer credentials if applicable */
H A Dmount.h579 struct xucred ex_anon; /* mapping for anonymous user */
594 struct xucred ex_anon; /* mapping for anonymous user */
/freebsd/lib/libc/gen/
H A Dgetpeereid.c42 struct xucred xuc; in getpeereid()
/freebsd/sys/nfs/
H A Dnfs_lock.h75 struct xucred lm_cred; /* user cred for lock req */
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dvnode.h34 struct xucred;
/freebsd/sys/netinet6/
H A Dudp6_usrreq.c614 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 Dsctp6_usrreq.c368 struct xucred xuc; in sctp6_getcred()
426 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in sctp6_getcred()
/freebsd/sys/security/audit/
H A Daudit_private.h182 struct xucred ar_subj_cred;
/freebsd/usr.sbin/bluetooth/sdpd/
H A Dserver.c348 struct xucred cr; in server_accept_client()
/freebsd/contrib/bsnmp/snmpd/
H A Dtrans_lsock.c426 struct xucred ucred; in check_priv_stream()
/freebsd/usr.sbin/inetd/
H A Dbuiltins.c350 struct xucred uc; in ident_stream()
/freebsd/sys/netinet/
H A Dudp_usrreq.c841 struct xucred xuc; in udp_getcred()
872 error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred)); in udp_getcred()
H A Dtcp_subr.c2695 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 Dkern_prot.c2616 cru2x(struct ucred *cr, struct xucred *xcr) in cru2x()
2631 cru2xt(struct thread *td, struct xucred *xcr) in cru2xt()
H A Duipc_usrreq.c1780 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 Dserver.c544 struct xucred peercred; in update_client_creds()
/freebsd/sys/compat/linux/
H A Dlinux_socket.c2182 struct xucred xu; in linux_getsockopt_so_peergroups()
2258 struct xucred xu; in linux_getsockopt()

12