What is the need for gcc plugins??

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

What is the need for gcc plugins??

Postby johnspaul92 » Wed Jul 10, 2013 12:34 am

When i tried to compile the 3.9 kernel after applying the grsecurity test patch 3.9.4 it said i need some additional gcc plugins to enable the Pax features. I just wanted to know what is the role of these gcc plugins or why are they needed??
johnspaul92
 
Posts: 6
Joined: Mon May 27, 2013 4:17 am

Re: What is the need for gcc plugins??

Postby PaX Team » Fri Jul 12, 2013 6:57 pm

the gcc plugins are used to change the compiled code in ways that add some security to linux (constification, int overflow detection, etc). you can read up on them from my presentations i made last year: http://pax.grsecurity.net/docs/PaXTeam- ... ection.pdf and http://pax.grsecurity.net/docs/PaXTeam- ... of-PaX.pdf and there's a blog specifically about the size overflow plugin: viewtopic.php?f=7&t=3043 .
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support