[PATCH] elf: add definition for FDO_PACKAGING_METADATA note

luca.boccassi@gmail.com luca.boccassi@gmail.com
Sun Nov 21 19:39:39 GMT 2021


From: Luca Boccassi <bluca@debian.org>

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>
---
As requested by Mark on:
https://sourceware.org/pipermail/elfutils-devel/2021q4/004387.html

 elf/elf.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/elf/elf.h b/elf/elf.h
index 50f87bac..4bb390b2 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -1302,6 +1302,9 @@ typedef struct
 /* Program property.  */
 #define NT_GNU_PROPERTY_TYPE_0 5
 
+/* Packaging metadata as defined on https://systemd.io/COREDUMP_PACKAGE_METADATA/ */
+#define FDO_PACKAGING_METADATA 0xcafe1a7e
+
 /* Note section name of program property.   */
 #define NOTE_GNU_PROPERTY_SECTION_NAME ".note.gnu.property"
 
-- 
2.33.0



More information about the Libc-alpha mailing list