Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2021 17:31:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 252629] Need infrastructure to set ELF feature note flags via elfctl
Message-ID:  <bug-252629-7788-1CzNLV0Ubu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-252629-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-252629-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252629

--- Comment #13 from Ed Maste <emaste@freebsd.org> ---
Another proposed change to allow flags to be set by value:
https://reviews.freebsd.org/D28284

then we could do e.g.

NT_FREEBSD_FCTL_ASLR_DISABLE=3D0x1
NT_FREEBSD_FCTL_PROTMAX_DISABLE=3D0x2
NT_FREEBSD_FCTL_STKGAP_DISABLE=3D0x4

elfctl -e =3D${NT_FREEBSD_FCTL_ASLR_DISABLE},${NT_FREEBSD_FCTL_STKGAP_DISAB=
LE}
/path/to/file

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252629-7788-1CzNLV0Ubu>