Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PAuthABIELF64] Use .note.gnu.property section as ELF marking scheme. #240

Merged
merged 1 commit into from
Mar 15, 2024

Commits on Mar 15, 2024

  1. [PAuthABIELF64] Use .note.gnu.property section as ELF marking scheme.

    Make the alternative .note.gnu.property section the default ELF
    marking scheme for ELF executables and shared libraries. Preserve
    the original SHT_NOTE section as an alternative for legacy
    compatibility.
    
    Extract the common parts of all of the ELF marking schemes
    into "Core Information". The ELF marking schemes now describe
    how they encode the "Core Information". The compatibility model
    is now written in terms of the "Core Information".
    
    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.
    smithp35 committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    3a9b22f View commit details
    Browse the repository at this point in the history