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


  Search this Thread
Old 01-25-2006, 12:18 PM   #1
Registered: Oct 2004
Location: Rhode Island, USA
Distribution: Slackware... Simplicity is bliss.
Posts: 62

Rep: Reputation: 15
PROPOSAL: glibc with --noexec (new binary breaks PaX)


I'd suggest to rebuild all required packages (libraries) with
CFLAGS -Wa,--noexecstack so that assembled modules get tagged
as not needing executable stacks.1

The new binaries break PaX2 and thus weaken kernel security if one is using PaX to protect from overflows.

Patched binaries for 10.1 have been released at:

But binaries for newer slackware versions are not available.

I would like to send a formal request to Patrick to compile all future binaries with --noexecstack, but I felt it would be better to recieve input from the slackware community before doing such.

The problem seems to first arise from Debian and has already been fixed in their CVS.

I know it's a bother to recompile it, but it will, IMHO, improve security.



Thank you,

Gian G. Spicuzza
Old 01-26-2006, 09:56 PM   #2
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
The problem seems to first arise from Debian and has already been fixed in their CVS.
Sorry, but as far as I can see from your references, the exact opposite - this has *not* been fixed in Debian, and they're response was for the applications to make the necessary changes, although other people are producing Debian compatible packages that follow what you suggest?

Since this is a fairly large change, I very much doubt Pat will do it. However, you have nothing to lose by e-mailing him with the suggestion.
Old 01-31-2006, 03:08 PM   #3
Registered: Sep 2002
Posts: 310

Rep: Reputation: Disabled
There are unofficial libc packages in Debian that will allow you to close this up with mprotect in grsecurity and pax. Here are the lines to add to /etc/apt/sources.list:

# fixed libc6 for use with grsecurity-patch (not supported by debian, their
# libc6 contains a bug) and other fixed packages
deb sid main
deb-src sid main

Last edited by int0x80; 01-31-2006 at 05:05 PM.


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
OpenBSD vs Linux+PaX+SSP+RSBAC jakaro *BSD 3 06-23-2005 08:05 PM
Excluding a file when using pax tobycatlin Linux - General 9 04-28-2005 12:13 PM
what is nosuid, noexec & nodevel?? coolblue Linux - Newbie 3 03-14-2005 11:58 AM
A Modest Proposal shane25119 General 4 09-30-2004 07:24 PM
Redhat 8.0 glibc 2.3.x update breaks apps Yobgod Linux - Software 0 04-10-2003 08:09 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:18 PM.

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