RFR: 8333871: check sysinfo return values [v2]

Alan Bateman alanb at openjdk.org
Tue Nov 18 11:06:01 UTC 2025


On Tue, 18 Nov 2025 10:03:36 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> If you search github, you find also a number of places where EPERM is checked after sysinfo, not sure if this is really happening these days on our platforms ?

seccomp comes up periodically where random syscalls fail with EPERM as they aren't permitted by the filter. I don't know if this is what you found in your search but the possibility of seccomp or interposer libraries creates the possibility of syscall failing, or failing with errors that aren't documented for the syscall.

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

PR Comment: https://git.openjdk.org/jdk/pull/28317#issuecomment-3546964776


More information about the hotspot-runtime-dev mailing list