RFR 6307456 : UnixFileSystem_md.c use of chmod() and access() should handle EINTR signal appropriately (unix)
ivan.gerasimov at oracle.com
Thu Mar 14 17:29:05 UTC 2019
Not all the man pages agree that chmod, access and statvfs64 can be
interrupted, but at least on some platforms they are allowed to fail
with EINTR: chmod(2) on MacOS, access(2) on Solaris and statvfs(3) on
So, it would be more accurate to wrap these up into a RESTARTABLE loop.
Also, java_io_UnixFileSystem_list was tiny-optimized to avoid
Would you please help review the fix?
Thanks in advance!
With kind regards,
More information about the core-libs-dev