Re: Someone using COMPAT_SVR4(_32) ?

Jerome Ibanes <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <CAB+41mEGLs6Pqp0bKwHvr42+EZ0q85knKGCe0GE=sHaf42QYJQ@mail.gmail.com>
Martin,

6.0.6 sparc64, 6.1.5 sparc64, 7.1 sparc64 (all GENERIC), fail with the same
behavior (meaning, same ktrace ouput) given the same payload (sparc
solaris 2.6), ktrace shows:

[...]
  1119      1 k        CALL  mmap(0x2000,0x80000002,0,0x45f,2,0)
  1119      1 k        RET   mmap 1074167808/0x40068000
  1119      1 k        PSIG  SIGSEGV SIG_DFL: code=SEGV_MAPERR,
addr=0x0, trap=48)


Jerome


On Wed, Sep 13, 2017 at 6:39 AM, Martin Husemann <[email protected]> wrote:
> On Wed, Sep 13, 2017 at 01:15:43AM +0200, Jerome Ibanes wrote:
>> Guus, Maxime,
>>
>> compat_svr4 (with a sparc solaris 2.6 payload) works on Netbsd 5.2.3 sparc64
>> (released 15-NOV-2014), doesn't work on 6.0.6 sparc64 (released
>> 22-SEP-2014). Tests performed with a GENERIC kernel.
>
> I think that was me (breaking 32bit processes in fork) - it should be fixed
> on all branches (in Nov 2015, though it only talks about netbsd32, see
> http://releng.netbsd.org/cgi-bin/req-6.cgi?show=1343)
>
> Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.