From: seth.forshee@gmail.com (Seth Forshee)
To: linux-arm-kernel@lists.infradead.org
Subject: READ_IMPLIES_EXEC set when no GNU_STACK header present
Date: Tue, 3 Aug 2010 15:04:57 -0500 [thread overview]
Message-ID: <20100803200457.GC31111@ubuntu-workstation> (raw)
In-Reply-To: <20100803200234.GB28048@n2100.arm.linux.org.uk>
On Tue, Aug 03, 2010 at 09:02:34PM +0100, Russell King - ARM Linux wrote:
> On Tue, Aug 03, 2010 at 02:58:16PM -0500, Seth Forshee wrote:
> > We recently noticed that all of our applications had the execute
> > permission set for any mappings with read permission on an ARMv6
> > platform. This is happening because the ELF images do not have a
> > GNU_STACK program header, causing executable_stack=EXSTACK_DEFAULT to be
> > passed to arm_elf_read_implies_exec(), and it immediately returns 1.
>
> That's correct behaviour. Historically, ARM ELF binaries don't have
> the GNU_STACK program header, but expect read+exec behaviour from the
> stack.
Okay, thanks for the explanation.
prev parent reply other threads:[~2010-08-03 20:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-03 19:58 READ_IMPLIES_EXEC set when no GNU_STACK header present Seth Forshee
2010-08-03 20:02 ` Russell King - ARM Linux
2010-08-03 20:04 ` Seth Forshee [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=20100803200457.GC31111@ubuntu-workstation \
--to=seth.forshee@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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 NNTP newsgroup(s).