Re: RFR: 8277204: Implement PAC-RET branch protection on Linux/AArch64 [v25]

2022-02-25 Thread Alan Hayward
On Tue, 22 Feb 2022 14:35:19 GMT, Alan Hayward wrote: >> PAC is an optional feature in AArch64 8.3 and is compulsory in v9. One >> of its uses is to protect against ROP based attacks. This is done by >> signing the Link Register whenever it is stored on the stack, and >> authenticating the value

Re: RFR: 8277204: Implement PAC-RET branch protection on Linux/AArch64 [v25]

2022-02-25 Thread Andrew Haley
On 2/25/22 13:12, David Holmes wrote: the Zero build Zero on AArch64? I wonder if we need a better way of handling this than AARCH64_ONLY(NOT_ZERO( Maybe AARCH64_PORT_ONLY would be a Good Thing. -- Andrew Haley (he/him) Java Platform Lead Engineer Red Hat UK Ltd. ht

Re: RFR: 8277204: Implement PAC-RET branch protection on Linux/AArch64 [v25]

2022-02-25 Thread David Holmes
On Thu, 24 Feb 2022 10:52:00 GMT, Alan Hayward wrote: >> Alan Hayward has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 34 commits: >> >> - Merge master >> - Merge master >> - Merge master >> - Error on -XX:-PreserveFramePointer