diff options
author | Kees Cook <[email protected]> | 2023-09-28 20:24:32 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2023-10-03 19:48:43 -0700 |
commit | d5ca24f639588811af57ceac513183fa2004bd3a (patch) | |
tree | 18f775306dc281e750c9abdcfe9df0d2e6dafa8f /tools/perf/util/trace-event-scripting.c | |
parent | 8b04d32678e3c46b8a738178e0e55918eaa3be17 (diff) |
binfmt_elf: Use elf_load() for library
While load_elf_library() is a libc5-ism, we can still replace most of
its contents with elf_load() as well, further simplifying the code.
Some historical context:
- libc4 was a.out and used uselib (a.out support has been removed)
- libc5 was ELF and used uselib (there may still be users)
- libc6 is ELF and has never used uselib
Cc: Alexander Viro <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Suggested-by: Eric Biederman <[email protected]>
Tested-by: Pedro Falcato <[email protected]>
Signed-off-by: Sebastian Ott <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions