diff options
author | Tamas Petz <tamas.petz@arm.com> | 2020-08-31 15:09:40 +0200 |
---|---|---|
committer | Tamas Petz <tamas.petz@arm.com> | 2020-09-04 11:29:12 +0200 |
commit | f5bdee7fdf15e0c3bf77b215aea073b1beee3c02 (patch) | |
tree | eaa80660696f16cd6a3337355806f05058084089 /libc/malloc_hooks/malloc_hooks.cpp | |
parent | 18621fb30c50e7ee8bc71001a4f42236d29a6133 (diff) |
libc: Add Armv8.3-A PAuth and Armv8.5-A BTI compatibility to *.S
The most notable change is in sigsetjmp/siglongjmp. The former
stores LR signed with the current SP into jmp_buf. Calling siglongjmp
reads a signed LR and the corresponding SP from jmp_buf. This way not
only the checksum provides some means of integrity protection but
Pointer Authentication too.
Test: Tested on FVP with BTI enabled.
Change-Id: I9d720239775f8d2829a677901f546c4b14b5cbe5
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions