diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2025-02-20 21:45:56 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2025-02-20 21:50:07 +0000 |
| commit | 4afa6308d101da21a749701566c5088bc2c7041e (patch) | |
| tree | 47d4ee2dd3527f1f1aec10fdb64e2f356c0df85c /emulators/qemu-user-static/files/patch-bsd-user_freebsd_os-stat.h | |
| parent | b2d39efa84e236ec6f9dbb74e8e5a754b27ecffb (diff) | |
emulators/qemu-user-static: fix build on main
Call __sys___readlinkat() rather than the now removed __readlinkeat().
Neither are public interfaces, but __sys___readlinkat is somewhat more
so and is declared in libsys.h.
Reported by: cperciva
MFH: 2025Q1
Sponsored by: DARPA, AFRL
Diffstat (limited to 'emulators/qemu-user-static/files/patch-bsd-user_freebsd_os-stat.h')
| -rw-r--r-- | emulators/qemu-user-static/files/patch-bsd-user_freebsd_os-stat.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/qemu-user-static/files/patch-bsd-user_freebsd_os-stat.h b/emulators/qemu-user-static/files/patch-bsd-user_freebsd_os-stat.h new file mode 100644 index 000000000000..cec077643992 --- /dev/null +++ b/emulators/qemu-user-static/files/patch-bsd-user_freebsd_os-stat.h @@ -0,0 +1,11 @@ +--- bsd-user/freebsd/os-stat.h.orig ++++ bsd-user/freebsd/os-stat.h +@@ -702,7 +702,7 @@ + return -TARGET_EFAULT; + } + +- ret = get_errno(__realpathat(arg1, p, b, arg4, arg5)); ++ ret = get_errno(__sys___realpathat(arg1, p, b, arg4, arg5)); + UNLOCK_PATH(p, arg2); + unlock_user(b, arg3, ret); + |
