Home
last modified time | relevance | path

Searched refs:SCM_CREDS (Results 1 – 18 of 18) sorted by relevance

/freebsd/tools/regression/sockets/unix_cmsg/
H A DREADME59 Client connects to Server and sends N messages with SCM_CREDS ancillary
61 have SCM_CREDS ancillary data object followed by struct cmsgcred{}.
69 should have SCM_CREDS ancillary data object followed by struct sockcred{},
77 message should have SCM_CREDS ancillary data object followed by
84 with SCM_CREDS ancillary data object. Server should receive N messages,
85 the first message should have SCM_CREDS ancillary data object followed
86 by struct sockcred{}, each of next messages should have SCM_CREDS
104 SCM_CREDS ancillary data object that has wrong cmsg_len field in its
119 Client connects to Server and sends N messages with SCM_CREDS ancillary
121 have SCM_CREDS ancillary data object followed by struct cmsgcred{}.
[all …]
H A Dt_cmsg_len.c66 SCM_CREDS, sizeof(struct cmsgcred)); in t_cmsg_len_client()
H A Dt_cmsgcred.c60 SCM_CREDS, sizeof(struct cmsgcred)); in t_cmsgcred_client()
H A Duc_common.c626 if (uc_check_cmsghdr(cmsghdr, SCM_CREDS, sizeof(struct cmsgcred)) < 0) in uc_check_scm_creds_cmsgcred()
690 if (uc_check_cmsghdr(cmsghdr, SCM_CREDS, in uc_check_scm_creds_sockcred()
/freebsd/lib/libnv/
H A Dmsgio.c177 cmsg->cmsg_type = SCM_CREDS; in cred_send()
212 cmsg->cmsg_level != SOL_SOCKET || cmsg->cmsg_type != SCM_CREDS) { in cred_recv()
/freebsd/usr.sbin/nscd/
H A Dnscdcli.c144 cmsg.hdr.cmsg_type = SCM_CREDS; in send_credentials()
H A Dquery.c185 cmsg.hdr.cmsg_type != SCM_CREDS) { in on_query_startup()
/freebsd/sys/sys/
H A Dsocket.h592 #define SCM_CREDS 0x03 /* process creds (struct cmsgcred) */ macro
/freebsd/contrib/bsnmp/snmpd/
H A Dtrans_inet.c622 cmsg->cmsg_type == SCM_CREDS) { in ipv4_parse_ctrl()
864 cmsg->cmsg_type == SCM_CREDS) { in ipv6_parse_ctrl()
H A Dtrans_udp.c331 cmsg->cmsg_type == SCM_CREDS) in udp_recv()
/freebsd/lib/libc/net/
H A Dnscachedcli.c157 cmsg.hdr.cmsg_type = SCM_CREDS; in send_credentials()
/freebsd/crypto/heimdal/lib/ipc/
H A Dserver.c558 #if defined(SOCKCREDSIZE) && defined(SCM_CREDS) in update_client_creds()
592 if (cmp->cmsg_level != SOL_SOCKET || cmp->cmsg_type != SCM_CREDS) { in update_client_creds()
/freebsd/contrib/blocklist/lib/
H A Dbl.c236 #define CRED_MESSAGE SCM_CREDS in bl_init()
/freebsd/sys/compat/linux/
H A Dlinux_socket.c653 return (SCM_CREDS); in linux_to_bsd_cmsg_type()
686 case SCM_CREDS: in bsd_to_linux_cmsg_type()
1477 if (cmsg->cmsg_type == SCM_CREDS) { in linux_sendmsg_common()
1722 case SCM_CREDS: in recvmsg_scm_sol_socket()
/freebsd/sys/kern/
H A Duipc_usrreq.c2650 case SCM_CREDS: in unp_internalize()
2652 SCM_CREDS, SOL_SOCKET, M_WAITOK); in unp_internalize()
2809 cmsgtype = SCM_CREDS; in unp_addsockcred()
2848 if (control != NULL && cmsgtype == SCM_CREDS) in unp_addsockcred()
2852 cm->cmsg_type == SCM_CREDS) { in unp_addsockcred()
/freebsd/lib/libc/rpc/
H A Dclnt_vc.c821 cm.cmsg.cmsg_type = SCM_CREDS; in __msgwrite()
/freebsd/tests/sys/kern/
H A Dunix_passfd_test.c246 cmsghdr->cmsg_type == SCM_CREDS) in recvfd_payload()
/freebsd/crypto/heimdal/
H A DChangeLog.20051823 * kcm/connect.c: support SCM_CREDS (for NetBSD)