RFR: 8345296: AArch64: VM crashes with SIGILL when prctl is disallowed [v3]

Evgeny Astigeevich eastigeevich at openjdk.org
Mon Dec 2 17:39:03 UTC 2024


On Mon, 2 Dec 2024 17:26:19 GMT, Evgeny Astigeevich <eastigeevich at openjdk.org> wrote:

>> I thought so too, but it is not, if `vl == 0`?
>
> It covers the case: `vl == 0`.

According to https://man7.org/linux/man-pages/man2/prctl.2.html, `prctl` returns a nonnegative value. So we need to check `vl` for zero.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/22479#discussion_r1866297025


More information about the hotspot-dev mailing list