Skip to content

Commit 58076db

Browse files
caojoshuaPaul Hohensee
authored and
Paul Hohensee
committed
8214078: (fs) SecureDirectoryStream not supported on arm32
Reviewed-by: phh Backport-of: 10cd386
1 parent 3db29c4 commit 58076db

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c

+2-3
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,9 @@ static futimesat_func* my_futimesat_func = NULL;
152152
static fdopendir_func* my_fdopendir_func = NULL;
153153

154154
/**
155-
* fstatat missing from glibc on Linux. Temporary workaround
156-
* for x86/x64.
155+
* fstatat missing from glibc on Linux.
157156
*/
158-
#if defined(__linux__) && defined(__i386)
157+
#if defined(__linux__) && (defined(__i386) || defined(__arm__))
159158
#define FSTATAT64_SYSCALL_AVAILABLE
160159
static int fstatat64_wrapper(int dfd, const char *path,
161160
struct stat64 *statbuf, int flag)

0 commit comments

Comments
 (0)