Re: linux clone issue

2021-10-05 Thread Manuel Bouyer
On Tue, Oct 05, 2021 at 03:57:14PM +0100, Robert Swindells wrote: > > Manuel Bouyer wrote: > >I'm trying to run a binary-only linux program under NetBSD 9.2. > >From what I found, the binary was built on Ubuntu 16.04 > > > >The program dies at at specific point and it seems to be a bug in our >

linux ptrace issue [Re: linux clone issue]

2021-10-05 Thread Manuel Bouyer
On Tue, Oct 05, 2021 at 01:08:52PM +0200, Manuel Bouyer wrote: > On Tue, Oct 05, 2021 at 12:42:33AM -0400, Eric Hawicz wrote: > > > > On 10/4/2021 10:33 AM, Manuel Bouyer wrote: > > > Hello > > > I'm trying to run a binary-only linux program under NetBSD 9.2. > > > From what I found, the binary

Re: linux clone issue

2021-10-05 Thread Robert Swindells
Manuel Bouyer wrote: >I'm trying to run a binary-only linux program under NetBSD 9.2. >From what I found, the binary was built on Ubuntu 16.04 > >The program dies at at specific point and it seems to be a bug in our >emulation: 8992 8992 mylinuxprog CALL

Re: linux clone issue

2021-10-05 Thread Manuel Bouyer
On Tue, Oct 05, 2021 at 12:42:33AM -0400, Eric Hawicz wrote: > > On 10/4/2021 10:33 AM, Manuel Bouyer wrote: > > Hello > > I'm trying to run a binary-only linux program under NetBSD 9.2. > > From what I found, the binary was built on Ubuntu 16.04 > > [...] > > > > As you can see above (ktrace

Re: linux clone issue

2021-10-05 Thread Eric Hawicz
On 10/4/2021 10:33 AM, Manuel Bouyer wrote: Hello I'm trying to run a binary-only linux program under NetBSD 9.2. From what I found, the binary was built on Ubuntu 16.04 [...] As you can see above (ktrace -si output), the read on fd 3 in 26751 returns with an error as soon as the child does

linux clone issue

2021-10-04 Thread Manuel Bouyer
Hello I'm trying to run a binary-only linux program under NetBSD 9.2. >From what I found, the binary was built on Ubuntu 16.04 The program dies at at specific point and it seems to be a bug in our emulation: 26751 26751 mylinuxprog CALL close(3) 26751 26751 mylinuxprog RET close 0 26751