Date: Mon, 7 Jul 2008 15:50:17 +0400 From: Stanislav Sedov <stas@FreeBSD.org> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: arm@FreeBSD.org, cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... Message-ID: <20080707155017.6850f3a5.stas@FreeBSD.org> In-Reply-To: <200806252138.m5PLcajG067917@repoman.freebsd.org> References: <200806252138.m5PLcajG067917@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, 25 Jun 2008 21:33:28 +0000 (UTC) Ruslan Ermilov <ru@FreeBSD.org> mentioned: > ru 2008-06-25 21:33:28 UTC > > FreeBSD src repository > > Modified files: > . Makefile.inc1 > gnu/lib Makefile > gnu/lib/csu Makefile > gnu/lib/libssp Makefile > lib/libc Makefile > lib/libstand Makefile > lib/libthr Makefile > libexec/rtld-elf Makefile > release Makefile > release/picobsd/build picobsd > rescue/librescue Makefile > rescue/rescue Makefile > share/mk bsd.sys.mk > sys/boot/arm/at91 Makefile.inc > sys/boot/efi Makefile.inc > sys/boot/i386 Makefile.inc > sys/boot/i386/loader Makefile > sys/boot/ia64 Makefile.inc > sys/boot/ia64/common Makefile > sys/boot/ia64/efi Makefile > sys/boot/ia64/ski Makefile > sys/boot/pc98 Makefile.inc > sys/boot/pc98/loader Makefile > sys/boot/powerpc/ofw Makefile > sys/boot/sparc64 Makefile.inc > sys/boot/sparc64/loader Makefile > sys/conf files kern.mk kern.pre.mk > tools/build/options WITHOUT_SSP > Added files: > lib/csu Makefile.inc > sys/boot Makefile.inc > sys/boot/arm Makefile.inc > sys/boot/ofw Makefile.inc > sys/boot/powerpc Makefile.inc > sys/boot/uboot Makefile.inc > sys/kern stack_protector.c > Log: > SVN rev 180012 on 2008-06-25 21:33:28Z by ru > > Enable GCC stack protection (aka Propolice) for userland: > - It is opt-out for now so as to give it maximum testing, but it may be > turned opt-in for stable branches depending on the consensus. You > can turn it off with WITHOUT_SSP. > - WITHOUT_SSP was previously used to disable the build of GNU libssp. > It is harmless to steal the knob as SSP symbols have been provided > by libc for a long time, GNU libssp should not have been much used. > - SSP is disabled in a few corners such as system bootstrap programs > (sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves. > - It should be safe to use -fstack-protector-all to build world, however > libc will be automatically downgraded to -fstack-protector because it > breaks rtld otherwise. > - This option is unavailable on ia64. > > Enable GCC stack protection (aka Propolice) for kernel: > - It is opt-out for now so as to give it maximum testing. > - Do not compile your kernel with -fstack-protector-all, it won't work. > This break world on at91rm9200 and, probably, on other arm targets. I haven't digged into the problem deeply, but the kernel doesn't seem to be able to execute any ssp-enabled binaries (coredumps with bus error). -- Stanislav Sedov ST4096-RIPE [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhyAv8ACgkQK/VZk+smlYH7wgCdEDhyxBb/XIihWFzg1u6dm6EG xYgAn3pCjUvTzsfePCxwO8OTlLMYn9EB =H2uL -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080707155017.6850f3a5.stas>
