glibc/sysdeps
Siddhesh Poyarekar 61117bfa1b tunables: Simplify TUNABLE_SET interface
The TUNABLE_SET interface took a primitive C type argument, which
resulted in inconsistent type conversions internally due to incorrect
dereferencing of types, especialy on 32-bit architectures.  This
change simplifies the TUNABLE setting logic along with the interfaces.

Now all numeric tunable values are stored as signed numbers in
tunable_num_t, which is intmax_t.  All calls to set tunables cast the
input value to its primitive type and then to tunable_num_t for
storage.  This relies on gcc-specific (although I suspect other
compilers woul also do the same) unsigned to signed integer conversion
semantics, i.e. the bit pattern is conserved.  The reverse conversion
is guaranteed by the standard.
2021-02-10 19:08:33 +05:30
..
aarch64 aarch64: Fix the list of tested IFUNC variants [BZ #26818] 2021-01-25 16:15:54 +00:00
alpha Update alpha libm-test-ulps 2021-01-28 14:05:14 -03:00
arc ARC: nofpu: Regenerate ulps 2021-01-17 16:39:45 -08:00
arm Update arm libm-test-ulps. 2021-01-18 20:22:51 +00:00
csky Update C-SKY libm-test-ulps 2021-01-23 19:00:00 +00:00
generic sysconf: Add _SC_MINSIGSTKSZ/_SC_SIGSTKSZ [BZ #20305] 2021-02-01 11:00:52 -08:00
gnu Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hppa Update hppa libm-test-ulps 2021-01-18 14:23:10 +00:00
htl linux: Require /dev/shm as the shared memory file system 2021-02-08 14:10:42 -03:00
hurd Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
i386 i686: Regenerate ULPs 2021-02-03 23:16:39 +05:30
ia64 Update ia64 libm-test-ulps 2021-01-28 14:05:15 -03:00
ieee754 math: Add BZ#18980 fix back on dbl-64 cosh 2021-01-11 16:56:33 -03:00
m68k Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mach hurd TIOCFLUSH: fix fixing argument 2021-02-01 20:01:34 +01:00
microblaze Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mips Update MIPS libm-test-ulps. 2021-01-18 21:36:00 +00:00
nios2 Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
nptl linux: Require /dev/shm as the shared memory file system 2021-02-08 14:10:42 -03:00
posix linux: Require /dev/shm as the shared memory file system 2021-02-08 14:10:42 -03:00
powerpc powerpc64: Workaround sigtramp vdso return call 2021-01-28 13:57:50 -03:00
pthread linux: Fix __sem_check_add_mapping search_sem 2021-02-09 16:09:51 -03:00
riscv riscv: Initialize $gp before resolving the IRELATIVE relocation 2021-01-10 21:25:16 -05:00
s390 Remove dbl-64/wordsize-64 (part 2) 2021-01-07 15:26:26 +00:00
sh sh: Update libm-tests-ulps 2021-01-28 14:05:14 -03:00
sparc Update sparc libm-test-ulps 2021-01-28 14:05:14 -03:00
unix tunables: Simplify TUNABLE_SET interface 2021-02-10 19:08:33 +05:30
wordsize-32 Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
x86 tunables: Simplify TUNABLE_SET interface 2021-02-10 19:08:33 +05:30
x86_64 x86-64: Refactor and improve performance of strchr-avx2.S 2021-02-08 11:21:33 -08:00