Re: RFR: 8277204: Implementation of JEP 8264130: PAC-RET protection for Linux/AArch64 [v10]

2021-12-11 Thread Florian Weimer
On Sat, 11 Dec 2021 14:05:12 GMT, Andrew Haley wrote: >> Alan Hayward has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Remove BSD/Apple specific code > > src/hotspot/cpu/aarch64/globals_aarch64.hpp line 122: > >> 120: "It canno

Re: RFR: 8277204: Implementation of JEP 8264130: PAC-RET protection for Linux/AArch64 [v10]

2021-12-11 Thread Andrew Haley
On Fri, 10 Dec 2021 15:14:47 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: Implementation of JEP 8264130: PAC-RET protection for Linux/AArch64 [v9]

2021-12-11 Thread Andrew Haley
On Fri, 10 Dec 2021 15:16:19 GMT, Alan Hayward wrote: >> src/hotspot/cpu/aarch64/vm_version_aarch64.cpp line 419: >> >>> 417: if (UseROPProtection) { >>> 418: warning("UseROPProtection specified, but not supported on this >>> CPU."); >>> 419: FLAG_SET_DEFAULT(UseROPProtection, f