FreeBSD Bugzilla – Attachment 161684 Details for
Bug 203394
[exp-run] Toolchain hardening: Enable stack-protector-all & partial RELRO
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Mk/bsd.ssp.mk: Enable -fstack-protector-all for testing
bsd.ssp.mk (text/plain), 560 bytes, created by
Jason Unovitch
on 2015-10-03 21:33:25 UTC
(
hide
)
Description:
Mk/bsd.ssp.mk: Enable -fstack-protector-all for testing
Filename:
MIME Type:
Creator:
Jason Unovitch
Created:
2015-10-03 21:33:25 UTC
Size:
560 bytes
patch
obsolete
>Index: Mk/bsd.ssp.mk >=================================================================== >--- Mk/bsd.ssp.mk (revision 398468) >+++ Mk/bsd.ssp.mk (working copy) >@@ -19,7 +19,11 @@ > .if !defined(SSP_UNSAFE) && \ > (${ARCH} == i386 || ${ARCH} == amd64) > # Overridable as a user may want to use -fstack-protector-all >+. if ${OSVERSION} > 1100051 >+SSP_CFLAGS?= -fstack-protector-all >+. elif > SSP_CFLAGS?= -fstack-protector >+. endif > CFLAGS+= ${SSP_CFLAGS} > LDFLAGS+= -fstack-protector > # -lssp_nonshared is needed on i386 where /usr/lib/libc.so is not an ldscript
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 203394
:
161460
|
161577
|
161684
|
161685