Is this an incorrect Qualcomm usage or a glibc bug?
honan li
sayibobo@gmail.com
Mon Sep 4 06:35:00 GMT 2017
Florian, Thanks for your explanation, it makes sense.
But I still don't understand what is the (__ss_aligntype __ss_align) used for?
In the beginning my understanding is that this is for aligning
__ss_padding in sockaddr_storage to sin6_addr in sockaddr_in6, which
are finally both at 8th byte of the struct buffer on our platform as I
commented in the original email. But now as per your explanation the
both-at-8th-byte thing seems just a coincidence and all Qualcomm's
typecast are just (inappropriately) based on this coincidence. I'm a
bit confused here.
Could you please introduce what's the original purpose of
(__ss_aligntype __ss_align)?
Thanks,
Honan
More information about the Libc-help
mailing list