glibc/sysdeps
Sachin Monga 3051f3495c powerpc64le: _init/_fini file changes for ROP
The ROP instructions were added in ISA 3.1 (ie, Power10), however they
were defined so that if executed on older cpus, they would behave as
nops.  This allows us to emit them on older cpus and they'd just be
ignored, but if run on a Power10, then the binary would be ROP protected.

Hash instructions use negative offsets so the default position
of ROP pointer is FRAME_ROP_SAVE from caller's SP.

Modified FRAME_MIN_SIZE_PARM to 112 for ELFv2 to reserve
additional 16 bytes for ROP save slot and padding.

Signed-off-by: Sachin Monga <smonga@linux.ibm.com>
Reviewed-by: Peter Bergner <bergner@linux.ibm.com>
2024-11-20 16:50:34 -05:00
..
aarch64 AArch64: Remove thunderx{,2} memcpy 2024-11-20 11:23:53 +00:00
alpha math: Use log1pf from CORE-MATH 2024-11-01 11:27:39 -03:00
arc Fix femode_t conditionals for arc and or1k 2024-11-19 22:25:39 +00:00
arm math: Use log10p1f from CORE-MATH 2024-11-01 11:27:40 -03:00
csky math: Use log1pf from CORE-MATH 2024-11-01 11:27:39 -03:00
generic linux: Add support for getrandom vDSO 2024-11-12 14:42:12 -03:00
gnu sysdeps: Re-flow and sort multiline gnu/Makefile definitions 2024-08-07 11:02:03 -03:00
hppa hppa: Update libm-test-ulps 2024-11-12 21:32:54 -05:00
htl htl: move pthread_attr_init into libc. 2024-11-19 01:37:35 +01:00
hurd hurd: Move internal functions to internal header 2024-03-23 22:43:07 +01:00
i386 math: Use log10p1f from CORE-MATH 2024-11-01 11:27:40 -03:00
ieee754 math: Fix log10f on some ABIs 2024-11-07 07:59:43 -03:00
loongarch LoongArch: Update ulps 2024-11-12 09:19:23 +08:00
m68k math: Use log1pf from CORE-MATH 2024-11-01 11:27:39 -03:00
mach htl: move pthread_attr_init into libc. 2024-11-19 01:37:35 +01:00
microblaze math: Use log1pf from CORE-MATH 2024-11-01 11:27:39 -03:00
mips math: Use log10p1f from CORE-MATH 2024-11-01 11:27:40 -03:00
nios2 math: Use log1pf from CORE-MATH 2024-11-01 11:27:39 -03:00
nptl linux: Add support for getrandom vDSO 2024-11-12 14:42:12 -03:00
or1k Fix femode_t conditionals for arc and or1k 2024-11-19 22:25:39 +00:00
posix stdlib: Make abort/_Exit AS-safe (BZ 26275) 2024-10-08 14:40:12 -03:00
powerpc powerpc64le: _init/_fini file changes for ROP 2024-11-20 16:50:34 -05:00
pthread Rename new tst-sem17 test to tst-sem18 2024-11-08 17:08:09 +00:00
riscv math: Use log10p1f from CORE-MATH 2024-11-01 11:27:40 -03:00
s390 s390x: Update ulps 2024-11-07 20:58:05 +01:00
sh math: Use log1pf from CORE-MATH 2024-11-01 11:27:39 -03:00
sparc math: Use log10p1f from CORE-MATH 2024-11-01 11:27:40 -03:00
unix AArch64: Add support for memory protection keys 2024-11-20 11:30:58 +00:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
x86 x86: Enable non-temporal memset for Hygon processors 2024-08-26 10:01:58 -07:00
x86_64 x86/string: Use movsl instead of movsd in strncpy/strncat [BZ #32344] 2024-11-13 10:09:30 -06:00