Date: Wed, 27 Jul 2016 20:15:14 -0400 From: Shawn Webb <shawn.webb@hardenedbsd.org> To: Conrad Meyer <cem@freebsd.org> Cc: freebsd-current <freebsd-current@freebsd.org>, Ed Maste <emaste@freebsd.org> Subject: Re: SafeStack in base Message-ID: <20160728001514.GI13428@mutt-hardenedbsd> In-Reply-To: <CAG6CVpXxWk1MvAkjygrPaE7pDbiKwvJ12o0U1o_Qyy2GrYC_ug@mail.gmail.com> References: <20160727225527.GG13428@mutt-hardenedbsd> <CAG6CVpWgXMNHsdo0doL0FDygykZY3vYm9w8897p4nyetTmGfew@mail.gmail.com> <20160728000530.GH13428@mutt-hardenedbsd> <CAG6CVpXxWk1MvAkjygrPaE7pDbiKwvJ12o0U1o_Qyy2GrYC_ug@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--LQAwcd5tHl0Qlnzi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 27, 2016 at 05:11:12PM -0700, Conrad Meyer wrote: > On Wed, Jul 27, 2016 at 5:05 PM, Shawn Webb <shawn.webb@hardenedbsd.org> = wrote: > > On Wed, Jul 27, 2016 at 05:02:07PM -0700, Conrad Meyer wrote: > >> The problem appears to be an upstream limitation of > >> -fsanitize=3Dsafe-stack: "Most programs, static libraries, or individu= al > >> files can be compiled with SafeStack as is. ??? Linking a DSO with > >> SafeStack is not currently supported." [0] > >> > >> That probably needs to be addressed upstream before it can be enabled = globally. > > > > Gotcha. If I'm reading correctly, then, SafeStack can only be enabled in > > bsd.prog.mk (and _not_ bsd.lib.mk). Is that correct? >=20 > That is my reading of the page. I'll admit my total experience with > -fsanitize=3Dsafe-stack is limited to glancing at the web page 5 minutes > ago, so don't consider my take authoritative. Doing a test build right now with SafeStack enabled only in bsd.prog.mk. I'll report back with results tonight or tomorrow. Thanks again, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --LQAwcd5tHl0Qlnzi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXmU6RAAoJEGqEZY9SRW7uUXoP/0WJX7Mp3MP5NLhlBRd9rTMM wvW4Tlg7idvKqBibZs3pO6p4UbH1NdxcfKoIFJ+2TvV8CKS8uTA/3jTIDjpT0CWB wg7aSGQRaHbrcBCWEWY3RT9uYjYrhBnS0txFZ6e/7Ki6+vDUoCLt2gTz3g1cyW9I XHVbtUHRKLQa21rAg4OQe0YInmFh/H+p1ndObn7KSGosWq8vJk4qhVmpxs06seTk iKxiJ0HiXqcFuyOIRwVlBb9w48lylHcqcQxlbkiTcXST5VR+cuyl88GAt5gj0Imb cnjP9pqVhBBfX2msP2w5G7tBJKZf8jIZ3YCqNj1xrmqDa5JKQS1dSAIIYnHvvGsP 6GfU9YpYOt8ixMCFEQvY5SeaqOtq0Mqp8S0EnZuDrN/f8SqaniLmkprh2DEF1mQK IeGE3x2oO2Re8xuLD5Tlo/gBbuCki5nKS4zlfNhmHFYexauYxqyrKL3OBPgfpSL9 fhRsU7+6ATB6Z8wLmSGv+sGNh8TBc8BA5LyVNfAHrznT/2QjoXyalvf1lesdI4eE RyBe+SOYn0qzOF+cMVroVPAnTF1e/9LzNBiX/epSoLBXSGgAcXJXiRlCFHFgC5ZD 3ZaaDVWF1qIkoDDZWZliRDHFMyCkDrP7hQqUsrb/zut8yoU/FxJtrG/FQhS5zIPu H3xrltLKxwmNiaeyzYjk =VzMH -----END PGP SIGNATURE----- --LQAwcd5tHl0Qlnzi--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160728001514.GI13428>