diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-05-23 19:43:09 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-05-23 19:43:09 +0200 |
commit | 3375cfafa7961c6ae0e509c31c3b3cef9ad1f03d (patch) | |
tree | 0c2ba750f8b7e15a6b826f9767fbb533bfb4f567 /posix/setgid.c | |
parent | d912d3a1198dfa9acd59cb5a07e5ed27c910cb7f (diff) | |
download | glibc-3375cfafa7961c6ae0e509c31c3b3cef9ad1f03d.zip glibc-3375cfafa7961c6ae0e509c31c3b3cef9ad1f03d.tar.gz glibc-3375cfafa7961c6ae0e509c31c3b3cef9ad1f03d.tar.bz2 |
Make padding in struct sockaddr_storage explicit [BZ #20111]
This avoids aliasing issues with GCC 6 in -fno-strict-aliasing
mode. (With implicit padding, not all data is copied.)
This change makes it explicit that struct sockaddr_storage is
only 126 bytes large on m68k (unlike elsewhere, where we end up
with the requested 128 bytes). The new test case makes sure that
this does not happen on other architectures.
Diffstat (limited to 'posix/setgid.c')
0 files changed, 0 insertions, 0 deletions