commit: 2911fdc0d72e37e99cac6609b4799ee06b29cd31 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Thu Jun 22 17:41:09 2023 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Thu Jun 22 17:43:54 2023 +0000 URL: https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=2911fdc0
libsandbox: wrap musl time64 functions musl uses different names from glibc for the time64 symbols. Add them to symbols.h, and use symlinks for the wrapper-func files. Bug: https://bugs.gentoo.org/908970 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> libsandbox/symbols.h.in | 4 ++++ libsandbox/wrapper-funcs/__futimesat_time64.c | 1 + libsandbox/wrapper-funcs/__lutimes_time64.c | 1 + libsandbox/wrapper-funcs/__utimensat_time64.c | 1 + libsandbox/wrapper-funcs/__utimes_time64.c | 1 + 5 files changed, 8 insertions(+) diff --git a/libsandbox/symbols.h.in b/libsandbox/symbols.h.in index 297c13a..5805592 100644 --- a/libsandbox/symbols.h.in +++ b/libsandbox/symbols.h.in @@ -79,11 +79,15 @@ utime __utime64 utimes __utimes64 +__utimes_time64 utimensat __utimensat64 utimensat_time64 +__utimensat_time64 futimesat __futimesat64 +__futimesat_time64 lutimes __lutimes64 +__lutimes_time64 fork vfork diff --git a/libsandbox/wrapper-funcs/__futimesat_time64.c b/libsandbox/wrapper-funcs/__futimesat_time64.c new file mode 120000 index 0000000..c3a9b23 --- /dev/null +++ b/libsandbox/wrapper-funcs/__futimesat_time64.c @@ -0,0 +1 @@ +__futimesat64.c \ No newline at end of file diff --git a/libsandbox/wrapper-funcs/__lutimes_time64.c b/libsandbox/wrapper-funcs/__lutimes_time64.c new file mode 120000 index 0000000..1819ce7 --- /dev/null +++ b/libsandbox/wrapper-funcs/__lutimes_time64.c @@ -0,0 +1 @@ +__lutimes64.c \ No newline at end of file diff --git a/libsandbox/wrapper-funcs/__utimensat_time64.c b/libsandbox/wrapper-funcs/__utimensat_time64.c new file mode 120000 index 0000000..2dceb14 --- /dev/null +++ b/libsandbox/wrapper-funcs/__utimensat_time64.c @@ -0,0 +1 @@ +__utimensat64.c \ No newline at end of file diff --git a/libsandbox/wrapper-funcs/__utimes_time64.c b/libsandbox/wrapper-funcs/__utimes_time64.c new file mode 120000 index 0000000..3dea445 --- /dev/null +++ b/libsandbox/wrapper-funcs/__utimes_time64.c @@ -0,0 +1 @@ +__utimes64.c \ No newline at end of file
