Page 1 of 1

PAX_PAGEEXEC on ARM

PostPosted: Wed May 20, 2015 12:07 pm
by metarox
The Kconfig for PAX_PAGEEXEC doesn't have a dependency on ARM, but there are changes in the arch/arm tree.

Is it supported or is something else missing?

Re: PAX_PAGEEXEC on ARM

PostPosted: Wed May 20, 2015 3:05 pm
by PaX Team
it's an implicit dependency, PAX_PAGEEXEC depends on PAX_NOEXEC which in turn depends on all the archs where it's supported.

Re: PAX_PAGEEXEC on ARM

PostPosted: Wed Jun 03, 2015 11:13 pm
by lynliuyan
PaX Team wrote:it's an implicit dependency, PAX_PAGEEXEC depends on PAX_NOEXEC which in turn depends on all the archs where it's supported.


also supported on powerpc?How to test?I found pax_handle_fetch_fault did not do anything

Re: PAX_PAGEEXEC on ARM

PostPosted: Fri Jun 05, 2015 8:53 am
by PaX Team
yes, PAGEEXEC works on ppc too, i think paxtest will at least trigger the non-exec violations (you can check it in dmesg). pax_handle_fetch_fault is a stub function that would handle various insn emulations (gcc trampolines, etc) but i never had the time or interest to do it myself.