Re: ASLR for golang on OpenBSD

2017-06-09 Thread Juan Francisco Cantero Hurtado
On Fri, Jun 09, 2017 at 06:37:51PM +, ra...@openmailbox.org wrote: > Hello! > > Here is a patch that lets you use `go build -buildmode=pie file.go` to > compile golang binaries on OpenBSD and get ASLR. > > By default all the golang binaries compiled on openbsd are not randomized, > only linux

ASLR for golang on OpenBSD

2017-06-09 Thread rain1
Hello! Here is a patch that lets you use `go build -buildmode=pie file.go` to compile golang binaries on OpenBSD and get ASLR. By default all the golang binaries compiled on openbsd are not randomized, only linux and android have that feature. This patch is against go1.8.3.src.tar.gz dif