glibc/sysdeps/unix/sysv/linux/hppa
Florian Weimer 7854ebf8ed Linux: Use in-tree copy of SO_ constants for !__USE_MISC [BZ #24532]
The kernel changes for a 64-bit time_t on 32-bit architectures
resulted in <asm/socket.h> indirectly including <linux/posix_types.h>.
The latter is not namespace-clean for the POSIX version of
<sys/socket.h>.

This issue has persisted across several Linux releases, so this commit
creates our own copy of the SO_* definitions for !__USE_MISC mode.

The new test socket/tst-socket-consts ensures that the copy is
consistent with the kernel definitions (which vary across
architectures).  The test is tricky to get right because CPPFLAGS
includes include/libc-symbols.h, which in turn defines _GNU_SOURCE
unconditionally.

Tested with build-many-glibcs.py.  I verified that a discrepancy in
the definitions actually results in a failure of the
socket/tst-socket-consts test.
2019-07-24 10:59:34 +02:00
..
bits Linux: Use in-tree copy of SO_ constants for !__USE_MISC [BZ #24532] 2019-07-24 10:59:34 +02:00
sys
Implies
Makefile
Versions
____longjmp_chk.c
atomic-machine.h
brk.c
c++-types.data
clone.S
fxstat.c
fxstatat.c
getcontext.S
ipc_priv.h
jmp_buf-macros.h
kernel-features.h
kernel_stat.h
ld.abilist
libBrokenLocale.abilist
libanl.abilist
libc.abilist Linux: Add getdents64 system call 2019-06-07 09:27:01 +02:00
libcrypt.abilist
libdl.abilist
libm.abilist
libnsl.abilist
libpthread.abilist nptl: Add POSIX-proposed pthread_mutex_clocklock 2019-07-12 13:36:25 +00:00
libresolv.abilist
librt.abilist
libthread_db.abilist
libutil.abilist
localplt.data nptl: Remove vfork IFUNC-based forwarder from libpthread [BZ #20188] 2019-07-02 16:51:13 +02:00
lxstat.c
makecontext.c
profil-counter.h
pthread.h nptl: Add POSIX-proposed _clock functions to hppa pthread.h 2019-07-18 11:24:36 -03:00
pthreadP.h
setcontext.S
shlib-versions
swapcontext.c
syscall.c
syscalls.list
sysdep.c
sysdep.h
ucontext_i.sym
utimes.c
xstat.c