docs/COREDUMP_PACKAGE_METADATA: ELF section should be read-only and 4-bytes-aligned

This commit is contained in:
Luca Boccassi
2021-10-26 12:49:39 +01:00
parent 2f13844e73
commit 98acae1f21

View File

@@ -33,9 +33,9 @@ This document will attempt to define a common metadata format specification, so
multiple implementers might use it when building packages, or core file analyzers, and
so on.
The metadata will be embedded in a single, new ELF header section, in a key-value JSON
format. Implementers working on parsing core files should not assume a specific list of
keys, but parse anything that is included in the section.
The metadata will be embedded in a single, new, 4-bytes-aligned, read-only ELF header section,
in a key-value JSON format. Implementers working on parsing core files should not assume a
specific list of keys, but parse anything that is included in the section.
Implementers working on build tools should strive to use the same key names, for
consistency. The most common will be listed here. When corresponding to the content of
os-release, the values should match, again for consistency.