about summary refs log tree commit diff
path: root/arch/x32/bits/socket.h
Commit message (Collapse)AuthorAgeFilesLines
* add back x32 bits/socket.h defining time-related socket optionsRich Felker2019-11-021-0/+5
| | | | | | | | these definitions are merely copied from the top-level sys/socket.h, so there is no functional change at this time. however, the top-level definitions will change to use the time64 "_NEW" versions on 32-bit archs when time_t is switched over to 64-bit. this commit ensures that change will be suppressed on x32.
* fix x32 msghdr struct by removing x32 bits/socket.hRich Felker2019-11-021-16/+0
| | | | | | | | | | | | being that it contains pointers and (from the kernel perspective, which is wrong) size_t members, x32 uses the 32-bit version of the structure, not a half-32-bit, half-64-bit layout like we had here. the x86_64 definition was inadvertently copied when x32 was first added. unlike errors in the opposite direction (missing padding), this error was not easily detected breakage, because the layout of the commonly used initial subset of members still matched. breakage could only be observed in the presence of control messages or flags.
* make brace placement in public header struct definitions consistentRich Felker2016-07-031-4/+2
| | | | | | | | | | | | | | placing the opening brace on the same line as the struct keyword/tag is the style I prefer and seems to be the prevailing practice in more recent additions. these changes were generated by the command: find include/ arch/*/bits -name '*.h' \ -exec sed -i '/^struct [^;{]*$/{N;s/\n/ /;}' {} + and subsequently checked by hand to ensure that the regex did not pick up any false positives.
* import vanilla x86_64 code as x32rofl0r2014-02-231-0/+18