Symbol: xucred
crypto/heimdal/lib/ipc/server.c
544
struct xucred peercred;
lib/libc/gen/getpeereid.c
42
struct xucred xuc;
sys/compat/linux/linux_socket.c
2342
struct xucred xu;
sys/compat/linux/linux_socket.c
2455
struct xucred xu;
sys/kern/kern_prot.c
2756
cru2x(struct ucred *cr, struct xucred *xcr)
sys/kern/kern_prot.c
2777
cru2xt(struct thread *td, struct xucred *xcr)
sys/kern/uipc_usrreq.c
2754
struct xucred xu;
sys/kern/uipc_usrreq.c
4613
db_print_xucred(int indent, struct xucred *xu)
sys/netinet/sctp_usrreq.c
353
struct xucred xuc;
sys/netinet/sctp_usrreq.c
405
error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred));
sys/netinet/tcp_subr.c
2979
struct xucred xuc;
sys/netinet/tcp_subr.c
3006
error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred));
sys/netinet/tcp_subr.c
3021
struct xucred xuc;
sys/netinet/tcp_subr.c
3074
error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred));
sys/netinet/udp_usrreq.c
864
struct xucred xuc;
sys/netinet/udp_usrreq.c
895
error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred));
sys/netinet6/sctp6_usrreq.c
372
struct xucred xuc;
sys/netinet6/sctp6_usrreq.c
430
error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred));
sys/netinet6/udp6_usrreq.c
623
struct xucred xuc;
sys/netinet6/udp6_usrreq.c
637
if (req->oldlen != sizeof(struct xucred))
sys/netinet6/udp6_usrreq.c
664
error = SYSCTL_OUT(req, &xuc, sizeof(struct xucred));
sys/nfs/nfs_lock.h
75
struct xucred lm_cred; /* user cred for lock req */
sys/rpc/auth_unix.c
126
struct xucred xcr;
sys/rpc/auth_unix.c
295
struct xucred xcr;
sys/rpc/auth_unix.c
88
struct xucred au_xcred;
sys/rpc/authunix_prot.c
55
xdr_authunix_parms(XDR *xdrs, uint32_t *time, struct xucred *cred)
sys/rpc/rpc_com.h
112
struct xucred;
sys/rpc/rpc_com.h
114
bool_t xdr_authunix_parms(struct XDR *xdrs, uint32_t *time, struct xucred *cred);
sys/rpc/svc_auth.c
176
struct xucred *xcr;
sys/rpc/svc_auth.c
205
xcr = (struct xucred *) rqst->rq_clntcred;
sys/rpc/svc_auth_unix.c
59
struct xucred *xcr;
sys/security/audit/audit_private.h
182
struct xucred ar_subj_cred;
sys/sys/mount.h
588
struct xucred ex_anon; /* mapping for anonymous user */
sys/sys/mount.h
603
struct xucred ex_anon; /* mapping for anonymous user */
sys/sys/ucred.h
257
void cru2x(struct ucred *cr, struct xucred *xcr);
sys/sys/ucred.h
258
void cru2xt(struct thread *td, struct xucred *xcr);
sys/sys/unpcb.h
87
struct xucred unp_peercred; /* (p) peer credentials if applicable */
tools/regression/sockets/unix_cmsg/t_peercred.c
101
len = sizeof(xucred);
tools/regression/sockets/unix_cmsg/t_peercred.c
102
if (getsockopt(fd, 0, LOCAL_PEERCRED, &xucred, &len) < 0) {
tools/regression/sockets/unix_cmsg/t_peercred.c
107
if (check_xucred(&xucred, len) < 0)
tools/regression/sockets/unix_cmsg/t_peercred.c
116
struct xucred xucred;
tools/regression/sockets/unix_cmsg/t_peercred.c
127
len = sizeof(xucred);
tools/regression/sockets/unix_cmsg/t_peercred.c
128
if (getsockopt(fd2, 0, LOCAL_PEERCRED, &xucred, &len) < 0) {
tools/regression/sockets/unix_cmsg/t_peercred.c
134
if (check_xucred(&xucred, len) < 0) {
tools/regression/sockets/unix_cmsg/t_peercred.c
39
check_xucred(const struct xucred *xucred, socklen_t len)
tools/regression/sockets/unix_cmsg/t_peercred.c
43
if (len != sizeof(*xucred)) {
tools/regression/sockets/unix_cmsg/t_peercred.c
45
(size_t)len, sizeof(*xucred));
tools/regression/sockets/unix_cmsg/t_peercred.c
49
uc_dbgmsg("xucred.cr_version %u", xucred->cr_version);
tools/regression/sockets/unix_cmsg/t_peercred.c
50
uc_dbgmsg("xucred.cr_uid %lu", (u_long)xucred->cr_uid);
tools/regression/sockets/unix_cmsg/t_peercred.c
51
uc_dbgmsg("xucred.cr_ngroups %d", xucred->cr_ngroups);
tools/regression/sockets/unix_cmsg/t_peercred.c
55
if (xucred->cr_version != XUCRED_VERSION) {
tools/regression/sockets/unix_cmsg/t_peercred.c
57
xucred->cr_version, XUCRED_VERSION);
tools/regression/sockets/unix_cmsg/t_peercred.c
60
if (xucred->cr_uid != uc_cfg.proc_cred.euid) {
tools/regression/sockets/unix_cmsg/t_peercred.c
62
(u_long)xucred->cr_uid, (u_long)uc_cfg.proc_cred.euid);
tools/regression/sockets/unix_cmsg/t_peercred.c
65
if (xucred->cr_ngroups == 0) {
tools/regression/sockets/unix_cmsg/t_peercred.c
69
if (xucred->cr_ngroups < 0) {
tools/regression/sockets/unix_cmsg/t_peercred.c
73
if (xucred->cr_ngroups > XU_NGROUPS) {
tools/regression/sockets/unix_cmsg/t_peercred.c
75
xucred->cr_ngroups, XU_NGROUPS);
tools/regression/sockets/unix_cmsg/t_peercred.c
78
if (xucred->cr_groups[0] != uc_cfg.proc_cred.egid) {
tools/regression/sockets/unix_cmsg/t_peercred.c
80
(u_long)xucred->cr_groups[0], (u_long)uc_cfg.proc_cred.egid);
tools/regression/sockets/unix_cmsg/t_peercred.c
83
if (uc_check_groups("xucred.cr_groups", xucred->cr_groups,
tools/regression/sockets/unix_cmsg/t_peercred.c
84
"xucred.cr_ngroups", xucred->cr_ngroups, false) < 0)
tools/regression/sockets/unix_cmsg/t_peercred.c
92
struct xucred xucred;
usr.sbin/inetd/builtins.c
350
struct xucred uc;
usr.sbin/rpc.lockd/kern.c
233
set_auth(CLIENT *cl, struct xucred *xucred)
usr.sbin/rpc.lockd/kern.c
243
ngroups = xucred->cr_ngroups;
usr.sbin/rpc.lockd/kern.c
244
groups = &xucred->cr_groups[0];
usr.sbin/rpc.lockd/kern.c
245
if (groups == &xucred->cr_gid) {
usr.sbin/rpc.lockd/kern.c
255
xucred->cr_uid,
usr.sbin/rpc.lockd/kern.c
256
xucred->cr_gid,
usr.sbin/rpc.lockd/kern.c
78
static void set_auth(CLIENT *cl, struct xucred *ucred);