NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/51237: $TOOLDIR/bin/...-install crashes
The following reply was made to PR toolchain/51237; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: toolchain/51237: $TOOLDIR/bin/...-install crashes
Date: Tue, 14 Jun 2016 16:07:23 +0200
When running in the script below in /usr/obj/lib/libpthread_dbg
I get:
security.pax.aslr.rand: 4095 -> 4095
security.pax.aslr.flags: 0 -> 33
[1] Segmentation fault (core dumped) /usr/tools/bin/s...
security.pax.aslr.flags: 33 -> 34
[1] Segmentation fault (core dumped) /usr/tools/bin/s...
security.pax.aslr.flags: 34 -> 36
[1] Segmentation fault (core dumped) /usr/tools/bin/s...
security.pax.aslr.flags: 36 -> 40
[1] Segmentation fault (core dumped) /usr/tools/bin/s...
security.pax.aslr.flags: 40 -> 48
security.pax.aslr.flags: 48 -> 47
[1] Segmentation fault (core dumped) /usr/tools/bin/s...
security.pax.aslr.flags: 47 -> 63
security.pax.aslr.flags: 63 -> 0
Martin
#! /bin/sh
sysctl -w security.pax.aslr.rand=0xfff
for i in 21 22 24 28 30 2f 3f
do
sysctl -w security.pax.aslr.flags=0x$i
/usr/tools/bin/sparc64--netbsd-install -N /usr/src/etc -c -r -o root -g wheel -m 444 libpthread_dbg.so.2.0.debug //usr/libdata/debug/usr/lib/libpthread_dbg.so.2.0.debug
done
sysctl -w security.pax.aslr.flags=0
Home |
Main Index |
Thread Index |
Old Index