From: Jeff Dike <jdike@addtoit.com>
To: "Nicolas S. Dade" <n-dade@nsd.dyndns.org>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] fix SEGV in handle_page_fault() when current->mm is NULL
Date: Wed, 30 May 2007 11:30:57 -0400 [thread overview]
Message-ID: <20070530153057.GA6940@c2.user-mode-linux.org> (raw)
In-Reply-To: <20070524092904.GB3768@sparc20.esperanza>
On Thu, May 24, 2007 at 02:29:04AM -0700, Nicolas S. Dade wrote:
> In a non-uml kernel a get_user() when current->mm is NULL (kernel thread, or
> userspace process being torn down) returns error. In uml it SEGVs. The bug is
> that handle_page_fault() does not check for NULL before using mm. The
> trivial attached patch fixes this.
Can I have a Signed-off-by on this?
Jeff
--
Work email - jdike at linux dot intel dot com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
prev parent reply other threads:[~2007-05-30 15:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-24 9:29 [uml-devel] fix SEGV in handle_page_fault() when current->mm is NULL Nicolas S. Dade
2007-05-26 11:02 ` Blaisorblade
2007-05-30 15:30 ` Jeff Dike [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=20070530153057.GA6940@c2.user-mode-linux.org \
--to=jdike@addtoit.com \
--cc=n-dade@nsd.dyndns.org \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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.