elasticsearch/libs/native
Ryan Ernst e4349f8787
Force resolution of fstat64 symbol with JNA (#110807)
When JNA loads libraries it creates a proxy object for the library.
Unfortunately it doesn't actually inspect any of the methods, those get
bound lazily at runtime when the method is called through the proxy. For
fstat64 we need to know at load time whether the symbol exists, so that
we can fallback to an alternate function if it doesn't.

This commit looks up the NativeLibrary object from JNA for libc and
checks if fstat64 exists during load time.
2024-07-12 14:53:01 -07:00
..
jna Force resolution of fstat64 symbol with JNA (#110807) 2024-07-12 14:53:01 -07:00
libraries Add AVX-512 optimised vector distance functions for int7 on x64 (#109084) 2024-06-28 11:15:35 +02:00
src Move preallocate functionality to native access (#110678) 2024-07-11 09:42:44 -07:00
build.gradle Move common mrjar forbidden apis configuration to plugin (#106385) 2024-03-19 16:40:52 -04:00