glibc/sysdeps/unix/sysv/linux/alpha
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
..
alpha
alphaev6/fpu
alphaev67/fpu
bits Linux: Use in-tree copy of SO_ constants for !__USE_MISC [BZ #24532] 2019-07-24 10:59:34 +02:00
fpu
sys Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
____longjmp_chk.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
a.out.h Break lines before not after operators, batch 4. 2019-03-07 20:20:25 +00:00
adjtime.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_cancel.c
brk.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
c++-types.data
clone.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
configure
configure.ac
dl-auxv.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
dl-brk.S
dl-fxstatat64.c
dl-support.c
dl-sysdep.c
fraiseexcpt.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
fstatfs64.c
fstatvfs64.c
fstatvfs.c
fxstat.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
fxstatat.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getclktck.c
getcontext.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getdents64.c Consolidate Linux getdents{64} implementation 2018-04-19 08:49:52 -03:00
getdents.c Consolidate Linux getdents{64} implementation 2018-04-19 08:49:52 -03:00
gethostname.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getrlimit64.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getsysstats.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
glob-lstat-compat.c posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
globfree.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ieee_get_fp_control.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ieee_set_fp_control.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Implies
internal_statvfs64.c
ioperm.c Break further lines before not after operators. 2019-02-26 15:01:50 +00:00
ipc_priv.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
jmp_buf-macros.h Add jmp_buf-macros.h 2017-11-09 05:10:03 -08:00
kernel_sigaction.h alpha: Use Linux generic sigaction implementation 2018-12-18 19:52:21 -02:00
kernel_stat.h Allow [f]statfs64 to alias [f]statfs 2016-11-22 09:59:12 -08:00
kernel_sysinfo.h
kernel_termios.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
kernel-features.h io: Remove copy_file_range emulation [BZ #24744] 2019-06-28 09:39:21 +02:00
ld.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libanl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libBrokenLocale.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libc.abilist Linux: Add getdents64 system call 2019-06-07 09:27:01 +02:00
libcrypt.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libdl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libm.abilist Remove the error handling wrapper from pow 2018-11-21 09:58:36 +00:00
libnsl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libpthread.abilist nptl: Add POSIX-proposed pthread_mutex_clocklock 2019-07-12 13:36:25 +00:00
libresolv.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
librt.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libthread_db.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libutil.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
localplt.data ld.so: Introduce struct dl_exception 2017-08-10 16:54:57 +02:00
lxstat.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
makecontext.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Makefile alpha: Use Linux generic sigaction implementation 2018-12-18 19:52:21 -02:00
nldbl-abi.h
oldglob.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
pipe.S
register-dump.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
rt_sigaction.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
select.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
setcontext.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
setfpucw.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
setrlimit64.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
shlib-versions
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigprocmask.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sizes.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
statfs64.c
statvfs64.c
statvfs.c
swapcontext.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
syscall.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
syscalls.list Consolidate Linux select implementation 2017-05-03 10:36:36 -03:00
sysconf.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sysdep.h alpha: Do not redefine __NR_shmat or __NR_osf_shmat 2019-04-01 15:54:00 +07:00
timer_create.c
timer_delete.c
timer_getoverr.c
timer_gettime.c
timer_settime.c
ucontext-offsets.sym Fix mcontext_t sigcontext namespace (bug 21457). 2017-08-30 22:02:04 +00:00
Versions Alpha: Fix the RLIM_INFINITY and RLIM64_INFINITY constants 2018-01-05 20:34:10 +01:00
vfork.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
wordexp.c
xstat.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
xstatconv.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
xstatconv.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00