changeset 53609:09a3f379b927

8214078: (fs) SecureDirectoryStream not supported on arm32 Reviewed-by: alanb Contributed-by: nick.gasson@arm.com
author alanb
date Wed, 21 Nov 2018 18:44:11 +0000
parents 3a7d49718852
children 9cfc8b0c45fd
files src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c	Wed Nov 21 09:38:27 2018 -0800
+++ b/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c	Wed Nov 21 18:44:11 2018 +0000
@@ -153,10 +153,9 @@
 static fdopendir_func* my_fdopendir_func = NULL;
 
 /**
- * fstatat missing from glibc on Linux. Temporary workaround
- * for x86/x64.
+ * fstatat missing from glibc on Linux.
  */
-#if defined(__linux__) && defined(__i386)
+#if defined(__linux__) && (defined(__i386) || defined(__arm__))
 #define FSTATAT64_SYSCALL_AVAILABLE
 static int fstatat64_wrapper(int dfd, const char *path,
                              struct stat64 *statbuf, int flag)