About PaX...

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

About PaX...

Postby dabaosod011 » Fri Nov 09, 2007 7:52 am

When PaX detects the exploit ,the execution of the program is killed?
So ,who killed it? The Kernel or PaX?

And ,if i don't want it to be killed, What should i do ?
Can the PaX be configured to detect but no kill the execution?
dabaosod011
 
Posts: 7
Joined: Sat Oct 27, 2007 7:58 pm

Re: About PaX...

Postby PaX Team » Mon Nov 12, 2007 3:06 pm

dabaosod011 wrote:When PaX detects the exploit ,the execution of the program is killed?
yes, the app gets a SIGKILL and will never return to userland. also, subject to its ulimit, full core is dumped for later examination.
So ,who killed it? The Kernel or PaX?
uhm, PaX is part of the kernel, so what would you like for an answer? ;-) in any case, this SIGKILL logic comes from PaX, not the vanilla kernel.
And ,if i don't want it to be killed, What should i do ?
Can the PaX be configured to detect but no kill the execution?
it's not a configurable option, you have to change the source for this. look at fs/exec.c:pax_report_fault() or its callers. note that changing this logic alone won't make your apps much happier because now they'll get a SIGSEGV instead. is there any reason you want to do this at all?
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support

cron