From: "H. Peter Anvin" <hpa@zytor.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Arjan van de Ven <arjan@infradead.org>,
linux-kernel@vger.kernel.org, Luc Verhaegen <lverhaegen@suse.de>,
Egbert Eich <eich@suse.de>
Subject: Re: vm86 segfaults with NX bit
Date: Thu, 20 Nov 2008 13:24:38 -0800 [thread overview]
Message-ID: <4925D596.3010304@zytor.com> (raw)
In-Reply-To: <s5hzlju8h00.wl%tiwai@suse.de>
Takashi Iwai wrote:
>>>>
>>> did the code that mapped this memory setup use PROT_EXEC ?
>> A good question...
>> Luc, Egbert, how does VESA driver handle it?
>
> Just looking through the vesa directory of xorg-server code, PROT_EXEC
> is passed for all mappings, at least.
>
> Please correct me if I'm looking at a wrong place...
>
Please do an strace of the X server startup up to the point of the crash.
I am betting that PROT_EXEC is missing from an mmap(), or that it needs
an additional mprotect().
-hpa
next prev parent reply other threads:[~2008-11-20 21:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-20 15:39 vm86 segfaults with NX bit Takashi Iwai
2008-11-20 15:58 ` Alan Cox
2008-11-20 16:00 ` Takashi Iwai
2008-11-20 16:05 ` Takashi Iwai
2008-11-20 16:58 ` Arjan van de Ven
2008-11-20 17:01 ` Takashi Iwai
2008-11-20 17:05 ` Takashi Iwai
2008-11-20 21:24 ` H. Peter Anvin [this message]
2008-11-21 11:38 ` Takashi Iwai
2008-11-21 17:42 ` Egbert Eich
2008-11-22 10:20 ` Takashi Iwai
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=4925D596.3010304@zytor.com \
--to=hpa@zytor.com \
--cc=arjan@infradead.org \
--cc=eich@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=lverhaegen@suse.de \
--cc=tiwai@suse.de \
/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