This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v4 0/3] Fix {recv,send}{m}msg standard compliance (BZ#16919)


On 06/08/2016 10:18 PM, Adhemerval Zanella wrote:
This is the same issue in GCC BZ#71445 [1] comments and currently we can either
remove the compat symbol or make the interposition using symbol versions.

Ugh.

If we decide to to remove the compat symbol I believe the only change in
libsanitizer or any interpose library would to be just assume recvmsg to
follow POSIX struct definition (in libsanitizer case to check the internal
structure accesses using socklen_t instead of size_t).

Let me repeat that I think we should revert the changes to struct msghdr and struct cmsghdr. There is growing evidence that they are just too risky, and we seem to be past the threshold where we can ignore it.

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]