RFR: 8357425: (fs) SecureDirectoryStream setPermissions should use fchmodat
Brian Burkhalter
bpb at openjdk.org
Mon Jun 2 15:47:52 UTC 2025
On Sat, 31 May 2025 06:36:33 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> Okay, let's go with what you have for now and we can mull over re-visiting this list. It dates from when the support for the "at" functions varied across operating systems and versions.
Agreed. On Linux, the `openat`, `unlinkat`, and `renameat` calls appear all, like `fchmodat`, to have been introduced in Linux version 2.6.16 which was in 2008, so I suspect these will be able to be dropped from the check. It would be helpful to know which of the calls are not available on AIX (@MBaesken).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25534#issuecomment-2931326662
More information about the nio-dev
mailing list