[jdk21u-dev] RFR: 8337966: (fs) Files.readAttributes fails with Operation not permitted on older docker releases [v3]
Alan Bateman
alanb at openjdk.org
Fri Sep 6 07:38:00 UTC 2024
On Fri, 6 Sep 2024 06:48:29 GMT, Martin Balao <mbalao at openjdk.org> wrote:
> As @AlanBateman mentioned [here](https://github.com/openjdk/jdk/pull/20484#issuecomment-2316814125), `EPERM` seems to be undocumented for `statx` and that's not ideal. Is this stable and consistent across all Kernel/glibc versions? Is there another reason for the implementation to return `EPERM`?
Someone familiar with `seccomp` might be able to say for sure. I think it's that the seccomp filters cause EPERM to be returned rather than the glibc or actual sys call.
-------------
PR Comment: https://git.openjdk.org/jdk21u-dev/pull/951#issuecomment-2333434778
More information about the jdk-updates-dev
mailing list