MSG_CMSG_COMPAT
zc->msg_flags |= MSG_CMSG_COMPAT;
sr->msg_flags |= MSG_CMSG_COMPAT;
sr->msg_flags |= MSG_CMSG_COMPAT;
kmsg->msg.msg_flags = flags & (MSG_CMSG_CLOEXEC|MSG_CMSG_COMPAT);
.flags = kmsg->msg.msg_flags & ~MSG_CMSG_COMPAT
if (flags & ~(MSG_DONTWAIT|MSG_CMSG_COMPAT))
if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_CMSG_COMPAT))
(msg->msg_flags & MSG_CMSG_COMPAT)) {
if (flags & ~(MSG_DONTWAIT | MSG_NOSIGNAL | MSG_ERRQUEUE | MSG_CMSG_COMPAT))
if (flags & ~(MSG_DONTWAIT | MSG_TRUNC | MSG_PEEK | MSG_CMSG_COMPAT))
if (flags & ~(MSG_DONTWAIT | MSG_ERRQUEUE | MSG_CMSG_COMPAT))
flags | MSG_CMSG_COMPAT, false);
flags | MSG_CMSG_COMPAT, false);
flags | MSG_CMSG_COMPAT, false);
return __sys_recvfrom(fd, buf, len, flags | MSG_CMSG_COMPAT, addr,
flags | MSG_CMSG_COMPAT, timeout, NULL);
flags | MSG_CMSG_COMPAT, NULL, timeout);
a[3] | MSG_CMSG_COMPAT, NULL,
if (msg->msg_flags & MSG_CMSG_COMPAT)
if (msg->msg_flags & MSG_CMSG_COMPAT) {
if (msg->msg_flags & MSG_CMSG_COMPAT)
msg.msg_flags = in_compat_syscall() ? MSG_CMSG_COMPAT : 0;
? MSG_CMSG_COMPAT : 0;
if (flags & ~(MSG_PEEK|MSG_DONTWAIT|MSG_TRUNC|MSG_CMSG_COMPAT))
if (flags & MSG_CMSG_COMPAT)
if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_CMSG_COMPAT))
if (flags & ~(MSG_PEEK|MSG_DONTWAIT|MSG_TRUNC|MSG_CMSG_COMPAT|MSG_ERRQUEUE))
MSG_CMSG_COMPAT))
MSG_CMSG_COMPAT))
MSG_CMSG_COMPAT)) ||
MSG_NOSIGNAL|MSG_CMSG_COMPAT))
if (msg->msg_flags & ~(MSG_DONTWAIT | MSG_CMSG_COMPAT | MSG_ZEROCOPY)) {
if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_CMSG_COMPAT))
if (flags & MSG_CMSG_COMPAT) {
if (msg->msg_flags & MSG_CMSG_COMPAT) {
#define COMPAT_MSG(msg, member) ((MSG_CMSG_COMPAT & flags) ? &msg##_compat->member : &msg->member)
if ((MSG_CMSG_COMPAT & flags) && ctl_len) {
if (flags & MSG_CMSG_COMPAT) {
if (forbid_cmsg_compat && (flags & MSG_CMSG_COMPAT))
if (forbid_cmsg_compat && (flags & MSG_CMSG_COMPAT))
if (MSG_CMSG_COMPAT & flags) {
if (MSG_CMSG_COMPAT & flags) {
msg_sys->msg_flags = flags & (MSG_CMSG_CLOEXEC|MSG_CMSG_COMPAT);
err = __put_user((msg_sys->msg_flags & ~MSG_CMSG_COMPAT),
if (MSG_CMSG_COMPAT & flags)
if (forbid_cmsg_compat && (flags & MSG_CMSG_COMPAT))
if (MSG_CMSG_COMPAT & flags) {
if (flags & MSG_CMSG_COMPAT)
if (flags & MSG_CMSG_COMPAT)
MSG_CMSG_COMPAT | MSG_SPLICE_PAGES | MSG_EOR |
if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_OOB|MSG_EOR|MSG_CMSG_COMPAT))