unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: "luca.boccassi--- via Libc-alpha" <libc-alpha@sourceware.org>
To: libc-alpha@sourceware.org
Cc: mark@klomp.org
Subject: [PATCH] elf: add definition for FDO_PACKAGING_METADATA note
Date: Sun, 21 Nov 2021 19:39:39 +0000	[thread overview]
Message-ID: <20211121193939.105186-1-luca.boccassi@gmail.com> (raw)

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


             reply	other threads:[~2021-11-21 19:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-21 19:39 luca.boccassi--- via Libc-alpha [this message]
2021-11-22 14:03 ` [PATCH] elf: add definition for FDO_PACKAGING_METADATA note Florian Weimer via Libc-alpha
2021-11-22 14:44   ` Luca Boccassi via Libc-alpha
2021-11-22 15:17     ` Florian Weimer via Libc-alpha
2021-11-23  9:42       ` Mark Wielaard
2021-11-26 16:49 ` Mark Wielaard
2021-11-26 17:01   ` Luca Boccassi via Libc-alpha
2021-11-26 17:01 ` [PATCH v2] elf: add definition for NT_FDO_PACKAGING_METADATA note luca.boccassi--- via Libc-alpha
2021-11-26 20:27   ` Florian Weimer via Libc-alpha
2021-11-26 20:59     ` Luca Boccassi via Libc-alpha
2021-11-26 20:58 ` [PATCH v3] elf: add definition for ELF_NOTE_FDO and " luca.boccassi--- via Libc-alpha
2021-11-29 20:35   ` Florian Weimer via Libc-alpha
2021-12-02 22:02   ` Florian Weimer via Libc-alpha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/libc/involved.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211121193939.105186-1-luca.boccassi@gmail.com \
    --to=libc-alpha@sourceware.org \
    --cc=luca.boccassi@gmail.com \
    --cc=mark@klomp.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).