Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Someone using COMPAT_SVR4(_32) ?



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 <martin%duskware.de@localhost> 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


Home | Main Index | Thread Index | Old Index