|
|
Subscribe / Log in / New account

ELF: Alternate program property parser

From:  Dave Martin <Dave.Martin-AT-arm.com>
To:  linux-kernel-AT-vger.kernel.org
Subject:  [RFC PATCH v2 0/2] ELF: Alternate program property parser
Date:  Fri, 23 Aug 2019 18:23:38 +0100
Message-ID:  <1566581020-9953-1-git-send-email-Dave.Martin@arm.com>
Cc:  linux-arch-AT-vger.kernel.org, Kees Cook <keescook-AT-chromium.org>, Thomas Gleixner <tglx-AT-linutronix.de>, Jann Horn <jannh-AT-google.com>, "H.J. Lu" <hjl.tools-AT-gmail.com>, Eugene Syromiatnikov <esyr-AT-redhat.com>, Florian Weimer <fweimer-AT-redhat.com>, Yu-cheng Yu <yu-cheng.yu-AT-intel.com>, Peter Zijlstra <peterz-AT-infradead.org>
Archive-link:  Article

This series is an experimental reimplementation of ELF property parsing
(see NT_GNU_PROPERTY_TYPE_0, [1]) for the ELF loader.

This is intended for comparison / merging with [2] (or could replace it,
if people think this approach is better).

This supersedes RFC v1 [3].

For changes see the individual patches.


[1] Linux Extensions to gABI
https://github.com/hjl-tools/linux-abi/wiki/Linux-Extensi...

[2] [PATCH v8 22/27] binfmt_elf: Extract .note.gnu.property from an ELF file
https://lore.kernel.org/lkml/20190813205225.12032-23-yu-c...

[3] [RFC PATCH 0/2] ELF: Alternate program property parser
https://lore.kernel.org/lkml/1566295063-7387-1-git-send-e...

Dave Martin (2):
  ELF: UAPI and Kconfig additions for ELF program properties
  ELF: Add ELF program property parsing support

 fs/Kconfig.binfmt        |   3 ++
 fs/binfmt_elf.c          | 124 +++++++++++++++++++++++++++++++++++++++++++++++
 fs/compat_binfmt_elf.c   |   4 ++
 include/linux/elf.h      |  27 +++++++++++
 include/uapi/linux/elf.h |   5 ++
 5 files changed, 163 insertions(+)

-- 
2.1.4



Copyright © 2019, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds