From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: fix unaligned and nonexistent address handling
Date: Wed, 21 Jan 2009 10:37:08 +0000 [thread overview]
Message-ID: <20090121103708.GB17836@linux-sh.org> (raw)
In-Reply-To: <4.2.0.58.J.20090121090500.00b5e5d0@router.itonet.co.jp>
On Wed, Jan 21, 2009 at 09:42:10AM +0900, SUGIOKA Toshinobu wrote:
> unaligned and nonexistent address causes wrong exception
> handling in traps_32.c(handle_unaligned_access).
>
> 'handle_unalinged_ins' should return -EFAULT if address error
> is fixed up with kernel exception table, otherwise
> 'handle_unaligned_access' increases already fixed program counter
> and then crash.
>
> for example
> ioctl(fd, TCGETA, (struct termio *)-1)
> never return and stay in TASK_UNINTERRUPTIBLE state forever
> in my kernel.
>
> Signed-off-by: SUGIOKA Toshinobu <sugioka@itonet.co.jp>
>
Applied, thanks.
prev parent reply other threads:[~2009-01-21 10:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-21 0:42 fix unaligned and nonexistent address handling SUGIOKA Toshinobu
2009-01-21 10:37 ` Paul Mundt [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=20090121103708.GB17836@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@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.