Home
last modified time | relevance | path

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

123

/dports/www/firefox-esr/firefox-91.8.0/security/sandbox/linux/broker/
H A DSandboxBrokerCommon.cpp56 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in RecvWithFd() local
58 msg.msg_control = cmsg_buf; in RecvWithFd()
59 msg.msg_controllen = sizeof(cmsg_buf); in RecvWithFd()
115 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in SendWithFd() local
116 memset(cmsg_buf, 0, sizeof(cmsg_buf)); in SendWithFd()
118 msg.msg_control = cmsg_buf; in SendWithFd()
119 msg.msg_controllen = sizeof(cmsg_buf); in SendWithFd()
/dports/www/firefox/firefox-99.0/security/sandbox/linux/broker/
H A DSandboxBrokerCommon.cpp64 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in RecvWithFd() local
66 msg.msg_control = cmsg_buf; in RecvWithFd()
67 msg.msg_controllen = sizeof(cmsg_buf); in RecvWithFd()
135 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in SendWithFd() local
136 memset(cmsg_buf, 0, sizeof(cmsg_buf)); in SendWithFd()
138 msg.msg_control = cmsg_buf; in SendWithFd()
139 msg.msg_controllen = sizeof(cmsg_buf); in SendWithFd()
/dports/lang/spidermonkey60/firefox-60.9.0/security/sandbox/linux/broker/
H A DSandboxBrokerCommon.cpp44 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in RecvWithFd() local
46 msg.msg_control = cmsg_buf; in RecvWithFd()
47 msg.msg_controllen = sizeof(cmsg_buf); in RecvWithFd()
103 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in SendWithFd() local
104 memset(cmsg_buf, 0, sizeof(cmsg_buf)); in SendWithFd()
106 msg.msg_control = cmsg_buf; in SendWithFd()
107 msg.msg_controllen = sizeof(cmsg_buf); in SendWithFd()
/dports/mail/thunderbird/thunderbird-91.8.0/security/sandbox/linux/broker/
H A DSandboxBrokerCommon.cpp56 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in RecvWithFd() local
58 msg.msg_control = cmsg_buf; in RecvWithFd()
59 msg.msg_controllen = sizeof(cmsg_buf); in RecvWithFd()
115 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in SendWithFd() local
116 memset(cmsg_buf, 0, sizeof(cmsg_buf)); in SendWithFd()
118 msg.msg_control = cmsg_buf; in SendWithFd()
119 msg.msg_controllen = sizeof(cmsg_buf); in SendWithFd()
/dports/lang/spidermonkey78/firefox-78.9.0/security/sandbox/linux/broker/
H A DSandboxBrokerCommon.cpp44 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in RecvWithFd() local
46 msg.msg_control = cmsg_buf; in RecvWithFd()
47 msg.msg_controllen = sizeof(cmsg_buf); in RecvWithFd()
103 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in SendWithFd() local
104 memset(cmsg_buf, 0, sizeof(cmsg_buf)); in SendWithFd()
106 msg.msg_control = cmsg_buf; in SendWithFd()
107 msg.msg_controllen = sizeof(cmsg_buf); in SendWithFd()
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/debuggerd/
H A Dutil.cpp34 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in send_fd() local
38 .msg_iov = &iov, .msg_iovlen = 1, .msg_control = cmsg_buf, .msg_controllen = sizeof(cmsg_buf), in send_fd()
50 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in recv_fd() local
56 .msg_control = cmsg_buf, in recv_fd()
57 .msg_controllen = sizeof(cmsg_buf), in recv_fd()
71 bool received_fd = msg.msg_controllen == sizeof(cmsg_buf); in recv_fd()
/dports/www/firefox-legacy/firefox-52.8.0esr/security/sandbox/linux/broker/
H A DSandboxBrokerCommon.cpp40 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in RecvWithFd() local
42 msg.msg_control = cmsg_buf; in RecvWithFd()
43 msg.msg_controllen = sizeof(cmsg_buf); in RecvWithFd()
101 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in SendWithFd() local
103 msg.msg_control = cmsg_buf; in SendWithFd()
104 msg.msg_controllen = sizeof(cmsg_buf); in SendWithFd()
/dports/devel/kf5-kio/kio-5.89.0/src/ioslaves/file/
H A Dsharefd_p.h59 char cmsg_buf[CMSG_SPACE(sizeof(int))]; variable
66 , cmsg_buf{0}
75 msg.msg_control = &cmsg_buf;
76 msg.msg_controllen = sizeof cmsg_buf;
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/crashpad/crashpad/util/linux/
H A Dsocket.cc75 char cmsg_buf[CMSG_SPACE(sizeof(int) * kMaxSendRecvMsgFDs)]; in SendMsg() local
77 msg.msg_control = cmsg_buf; in SendMsg()
112 char cmsg_buf[CMSG_SPACE(sizeof(ucred)) + in RecvMsg() local
114 msg.msg_control = cmsg_buf; in RecvMsg()
115 msg.msg_controllen = sizeof(cmsg_buf); in RecvMsg()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/crashpad/crashpad/util/linux/
H A Dsocket.cc76 char cmsg_buf[CMSG_SPACE(sizeof(int) * kMaxSendRecvMsgFDs)]; in SendMsg() local
78 msg.msg_control = cmsg_buf; in SendMsg()
113 char cmsg_buf[CMSG_SPACE(sizeof(ucred)) + in RecvMsg() local
115 msg.msg_control = cmsg_buf; in RecvMsg()
116 msg.msg_controllen = sizeof(cmsg_buf); in RecvMsg()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/mojo/public/cpp/platform/
H A Dsocket_utils_posix.cc110 char cmsg_buf[CMSG_SPACE(kMaxSendmsgHandles * sizeof(int))]; in SendmsgWithHandles() local
114 msg.msg_control = cmsg_buf; in SendmsgWithHandles()
133 char cmsg_buf[CMSG_SPACE(kMaxSendmsgHandles * sizeof(int))]; in SocketRecvmsg() local
137 msg.msg_control = cmsg_buf; in SocketRecvmsg()
138 msg.msg_controllen = sizeof(cmsg_buf); in SocketRecvmsg()
/dports/www/chromium-legacy/chromium-88.0.4324.182/mojo/public/cpp/platform/
H A Dsocket_utils_posix.cc112 char cmsg_buf[CMSG_SPACE(kMaxSendmsgHandles * sizeof(int))]; in SendmsgWithHandles() local
116 msg.msg_control = cmsg_buf; in SendmsgWithHandles()
135 char cmsg_buf[CMSG_SPACE(kMaxSendmsgHandles * sizeof(int))]; in SocketRecvmsg() local
139 msg.msg_control = cmsg_buf; in SocketRecvmsg()
140 msg.msg_controllen = sizeof(cmsg_buf); in SocketRecvmsg()
/dports/net/sems/sems-f89581a/core/
H A DAmRtpPacket.cpp212 } cmsg_buf;
224 bzero(&cmsg_buf,sizeof(cmsg_buf));
225 hdr.msg_control = &cmsg_buf;
226 hdr.msg_controllen = sizeof(cmsg_buf);
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/base/
H A Dcmsg.cpp41 alignas(struct cmsghdr) char cmsg_buf[cmsg_space]; in SendFileDescriptorVector()
48 .msg_control = cmsg_buf, in SendFileDescriptorVector()
83 alignas(struct cmsghdr) char cmsg_buf[cmsg_space]; in ReceiveFileDescriptorVector()
90 .msg_control = cmsg_buf, in ReceiveFileDescriptorVector()
/dports/dns/gdnsd2/gdnsd-2.4.3/src/
H A Ddnsio_udp.c302 } cmsg_buf; in mainloop() local
303 memset(cmsg_buf.cbuf, 0, sizeof(cmsg_buf.cbuf)); in mainloop()
308 msg_hdr.msg_control = use_cmsg ? cmsg_buf.cbuf : NULL; in mainloop()
410 char cmsg_buf[width][cmsg_size]; in mainloop_mmsg() local
414 memset(cmsg_buf, 0, sizeof(cmsg_buf)); in mainloop_mmsg()
437 dgrams[i].msg_hdr.msg_control = use_cmsg ? cmsg_buf[i] : NULL; in mainloop_mmsg()
/dports/net/sems/sems-f89581a/core/sip/
H A Dudp_trsp.cpp202 } cmsg_buf; in sendmsg() local
214 bzero(&cmsg_buf,sizeof(cmsg_buf)); in sendmsg()
215 hdr.msg_control = &cmsg_buf; in sendmsg()
216 hdr.msg_controllen = sizeof(cmsg_buf); in sendmsg()
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/libmeminfo/libdmabufinfo/
H A Ddmabufinfo_test.cpp104 char cmsg_buf[CMSG_SPACE(sizeof(fd))]; in run() local
105 msg.msg_control = cmsg_buf; in run()
106 msg.msg_controllen = sizeof(cmsg_buf); in run()
132 char cmsg_buf[CMSG_SPACE(sizeof(fd))]; in sendfd() local
133 msg.msg_control = cmsg_buf; in sendfd()
134 msg.msg_controllen = sizeof(cmsg_buf); in sendfd()
/dports/net-mgmt/omping/omping-0.0.4/
H A Drsfunc.c140 char cmsg_buf[CMSG_SPACE(1024)]; in rs_receive_msg() local
160 msg_hdr.msg_control = cmsg_buf; in rs_receive_msg()
161 msg_hdr.msg_controllen = sizeof(cmsg_buf); in rs_receive_msg()
/dports/net/chrony/chrony-4.2/
H A Dsocket.c74 struct cmsghdr cmsg_buf[CMSG_BUF_SIZE / sizeof (struct cmsghdr)]; member
128 hdr->msg_hdr.msg_control = msg->cmsg_buf; in prepare_buffers()
129 hdr->msg_hdr.msg_controllen = sizeof (msg->cmsg_buf); in prepare_buffers()
1035 struct cmsghdr cmsg_buf[CMSG_BUF_SIZE / sizeof (struct cmsghdr)]; in send_message() local
1080 msg.msg_control = cmsg_buf; in send_message()
1090 sizeof (cmsg_buf)); in send_message()
1102 sizeof (cmsg_buf)); in send_message()
1115 sizeof (cmsg_buf)); in send_message()
1134 sizeof (*ts_tx_flags), sizeof (cmsg_buf)); in send_message()
1145 fd = add_control_message(&msg, SOL_SOCKET, SCM_RIGHTS, sizeof (*fd), sizeof (cmsg_buf)); in send_message()
/dports/net/chrony-lite/chrony-4.2/
H A Dsocket.c74 struct cmsghdr cmsg_buf[CMSG_BUF_SIZE / sizeof (struct cmsghdr)]; member
128 hdr->msg_hdr.msg_control = msg->cmsg_buf; in prepare_buffers()
129 hdr->msg_hdr.msg_controllen = sizeof (msg->cmsg_buf); in prepare_buffers()
1035 struct cmsghdr cmsg_buf[CMSG_BUF_SIZE / sizeof (struct cmsghdr)]; in send_message() local
1080 msg.msg_control = cmsg_buf; in send_message()
1090 sizeof (cmsg_buf)); in send_message()
1102 sizeof (cmsg_buf)); in send_message()
1115 sizeof (cmsg_buf)); in send_message()
1134 sizeof (*ts_tx_flags), sizeof (cmsg_buf)); in send_message()
1145 fd = add_control_message(&msg, SOL_SOCKET, SCM_RIGHTS, sizeof (*fd), sizeof (cmsg_buf)); in send_message()
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/net/
H A Drxtimestamp.c181 char cmsg_buf[CMSG_SIZE]; in do_recv() local
195 hdr.msg_control = cmsg_buf; in do_recv()
196 hdr.msg_controllen = sizeof(cmsg_buf); in do_recv()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/net/
H A Drxtimestamp.c181 char cmsg_buf[CMSG_SIZE]; in do_recv() local
195 hdr.msg_control = cmsg_buf; in do_recv()
196 hdr.msg_controllen = sizeof(cmsg_buf); in do_recv()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/net/
H A Drxtimestamp.c181 char cmsg_buf[CMSG_SIZE]; in do_recv() local
195 hdr.msg_control = cmsg_buf; in do_recv()
196 hdr.msg_controllen = sizeof(cmsg_buf); in do_recv()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/crash/content/browser/
H A Dcrash_handler_host_linux.cc585 char cmsg_buf[CMSG_SPACE(sizeof(int)) + CMSG_SPACE(sizeof(ucred))]; in ReceiveClientMessage() local
586 msg.msg_control = cmsg_buf; in ReceiveClientMessage()
587 msg.msg_controllen = sizeof(cmsg_buf); in ReceiveClientMessage()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/crash/content/browser/
H A Dcrash_handler_host_linux.cc586 char cmsg_buf[CMSG_SPACE(sizeof(int)) + CMSG_SPACE(sizeof(ucred))]; in ReceiveClientMessage() local
587 msg.msg_control = cmsg_buf; in ReceiveClientMessage()
588 msg.msg_controllen = sizeof(cmsg_buf); in ReceiveClientMessage()

123