musl/include
Rich Felker 1e7f0fcd7f adjust utmpx struct layout for time64, 32-/64-bit arch compat
since time64 switchover has changed the size and layout of the struct
anyway, take the opportunity to fix it up so that it can be shared
between 32- and 64-bit ABIs on the same system as long as byte order
matches.

the ut_type member is explicitly padded to make up for m68k having
only 2-byte alignment; explicit padding has no effect on other archs.

ut_session is changed from long to int, with endian-matched padding.
this affects 64-bit archs as well, but brings the type into alignment
with glibc's x86_64 struct, so it should not break software, and does
not break on-disk format. the semantic type is int (pid-like) anyway.
the padding produces correct alignment for the ut_tv member on 32-bit
archs that don't naturally align it, so that ABI matches 64-bit.

this type is presently not used anywhere in the ABI between libc and
libc consumers; it's only used between pairs of consumers if a
third-party utmp library using the system utmpx.h is in use.
2019-12-22 12:37:16 -05:00
..
arpa remove indirect use of endian.h from public headers 2019-10-17 16:03:42 -04:00
net net/if_arp.h: add ARPHRD_RAWIP from linux v4.14 2018-02-22 18:47:49 -05:00
netinet remove indirect use of endian.h from public headers 2019-10-17 16:03:42 -04:00
netpacket add PACKET_IGNORE_OUTGOING sockopt from linux v4.20 2019-03-13 12:32:19 -04:00
scsi
sys fix elf_prstatus regression on time64, existing wrong definition on x32 2019-12-22 11:20:44 -05:00
aio.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
alloca.h
alltypes.h.in signal to kernel headers that time_t is 64-bit 2019-12-17 18:19:05 -05:00
ar.h
assert.h restore _Noreturn to __assert_fail 2016-08-30 16:39:54 -04:00
byteswap.h
complex.h
cpio.h
crypt.h
ctype.h
dirent.h add _DIRENT_HAVE_D_* macros to dirent.h 2018-01-12 14:26:59 -05:00
dlfcn.h add time64 redirect for, and redirecting implementation of, dlsym 2019-11-02 18:30:56 -04:00
elf.h elf.h: add NT_ARM_PAC{A,G}_KEYS from linux v5.1 2019-07-01 14:16:49 -04:00
endian.h make endian.h expose unprefixed macros, functions in standard profile 2019-10-17 16:26:22 -04:00
err.h
errno.h restore attribute((const)) to pthread_self and errno location decls 2018-10-16 14:10:27 -04:00
fcntl.h fcntl.h: add AT_RECURSIVE from linux v5.2 2019-09-11 10:40:31 -04:00
features.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
fenv.h
float.h
fmtmsg.h
fnmatch.h
ftw.h
getopt.h
glob.h glob: implement GLOB_TILDE and GLOB_TILDE_CHECK 2019-08-06 14:03:31 -04:00
grp.h fix various header namespace issues under feature-test-macro control 2016-10-20 17:20:01 -04:00
iconv.h
ifaddrs.h remove parameter names from public headers 2016-10-20 17:04:37 -04:00
inttypes.h
iso646.h
langinfo.h add _NL_LOCALE_NAME extension to nl_langinfo 2017-07-31 23:08:27 -04:00
lastlog.h
libgen.h
libintl.h
limits.h define LONG_MAX via arch alltypes.h, strip down bits/limits.h 2019-10-17 19:23:39 -04:00
link.h generalize ELF hash table types not to assume 32-bit entries 2016-11-11 12:46:06 -05:00
locale.h
malloc.h
math.h define FP_FAST_FMA* when fma* can be inlined 2019-04-17 13:02:47 -04:00
memory.h
mntent.h
monetary.h
mqueue.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
netdb.h restore attribute((const)) to pthread_self and errno location decls 2018-10-16 14:10:27 -04:00
nl_types.h
paths.h
poll.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
pthread.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
pty.h
pwd.h fix various header namespace issues under feature-test-macro control 2016-10-20 17:20:01 -04:00
regex.h
resolv.h don't claim support for resolv.h APIs that aren't supported 2016-11-07 11:55:53 -05:00
sched.h prepare struct sched_param for change in time_t definition 2019-10-28 19:26:52 -04:00
search.h
semaphore.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
setjmp.h
shadow.h
signal.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
spawn.h add posix_spawn [f]chdir file actions 2019-08-30 16:21:36 -04:00
stdalign.h
stdarg.h remove legacy i386 fallback stdarg implementation and framework 2016-12-15 12:18:24 -05:00
stdbool.h
stdc-predef.h add stdc-predef.h for library-level predefined macros 2016-07-03 20:03:30 -04:00
stddef.h
stdint.h
stdio.h make FILE a complete type for pre-C11 standard profiles 2019-03-12 15:24:00 -04:00
stdio_ext.h
stdlib.h add secure_getenv function 2019-08-08 11:33:18 -04:00
stdnoreturn.h
string.h add explicit_bzero implementation 2018-06-26 16:59:12 -04:00
strings.h
stropts.h
syscall.h
sysexits.h
syslog.h
tar.h expose TSVTX unconditionally in tar.h 2019-03-13 10:42:57 -04:00
termios.h
tgmath.h
threads.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
time.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
uchar.h uchar.h: define char16_t and char32_t for old c++ 2018-07-17 22:24:03 -04:00
ucontext.h fix signature of function accepted by makecontext 2019-04-05 17:29:00 -04:00
ulimit.h
unistd.h add public declaration for optreset under appropriate feature profiles 2019-08-30 17:48:47 -04:00
utime.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
utmp.h
utmpx.h adjust utmpx struct layout for time64, 32-/64-bit arch compat 2019-12-22 12:37:16 -05:00
values.h
wait.h
wchar.h make FILE a complete type for pre-C11 standard profiles 2019-03-12 15:24:00 -04:00
wctype.h
wordexp.h