[PATCH v3 0/2] Prevent dynamic relocations in vDSO

Alexandre Ghiti posted 2 patches 1 month, 1 week ago
arch/riscv/kernel/vdso/Makefile | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
[PATCH v3 0/2] Prevent dynamic relocations in vDSO
Posted by Alexandre Ghiti 1 month, 1 week ago
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