Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1025350

Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries

From John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Newsgroups linux.debian.bugs.dist, linux.debian.ports.68k, linux.debian.ports.superh
Subject Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries
Date 2020-09-16 19:20 +0200
Message-ID <APJg5-6Q9-1@gated-at.bofh.it> (permalink)
References <APIWK-6uw-5@gated-at.bofh.it> <APIWK-6uw-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 3 groups.

Show all headers | View raw


> On Sep 16, 2020, at 6:57 PM, Thorsten Glaser <tg@mirbsd.de> wrote:
> 
> I’m attaching a test program that does the following:
> 
> • if argv[1] is "-" it just outputs argv[0] and argv[1]
> • otherwise it also execve(2)s argv[1] with its argv[0] set to "meow"

That’s been fixed upstream and can be configured with the qemu-binfmt.sh script and the option “preserved=yes”.

Also, this would be an upstream bug, not a Debian bug :).

Adrian

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries Thorsten Glaser <tg@mirbsd.de> - 2020-09-16 19:00 +0200
  Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2020-09-16 19:20 +0200
    Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries Michael Tokarev <mjt@tls.msk.ru> - 2020-09-16 20:00 +0200
    Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries Thorsten Glaser <tg@mirbsd.de> - 2020-09-16 21:00 +0200
  Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries Andreas Schwab <schwab@linux-m68k.org> - 2020-09-16 21:20 +0200
    Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries Michael Tokarev <mjt@tls.msk.ru> - 2020-09-16 21:30 +0200
      Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries Thorsten Glaser <tg@mirbsd.de> - 2020-09-16 21:50 +0200
  Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries Michael Tokarev <mjt@tls.msk.ru> - 2020-09-16 22:10 +0200
  Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries Michael Tokarev <mjt@tls.msk.ru> - 2020-09-17 10:00 +0200
    Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries Thorsten Glaser <tg@mirbsd.de> - 2020-09-17 23:50 +0200
      Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries Finn Thain <fthain@telegraphics.com.au> - 2020-09-18 01:40 +0200
      Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries Thorsten Glaser <tg@debian.org> - 2020-09-19 22:10 +0200
  Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries Michael Tokarev <mjt@tls.msk.ru> - 2020-09-17 10:20 +0200
  Bug#970460: [Bug libc/23960] [2.28 Regression]: New getdents{64} implementation breaks qemu-user Thorsten Glaser <tg@mirbsd.de> - 2020-10-03 01:30 +0200

csiph-web