Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/pf/pflogd/
H A Dprivsep_fdpass.c70 cmsg->cmsg_type = SCM_RIGHTS; in send_fd()
121 if (cmsg->cmsg_type != SCM_RIGHTS) in receive_fd()
123 SCM_RIGHTS, cmsg->cmsg_type); in receive_fd()
/freebsd-12.1/crypto/openssh/
H A Dmonitor_fdpass.c79 cmsg->cmsg_type = SCM_RIGHTS; in mm_send_fd()
174 if (cmsg->cmsg_type != SCM_RIGHTS) { in mm_receive_fd()
176 SCM_RIGHTS, cmsg->cmsg_type); in mm_receive_fd()
/freebsd-12.1/contrib/netbsd-tests/net/fdpass/
H A Dfdpass.c70 cmsg->cmsg_type = SCM_RIGHTS; in send_fd()
145 if (cmsg->cmsg_type != SCM_RIGHTS) in recv_fd()
147 SCM_RIGHTS, cmsg->cmsg_type); in recv_fd()
/freebsd-12.1/tools/regression/capsicum/syscalls/
H A Dmisc.c75 cmsg->cmsg_type = SCM_RIGHTS; in descriptor_send()
122 cmsg->cmsg_type != SCM_RIGHTS) { in descriptor_recv()
/freebsd-12.1/contrib/openbsm/bin/auditdistd/
H A Dproto_common.c81 cmsg->cmsg_type = SCM_RIGHTS; in proto_descriptor_send()
184 cmsg->cmsg_type != SCM_RIGHTS) { in proto_descriptor_recv()
/freebsd-12.1/sys/compat/cloudabi/
H A Dcloudabi_sock.c116 chdr->cmsg_type == SCM_RIGHTS) { in cloudabi_sock_recv()
170 chdr->cmsg_type = SCM_RIGHTS; in cloudabi_sock_send()
/freebsd-12.1/sbin/hastd/
H A Dproto_common.c84 cmsg->cmsg_type = SCM_RIGHTS; in proto_descriptor_send()
187 cmsg->cmsg_type != SCM_RIGHTS) { in proto_descriptor_recv()
/freebsd-12.1/contrib/netbsd-tests/include/sys/
H A Dt_socket.c49 cmp->cmsg_type = SCM_RIGHTS; in ATF_TC_BODY()
138 cmp->cmsg_type = SCM_RIGHTS; in ATF_TC_BODY()
/freebsd-12.1/lib/libnv/
H A Dmsgio.c76 cmsg->cmsg_type = SCM_RIGHTS; in msghdr_add_fd()
89 cmsg->cmsg_type != SCM_RIGHTS || in msghdr_get_fd()
/freebsd-12.1/contrib/blacklist/lib/
H A Dbl.c403 cmsg->cmsg_type = SCM_RIGHTS; in bl_send()
469 case SCM_RIGHTS: in bl_recv()
/freebsd-12.1/contrib/netbsd-tests/lib/libc/sys/
H A Dt_kevent.c132 msg->cmsg_type = SCM_RIGHTS; in ATF_TC_BODY()
/freebsd-12.1/contrib/mandoc/
H A Dcatman.c97 cmsg->cmsg_type = SCM_RIGHTS; in sock_fd_write()
H A Dmandocd.c103 cmsg->cmsg_type != SCM_RIGHTS || in read_fds()
/freebsd-12.1/tests/sys/kern/
H A Dunix_passfd_test.c130 cm->cmsg_type = SCM_RIGHTS; in putfds()
231 cmsghdr->cmsg_type == SCM_RIGHTS && in recvfd_payload()
/freebsd-12.1/lib/libopenbsd/
H A Dimsg-buffer.c260 cmsg->cmsg_type = SCM_RIGHTS; in msgbuf_write()
H A Dimsg.c95 cmsg->cmsg_type == SCM_RIGHTS) { in imsg_read()
/freebsd-12.1/sys/kern/
H A Duipc_usrreq.c2005 && cm->cmsg_type == SCM_RIGHTS) { in unp_externalize()
2026 SCM_RIGHTS, SOL_SOCKET); in unp_externalize()
2134 cp->cmsg_type != SCM_RIGHTS) in unp_internalize_cleanup_rights()
2202 case SCM_RIGHTS: in unp_internalize()
2233 SCM_RIGHTS, SOL_SOCKET); in unp_internalize()
2698 cm->cmsg_type == SCM_RIGHTS) { in unp_scan()
H A Duipc_syscalls.c718 cm->cmsg_type = SCM_RIGHTS; in sendit()
1019 SCM_RIGHTS) { in kern_recvit()
1614 cm->cmsg_type == SCM_RIGHTS) { in m_dispose_extcontrolm()
/freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_linux.cc326 if (cmsg->cmsg_level != SOL_SOCKET || cmsg->cmsg_type != SCM_RIGHTS) in ExtractRecvmsgFDs()
/freebsd-12.1/sys/sys/
H A Dsocket.h563 #define SCM_RIGHTS 0x01 /* access rights (array of int) */ macro
/freebsd-12.1/sys/compat/linux/
H A Dlinux_socket.c525 return (SCM_RIGHTS); in linux_to_bsd_cmsg_type()
537 case SCM_RIGHTS: in bsd_to_linux_cmsg_type()
1364 case SCM_RIGHTS: in linux_recvmsg_common()
/freebsd-12.1/tools/regression/sockets/unix_gc/
H A Dunix_gc.c106 m.msg_hdr.cmsg_type = SCM_RIGHTS; in sendfd()
/freebsd-12.1/usr.sbin/ppp/
H A Dbundle.c1444 if (cmsg->cmsg_level != SOL_SOCKET || cmsg->cmsg_type != SCM_RIGHTS) { in bundle_ReceiveDatalink()
1601 cmsg->cmsg_type = SCM_RIGHTS; in bundle_SendDatalink()
/freebsd-12.1/contrib/netcat/
H A Dnetcat.c1043 cmsg->cmsg_type = SCM_RIGHTS; in fdpass()
/freebsd-12.1/crypto/openssh/regress/
H A Dnetcat.c1023 cmsg->cmsg_type = SCM_RIGHTS; in fdpass()