diff options
| author | Sachin Monga <smonga@linux.ibm.com> | 2025-11-21 01:31:32 -0500 |
|---|---|---|
| committer | Sachin Monga <smonga@linux.ibm.com> | 2025-11-21 01:31:08 -0500 |
| commit | f8cdc03e1e416ab16717b47f946c033de2d9494f (patch) | |
| tree | e3497333fe3376ccf9253ff5c838ea999c34374f /sysdeps/powerpc/powerpc64/multiarch/Makefile | |
| parent | 040256e79b2f8874bb3f629b9de14d786785957a (diff) | |
ppc64le: Restore optimized strncmp for power10release/2.41/master
This patch addresses the actual cause of CVE-2025-5745
The vector non-volatile registers are not used anymore for
32 byte load and comparison operation
Additionally, the assembler workaround used earlier for the
instruction lxvp is replaced with actual instruction.
Signed-off-by: Sachin Monga <smonga@linux.ibm.com>
Co-authored-by: Paul Murphy <paumurph@redhat.com>
(cherry picked from commit 2ea943f7d487d6a4166658b32af7c5365889fc34)
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch/Makefile')
| -rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/Makefile b/sysdeps/powerpc/powerpc64/multiarch/Makefile index 940af7ef16..c40feea250 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/Makefile +++ b/sysdeps/powerpc/powerpc64/multiarch/Makefile @@ -33,7 +33,7 @@ sysdep_routines += memcpy-power8-cached memcpy-power7 memcpy-a2 memcpy-power6 \ ifneq (,$(filter %le,$(config-machine))) sysdep_routines += memcmp-power10 memcpy-power10 memmove-power10 memset-power10 \ rawmemchr-power9 rawmemchr-power10 \ - strcmp-power9 strcmp-power10 strncmp-power9 \ + strcmp-power9 strcmp-power10 strncmp-power9 strncmp-power10 \ strcpy-power9 strcat-power10 stpcpy-power9 \ strlen-power9 strncpy-power9 stpncpy-power9 strlen-power10 endif |
