diff options
author | Luca Boccassi <bluca@debian.org> | 2021-12-02 23:01:29 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-12-02 23:01:51 +0100 |
commit | 0656b649c56ea51cceb86e94842d89946cee919b (patch) | |
tree | 9de95f0743de2fe177eb086d006f2068bdeba9b9 | |
parent | b31bd11454fade731e5158b1aea40b133ae19926 (diff) | |
download | glibc-0656b649c56ea51cceb86e94842d89946cee919b.tar glibc-0656b649c56ea51cceb86e94842d89946cee919b.tar.gz glibc-0656b649c56ea51cceb86e94842d89946cee919b.tar.bz2 glibc-0656b649c56ea51cceb86e94842d89946cee919b.zip |
elf: add definition for ELF_NOTE_FDO and NT_FDO_PACKAGING_METADATA note
As defined on: https://systemd.io/COREDUMP_PACKAGE_METADATA/
this note will be used starting from Fedora 36.
Signed-off-by: Luca Boccassi <bluca@debian.org>
-rw-r--r-- | elf/elf.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1259,6 +1259,8 @@ typedef struct /* Note entries for GNU systems have this name. */ #define ELF_NOTE_GNU "GNU" +/* Note entries for freedesktop.org have this name. */ +#define ELF_NOTE_FDO "FDO" /* Defined types of notes for Solaris. */ @@ -1302,6 +1304,10 @@ typedef struct /* Program property. */ #define NT_GNU_PROPERTY_TYPE_0 5 +/* Packaging metadata as defined on + https://systemd.io/COREDUMP_PACKAGE_METADATA/ */ +#define NT_FDO_PACKAGING_METADATA 0xcafe1a7e + /* Note section name of program property. */ #define NOTE_GNU_PROPERTY_SECTION_NAME ".note.gnu.property" |