mailing list of musl libc
 help / color / mirror / code / Atom feed
* Need to zero pads in msghdr
@ 2017-01-25 16:42 Andrei Vagin
  2017-01-25 17:00 ` Rich Felker
  2017-01-25 18:56 ` Andrei Vagin
  0 siblings, 2 replies; 8+ messages in thread
From: Andrei Vagin @ 2017-01-25 16:42 UTC (permalink / raw)
  To: musl

Hi,

In this patch
http://git.musl-libc.org/cgit/musl/commit/arch/x86_64/bits/socket.h?id=7168790763cdeb794df52be6e3b39fbb021c5a64
you suppose that the kernel ignores the upper 32 bits of msg_iovlen,
but it doesn't, so pads in msghdr structures have to be zeroed before
calling sendmsg and recvmsg syscalls.

https://github.com/xemul/criu/issues/276

Thanks,
Andrei


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-01-26 15:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-25 16:42 Need to zero pads in msghdr Andrei Vagin
2017-01-25 17:00 ` Rich Felker
2017-01-25 18:56 ` Andrei Vagin
2017-01-25 19:40   ` Szabolcs Nagy
2017-01-25 19:46     ` Andrei Vagin
2017-01-25 19:59       ` Rich Felker
2017-01-25 23:00       ` Szabolcs Nagy
2017-01-26 15:01         ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).