From: "André Hentschel" <nerv@dawncrow.de>
To: linux-arch@vger.kernel.org
Subject: arm64: Request to add error code
Date: Tue, 15 Jan 2013 00:34:44 +0100 [thread overview]
Message-ID: <50F49614.3040403@dawncrow.de> (raw)
Hi,
i'm new to the list (my first kernel mailing list).
I'd like to request to add a way to distinguish a read from a write pagefault in userspace on arm64(aarch64).
(That's e.g. in a SIGSEGV handler attached with sigaction and SA_SIGINFO)
On arm you can use the bit at 0x800 in uc_mcontext.error_code to know which kind it is, but on arm64 i can't find a way.
(On most other popular architectures you can get that information, too)
I'd suggest to add a flag to siginfo.si_errno, or to make the esr available to the SIGSEGV handler.
Any hints or suggestions?
--
Best Regards, André Hentschel
next reply other threads:[~2013-01-14 23:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-14 23:34 André Hentschel [this message]
2013-01-15 10:47 ` arm64: Request to add error code Catalin Marinas
2013-01-15 19:27 ` André Hentschel
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=50F49614.3040403@dawncrow.de \
--to=nerv@dawncrow.de \
--cc=linux-arch@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.