This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Updated version of emutramp_enabled_check() for PaX kernels


Hi Magnus,

  Reading /proc/self/status is a little more heavy weight than
checking an environment variable.   Do we really have to do this every
time we call dlmmap(), or can we do it once
and cache the result?

Thanks,

AG


On Mon, Apr 29, 2013 at 5:44 PM, Magnus Granberg <zorry@gentoo.org> wrote:
> Hi
> This patch check the PaX status in /proc/self/status
> and it will return true or fales depend on the status of
> emulate trampolines in Pax.
>
> /Magnus
>
> 2013-04-29  Magnus Granberg <zorry@gentoo.org>
>
>         * src/cloures.c (emutramp_enabled_check): Check /proc/self/status for PaX
>         status.
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]