LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-21-2015, 05:50 AM   #1
eldercitizen
Member
 
Registered: Apr 2015
Distribution: Slackware64-current
Posts: 38

Rep: Reputation: 31
feature request: build default -fstack-protector-strong


How are the chances of of getting all slackware-packages compiled with -fstack-protector-strong? It seems to be a rather low hanging fruit to take and profit at a marginal cost.
It's been for some time in gcc, -strong is in gcc since 4.9. Several distributions [Fedora, Chrome OS (they implemented -strong), Arch, etc.] are using it for some time now. You can use it for the kernel (which I do for some time now).

I'd vote for a patch for gcc to use the stack-protector by default (with -D_FORTIFY_SOURCE=2 ?).
For problematic packages one could simply disable the use of the stack-protector using -fno-stack-protector in the respective slackbuild CFLAGS.

Last edited by eldercitizen; 11-21-2015 at 05:52 AM.
 
Old 11-29-2015, 08:24 PM   #2
WLD
LQ Newbie
 
Registered: Nov 2015
Location: UK
Distribution: Slack64-current, Slack64-14.1, Slack-13.37, RISC OS
Posts: 16

Rep: Reputation: Disabled
+1

Not sure why this good idea hasn't had more input.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
when compiling, is it ok to use -fstack-protector with -fomit-frame-pointer? Tommyy Linux - General 0 07-03-2012 03:20 PM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 09:51 PM
feature request: high memory kernel (up to 4GB) as default patfins Slackware 30 04-30-2006 09:09 PM
feature request fragger Slackware 2 08-25-2004 06:10 AM
CDCOPY 1.04 feature request ? MasterC Linux - Software 11 10-20-2002 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration