Found when trying to build coreutils under linux-user as binfmt_misc interpreter with "open-binary" flag.
I'm unsure whether the version detection in patch 1 makes sense. Please advise on how to handle situations like this. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2448 Vivian Wang (2): util/getauxval: Ensure setting errno if not found linux-user/main: Check errno when getting AT_EXECFD linux-user/main.c | 3 ++- util/getauxval.c | 14 ++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) -- 2.45.1