Re: go/rust vs uvm_map_inentry()

2020-09-14 Thread Theo de Raadt
A similar fix for the "sh" cpu, which is in the landisk. Index: sh/sh/trap.c === RCS file: /cvs/src/sys/arch/sh/sh/trap.c,v retrieving revision 1.40 diff -u -p -u -r1.40 trap.c --- sh/sh/trap.c6 Sep 2019 12:22:01 -

Re: go/rust vs uvm_map_inentry()

2020-09-14 Thread Theo de Raadt
i386 has the same problem. Index: arch/i386/i386/trap.c === RCS file: /cvs/src/sys/arch/i386/i386/trap.c,v retrieving revision 1.143 diff -u -p -u -r1.143 trap.c --- arch/i386/i386/trap.c 19 Aug 2020 10:10:58 - 1.143

Re: go/rust vs uvm_map_inentry()

2020-09-14 Thread Sebastien Marie
On Mon, Sep 14, 2020 at 01:25:03PM +0200, Mark Kettenis wrote: > > Date: Sun, 13 Sep 2020 19:48:19 +0200 > > From: Sebastien Marie > > > > On Sun, Sep 13, 2020 at 04:49:48PM +0200, Sebastien Marie wrote: > > > On Sun, Sep 13, 2020 at 03:29:57PM +0200, Martin Pieuchot wrote: > > > > I'm no longer

Re: go/rust vs uvm_map_inentry()

2020-09-14 Thread Mark Kettenis
> Date: Sun, 13 Sep 2020 19:48:19 +0200 > From: Sebastien Marie > > On Sun, Sep 13, 2020 at 04:49:48PM +0200, Sebastien Marie wrote: > > On Sun, Sep 13, 2020 at 03:29:57PM +0200, Martin Pieuchot wrote: > > > I'm no longer able to reproduce the corruption while building lang/go > > > with the

Re: go/rust vs uvm_map_inentry()

2020-09-13 Thread Sebastien Marie
On Sun, Sep 13, 2020 at 04:49:48PM +0200, Sebastien Marie wrote: > On Sun, Sep 13, 2020 at 03:29:57PM +0200, Martin Pieuchot wrote: > > I'm no longer able to reproduce the corruption while building lang/go > > with the diff below. Something relevant to threading change in go since > > march? > >

Re: go/rust vs uvm_map_inentry()

2020-09-13 Thread Mark Kettenis
> Date: Sun, 13 Sep 2020 17:54:18 +0200 > From: Martin Pieuchot > > On 13/09/20(Sun) 16:54, Mark Kettenis wrote: > > > Date: Sun, 13 Sep 2020 16:49:48 +0200 > > > From: Sebastien Marie > > > > > > On Sun, Sep 13, 2020 at 03:29:57PM +0200, Martin Pieuchot wrote: > > > > I'm no longer able to

Re: go/rust vs uvm_map_inentry()

2020-09-13 Thread Sebastien Marie
On Sun, Sep 13, 2020 at 09:15:15AM -0600, Theo de Raadt wrote: > crashes -- but without any kernel printfs? crashes and no kernel printfs -- Sebastien Marie

Re: go/rust vs uvm_map_inentry()

2020-09-13 Thread Martin Pieuchot
On 13/09/20(Sun) 16:54, Mark Kettenis wrote: > > Date: Sun, 13 Sep 2020 16:49:48 +0200 > > From: Sebastien Marie > > > > On Sun, Sep 13, 2020 at 03:29:57PM +0200, Martin Pieuchot wrote: > > > I'm no longer able to reproduce the corruption while building lang/go > > > with the diff below.

Re: go/rust vs uvm_map_inentry()

2020-09-13 Thread Mark Kettenis
> From: "Theo de Raadt" > Date: Sun, 13 Sep 2020 08:56:04 -0600 > > Sebastien Marie wrote: > > > On Sun, Sep 13, 2020 at 03:29:57PM +0200, Martin Pieuchot wrote: > > > I'm no longer able to reproduce the corruption while building lang/go > > > with the diff below. Something relevant to

Re: go/rust vs uvm_map_inentry()

2020-09-13 Thread Theo de Raadt
We need to know which one is hitting a broken counter party -- is it the stack checker, or the syscall checker.

Re: go/rust vs uvm_map_inentry()

2020-09-13 Thread Theo de Raadt
Sebastien Marie wrote: > On Sun, Sep 13, 2020 at 03:29:57PM +0200, Martin Pieuchot wrote: > > I'm no longer able to reproduce the corruption while building lang/go > > with the diff below. Something relevant to threading change in go since > > march? > > > > Can someone try this diff and tell

Re: go/rust vs uvm_map_inentry()

2020-09-13 Thread Mark Kettenis
> Date: Sun, 13 Sep 2020 16:49:48 +0200 > From: Sebastien Marie > > On Sun, Sep 13, 2020 at 03:29:57PM +0200, Martin Pieuchot wrote: > > I'm no longer able to reproduce the corruption while building lang/go > > with the diff below. Something relevant to threading change in go since > > march? >

Re: go/rust vs uvm_map_inentry()

2020-09-13 Thread Sebastien Marie
On Sun, Sep 13, 2020 at 03:29:57PM +0200, Martin Pieuchot wrote: > I'm no longer able to reproduce the corruption while building lang/go > with the diff below. Something relevant to threading change in go since > march? > > Can someone try this diff and tell me if go and/or rust still fail?

go/rust vs uvm_map_inentry()

2020-09-13 Thread Martin Pieuchot
I'm no longer able to reproduce the corruption while building lang/go with the diff below. Something relevant to threading change in go since march? Can someone try this diff and tell me if go and/or rust still fail? Index: uvm/uvm_map.c