From d8978639c46076e62b6a433f1dbb81e3293f040e Mon Sep 17 00:00:00 2001 From: Delete228 <31237303+Delete228@users.noreply.github.com> Date: Tue, 20 Oct 2026 16:43:35 +0300 Subject: [PATCH] build: require the controller readv export Check that packaged libfakeinput libraries export readv alongside the existing read hook. --- tools/linuxfs/check-preloads.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/linuxfs/check-preloads.sh b/tools/linuxfs/check-preloads.sh index 78021c4404..30f94a96a6 100644 --- a/tools/linuxfs/check-preloads.sh +++ b/tools/linuxfs/check-preloads.sh @@ -9,7 +9,7 @@ for bad in libstdc++.so.6 libgcc_s.so.1; do done syms() { "${READELF:-readelf}" -Ws "$1" | awk '$4 == "FUNC" && $5 == "GLOBAL" {sub(/@.*/, "", $8); print $8}'; } FAKE=$(syms "$D/libfakeinput.so") -for sym in open openat ioctl read close poll ppoll select stat fstat access scandir; do +for sym in open openat ioctl read readv close poll ppoll select stat fstat access scandir; do grep -qx "$sym" <<<"$FAKE" || { echo "::error::libfakeinput.so does not export $sym"; exit 1; } done if grep -qxE '__gxx_personality_v0|__cxa_throw|_Unwind_Resume' <<<"$FAKE"; then