This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Is this an incorrect Qualcomm usage or a glibc bug?
- From: Florian Weimer <fweimer at redhat dot com>
- To: honan li <sayibobo at gmail dot com>, libc-help at sourceware dot org
- Date: Mon, 4 Sep 2017 09:20:37 +0200
- Subject: Re: Is this an incorrect Qualcomm usage or a glibc bug?
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=fweimer at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4441F821C3
- References: <CA+xL5a_qD-Pca+_86UPQV2OTdy03UqVD6h=rXVmqbjS73m5TSQ@mail.gmail.com> <21f4fedb-3c5c-260e-1c67-a632b6859e2b@redhat.com> <CA+xL5a8gXSzZE4CpugDnXiYu1WfuOKiJKpQY8HW0WtRGXG2wJQ@mail.gmail.com> <3de34fcd-be01-f548-aa35-934e74426efb@redhat.com> <CA+xL5a-Wam1=f=gaPnaemeAEa9eebLgOKGJMnzTO_6AC04rxxg@mail.gmail.com>
On 09/04/2017 08:35 AM, honan li wrote:
> Florian, Thanks for your explanation, it makes sense.
>
> But I still don't understand what is the (__ss_aligntype __ss_align) used for?
It's there to ensure appropriate alignment for struct sockaddr_storage,
so that it is sufficiently aligned to store any socket address.
Florian