mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Prevent dynamic relocations in vDSO
@ 2024-10-16  8:36 Alexandre Ghiti
  2024-10-16  8:36 ` [PATCH v3 1/2] riscv: vdso: Prevent the compiler from inserting calls to memset() Alexandre Ghiti
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alexandre Ghiti @ 2024-10-16  8:36 UTC (permalink / raw)
  To: Vladimir Isaev, Roman Artemev, Guo Ren, Paul Walmsley,
	Palmer Dabbelt, Albert Ou, linux-riscv, linux-kernel
  Cc: Alexandre Ghiti

Patch 2 uses a generic function to make sure the vDSO object does not
contain any dynamic relocations.

Patch 1 removes a dynamic relocation from vDSO in rv32 found with patch
2.

v2: https://lore.kernel.org/linux-riscv/20240705060902.113294-1-alexghiti@rivosinc.com/
v1: https://lore.kernel.org/linux-riscv/20240326113831.283025-1-alexghiti@rivosinc.com/

Changes in v3:
- Add RB and TB from Bjorn and Vladimir from v1
- Use -fno-builtin instead of the previous option that does not exist in llvm
  (Palmer)

Changes in v2:
- Add patch 1 (Björn)

Alexandre Ghiti (2):
  riscv: vdso: Prevent the compiler from inserting calls to memset()
  riscv: Check that vdso does not contain any dynamic relocations

 arch/riscv/kernel/vdso/Makefile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-10-17 16:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-16  8:36 [PATCH v3 0/2] Prevent dynamic relocations in vDSO Alexandre Ghiti
2024-10-16  8:36 ` [PATCH v3 1/2] riscv: vdso: Prevent the compiler from inserting calls to memset() Alexandre Ghiti
2024-10-17  5:50   ` Guo Ren
2024-10-16  8:36 ` [PATCH v3 2/2] riscv: Check that vdso does not contain any dynamic relocations Alexandre Ghiti
2024-10-17  5:54   ` Guo Ren
2024-10-17 16:30 ` [PATCH v3 0/2] Prevent dynamic relocations in vDSO patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®