RFR: 8337966: Verify statx permissions
Alexey Bakhtin
abakhtin at openjdk.org
Wed Aug 7 04:24:43 UTC 2024
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
-------------
Commit messages:
- 8337966: Verify statx permissions
Changes: https://git.openjdk.org/jdk/pull/20484/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20484&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8337966
Stats: 8 lines in 1 file changed: 7 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/20484.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20484/head:pull/20484
PR: https://git.openjdk.org/jdk/pull/20484
More information about the nio-dev
mailing list