mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 18:46:38 -04:00
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
(cherry picked from commit 4afa6308d1
)
11 lines
315 B
C
11 lines
315 B
C
--- 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);
|
|
|