RFR: 8337966: Verify statx permissions
Alan Bateman
alanb at openjdk.org
Wed Aug 7 11:23:31 UTC 2024
On Wed, 7 Aug 2024 04:20:29 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:
> Please review the fix for regression on the old docker versions (before v18.04)
>
> Suggest to verify if statx is permitted during initialization
>
> statx(-1, "", AT_EMPTY_PATH, 0, &statx_buf) return EPERM if statx syscall not permitted and EBADF otherwise
>
> Fallback to stat() if statx() not permitted
>
> Related jtreg tests passed
I've moved the JBS issue to the right place and changed the description to make it clear what this issue is about. Would it be possible to change the PR title to match the description.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20484#issuecomment-2273236706
More information about the nio-dev
mailing list