Searched refs:SCM_CREDS (Results 1 – 18 of 18) sorted by relevance
/freebsd/tools/regression/sockets/unix_cmsg/ |
H A D | README | 59 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 D | t_cmsg_len.c | 66 SCM_CREDS, sizeof(struct cmsgcred)); in t_cmsg_len_client()
|
H A D | t_cmsgcred.c | 60 SCM_CREDS, sizeof(struct cmsgcred)); in t_cmsgcred_client()
|
H A D | uc_common.c | 626 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 D | msgio.c | 177 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 D | nscdcli.c | 144 cmsg.hdr.cmsg_type = SCM_CREDS; in send_credentials()
|
H A D | query.c | 185 cmsg.hdr.cmsg_type != SCM_CREDS) { in on_query_startup()
|
/freebsd/sys/sys/ |
H A D | socket.h | 592 #define SCM_CREDS 0x03 /* process creds (struct cmsgcred) */ macro
|
/freebsd/contrib/bsnmp/snmpd/ |
H A D | trans_inet.c | 622 cmsg->cmsg_type == SCM_CREDS) { in ipv4_parse_ctrl() 864 cmsg->cmsg_type == SCM_CREDS) { in ipv6_parse_ctrl()
|
H A D | trans_udp.c | 331 cmsg->cmsg_type == SCM_CREDS) in udp_recv()
|
/freebsd/lib/libc/net/ |
H A D | nscachedcli.c | 157 cmsg.hdr.cmsg_type = SCM_CREDS; in send_credentials()
|
/freebsd/crypto/heimdal/lib/ipc/ |
H A D | server.c | 558 #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 D | bl.c | 236 #define CRED_MESSAGE SCM_CREDS in bl_init()
|
/freebsd/sys/compat/linux/ |
H A D | linux_socket.c | 653 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 D | uipc_usrreq.c | 2650 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 D | clnt_vc.c | 821 cm.cmsg.cmsg_type = SCM_CREDS; in __msgwrite()
|
/freebsd/tests/sys/kern/ |
H A D | unix_passfd_test.c | 246 cmsghdr->cmsg_type == SCM_CREDS) in recvfd_payload()
|
/freebsd/crypto/heimdal/ |
H A D | ChangeLog.2005 | 1823 * kcm/connect.c: support SCM_CREDS (for NetBSD)
|