Skip to content

Commit 281c9db

Browse files
committed
[PAuthABI] Clarify overriding default ELF marking scheme.
The default PAuth vendor and version for ELF files with no ELF marking is (0,0) which is incompatible with everything. This is the safest default as there is no information about what, if any, signing schema is used by that ELF file. Implementations can change this default in the presence of supplemental information, such as a linker command line option. For example there could be the equivalent of the -z force-bti which declares that all ELF objects without the BTI property are considered to be compatible.
1 parent 27409ba commit 281c9db

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pauthabielf64/pauthabielf64.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -933,8 +933,12 @@ compatibility.
933933

934934
* The absence of any ELF marking means no information on how pointers
935935
are signed is available for this ELF file. When used in combination
936-
with ELF files that contain ELF marking, then the file is assigned
937-
the (``platform identifer``, ``version number``) of (0,0).
936+
with ELF files that contain ELF marking, then by default the file is
937+
assigned the (``platform identifer``, ``version number``) of (0,0).
938+
Implementations may use additional information supplementary to the
939+
ELF file, such as linker command-line options, to provide an
940+
implementation defined `Core Information`_ for ELF files with no ELF
941+
marking.
938942

939943
* The presence of ELF marking means that, if the file contains
940944
pointers, they were signed in a compatible way with the schema
@@ -966,7 +970,7 @@ compatibility.
966970
Information`_ is not recognized by the loader.
967971

968972
* If the platform identifier from the `Core Information`_ is the
969-
reservd Invalid value 0.
973+
reserved Invalid value 0.
970974

971975
Platforms may replace the base compatibility model with a
972976
platform-specific model.

0 commit comments

Comments
 (0)