|
Message-ID: <d40685f0-cc75-f6e1-154a-536c5c53e915@ev-box.com> Date: Mon, 29 Nov 2021 14:11:47 +0100 From: Norbert van Bolhuis <norbert.vanbolhuis@...ox.com> To: musl@...ts.openwall.com Subject: no 32bit timestamp compatible stat/lstat/fstat? Hi All, Why does musl-1.2.x not offer the 32bit timestamp compatible stat/lstat/fstat? We're using a 3rd-party binary (compiled against glibc) on an arm32v7 platform which fails to execute ever since we jumped from musl v1.1.x to 1.2.x, see: / # wl Error relocating /usr/sbin/wl: __fxstat: symbol not found The arm32v7 glibc-2.3x (working with 64bit timestamps) does provide them. Looking at: https://www.openwall.com/lists/musl/2019/08/01/1 it seems this is a known limitation. Any plans on fixing this? I solved my case by preloading a shared library for which the source is: #include <sys/stat.h> extern int __fxstat64(int ver, int fd, struct stat32 *buf); int __fxstat(int ver, int fd, struct stat32 *buf) { return __fxstat64(ver, fd, buf); } Regards, Norbert van Bolhuis Btw. please CC me on replies (as I'm not subscribed to musl@...ts.openwall.com)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.