public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Anthony Green <green@moxielogic.com>
To: Magnus Granberg <zorry@gentoo.org>
Cc: "libffi-discuss@sourceware.org" <libffi-discuss@sourceware.org>
Subject: Re: [Patch] Updated version of emutramp_enabled_check() for PaX kernels
Date: Wed, 22 May 2013 11:50:00 -0000	[thread overview]
Message-ID: <CACxje59LrpV3CKd3i1yo3SRqfFXbMEy43=D3nde-TU==_ofYYA@mail.gmail.com> (raw)
In-Reply-To: <1853145.Z13BOjesii@laptop1.gw.ume.nu>

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.
>

  parent reply	other threads:[~2013-05-22 11:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-29 21:45 Magnus Granberg
2013-05-13 17:53 ` Magnus Granberg
2013-05-22 11:50 ` Anthony Green [this message]
2013-05-22 15:16   ` Magnus Granberg
2014-03-27 18:15 Magnus Granberg
2014-03-28 15:43 ` Anthony Green

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACxje59LrpV3CKd3i1yo3SRqfFXbMEy43=D3nde-TU==_ofYYA@mail.gmail.com' \
    --to=green@moxielogic.com \
    --cc=libffi-discuss@sourceware.org \
    --cc=zorry@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).