Skip to content

RFC __vdso_findsym

Andy Lutomirski linux-api lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 36 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2uapi: Add some missing dynamic table-related definitions to elf.hinclude/uapi/linux/elf.h+121 -00 replies
2/2x86/vdso: Add __vdso_findsymarch/x86/vdso/Makefile arch/x86/vdso/vdso-findsym.c arch/x86/vdso/vdso-layout.lds.S +2 more+147 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/2] __vdso_findsym

The idea is to add AT_VDSO_FINDSYM pointing at __vdso_findsym. This implements __vdso_findsym.

This would make it easier for runtimes that don't otherwise implement ELF loaders to use the vdso.

Thoughts?

If people like the basic concept, I'll finish it, write up documentation and a selftest. If people don't like it, I'll drop it.

Andy Lutomirski (2):
uapi: Add some missing dynamic table-related definitions to elf.h [NOT READY] x86/vdso: Add __vdso_findsym

 arch/x86/vdso/Makefile          |   3 +
 arch/x86/vdso/vdso-findsym.c    | 136 ++++++++++++++++++++++++++++++++++++++++
 arch/x86/vdso/vdso-layout.lds.S |  11 ++--
 arch/x86/vdso/vdso.lds.S        |   1 +
 arch/x86/vdso/vdso2c.h          |   2 +-
 include/uapi/linux/elf.h        | 121 +++++++++++++++++++++++++++++++++++
 6 files changed, 268 insertions(+), 6 deletions(-)
 create mode 100644 arch/x86/vdso/vdso-findsym.c
Signature · 1 line
1.9.3