public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Franck Pommereau <pommereau@univ-paris12.fr>
To: Arjan van de Ven <arjan@infradead.org>
Cc: James Courtier-Dutton <James@superbug.co.uk>, linux-kernel@vger.keel.org
Subject: Re: Executability of the stack
Date: Thu, 14 Dec 2006 15:55:47 +0100	[thread overview]
Message-ID: <458165F3.90002@univ-paris12.fr> (raw)
In-Reply-To: <1166099950.27217.1024.camel@laptopd505.fenrus.org>

Arjan van de Ven wrote:
>> Why not show both.
>> "intent" and "effective".
> 
> that would change the file format .. which is used by apps today already
> (including glibc)

So, what about having another file, say /proc/self/emaps (effective
maps) that would display how things are really set.

Currently, is there any solution to test for effective permission except
 by trying to execute something on the stack (thus crashing the program
on a successful test...)?

Arjan van de Ven also wrote in other mails:
> the "nx" shows that if you configure your kernel correctly (enable
> PAE) that you indeed have a non-executable capability, which will
> apply to the stack (and afaik the heap too)
[...]
> enable
> CONFIG_HIGHMEM64G=y
> and you're all set
[...]
> btw in case you didn't realize this; your processor is also 64 it
> capable, just use any x86-64 distribution on it ;)

Thanks for the tips!

Franck


      parent reply	other threads:[~2006-12-14 14:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14  9:26 Executability of the stack Franck Pommereau
2006-12-14  9:57 ` Arjan van de Ven
2006-12-14 12:07   ` Franck Pommereau
2006-12-14 12:19     ` Arjan van de Ven
2006-12-14 15:17       ` [PATCH] Clarify i386/Kconfig explanation of the HIGHMEM config options Theodore Tso
2006-12-14 15:27         ` thunder7
2006-12-14 15:37           ` Theodore Tso
2006-12-14 16:06             ` Arjan van de Ven
2006-12-14 16:11             ` Avi Kivity
2006-12-14 19:58             ` Alistair John Strachan
2006-12-15 17:06           ` Bill Davidsen
2006-12-14 15:52         ` Arjan van de Ven
2006-12-14 12:36   ` Executability of the stack James Courtier-Dutton
     [not found]     ` <1166099950.27217.1024.camel@laptopd505.fenrus.org>
2006-12-14 14:55       ` Franck Pommereau [this message]

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=458165F3.90002@univ-paris12.fr \
    --to=pommereau@univ-paris12.fr \
    --cc=James@superbug.co.uk \
    --cc=arjan@infradead.org \
    --cc=linux-kernel@vger.keel.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