From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: jan.kratochvil@redhat.com
Cc: gdb-patches@sourceware.org
Subject: Re: Possible future NX ON_STACk regression Re: [patch 3/3] Use ON_STACK for i386/amd64 (gdb2495.exp regression)
Date: Mon, 18 Jun 2012 14:51:00 -0000 [thread overview]
Message-ID: <201206181451.q5IEpUTo008021@glazunov.sibelius.xs4all.nl> (raw)
In-Reply-To: <20120618142055.GA8597@host2.jankratochvil.net> (message from Jan Kratochvil on Mon, 18 Jun 2012 16:20:55 +0200)
> Date: Mon, 18 Jun 2012 16:20:55 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
>
> On Mon, 18 Jun 2012 10:09:07 +0200, Jan Kratochvil wrote:
> > In https://bugzilla.redhat.com/show_bug.cgi?id=832534 Nathan Sidwell reports
> > that inferior calls segfault with inferior non-executable stack and Fedora GDB
> > already containing this patch.
>
> I have heuristically found the problem affects only one Fedora kernel
> version/arch:
> https://bugzilla.redhat.com/show_bug.cgi?id=832534#c9
>
> So the GDB patch should be compatible with Linux kernels in general I hope.
> Feel free to run the testcase on your kernel/CPU:
> http://sourceware.org/cgi-bin/cvsweb.cgi/~checkout~/tests/ptrace-tests/tests/ret-to-nxpage.c?cvsroot=systemtap
> gcc -o ret-to-nxpage ret-to-nxpage.c -Wall -g; ./ret-to-nxpage; echo $?
> 0 == PASS
OK, go for it then.
next prev parent reply other threads:[~2012-06-18 14:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-13 15:51 Jan Kratochvil
2012-06-18 8:09 ` Possible future NX ON_STACk regression " Jan Kratochvil
2012-06-18 14:21 ` Jan Kratochvil
2012-06-18 14:51 ` Mark Kettenis [this message]
2012-06-18 17:32 ` [commit] " Jan Kratochvil
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=201206181451.q5IEpUTo008021@glazunov.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
/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