8214078: (fs) SecureDirectoryStream not supported on arm32
Reviewed-by: alanb
Contributed-by: nick.gasson@arm.com
--- 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)