Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rearrange sockaddr_storage padding/alignment fields on Linux and Fuchsia #3010

Merged
merged 2 commits into from Nov 30, 2022

Commits on Nov 21, 2022

  1. Rearrange sockaddr_storage padding/alignment fields

    Previously on Linux, the `sockaddr_storage` structure had padding bytes between
    the `ss_family` and `__ss_align` fields. The `__ss_align` field has now been
    moved to the end of the structure to eliminate these padding bytes, matching
    recent glibc versions:
    
    https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/bits/socket.h;h=4f1f810ea1d9bf00ff428e4e7c49a52c71620775;hb=c804cd1c00adde061ca51711f63068c103e94eef#l190
    stevenengler committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    4c74b89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7bbbfb0 View commit details
    Browse the repository at this point in the history