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

Magnus Granberg zorry@gentoo.org
Wed May 22 15:16:00 GMT 2013


onsdag 22 maj 2013 07.50.57 skrev  Anthony Green:
> 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
Would be fine to cache the result.

/Magnus



More information about the Libffi-discuss mailing list