mbox series

[0/2] linux-user: Fix handling when AT_EXECFD is 0

Message ID 20240721090817.120888-1-uwu@dram.page (mailing list archive)
Headers show
Series linux-user: Fix handling when AT_EXECFD is 0 | expand

Message

Vivian Wang July 21, 2024, 9:08 a.m. UTC
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