From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net,
Jeff Dike <jdike@addtoit.com>
Cc: "Nicolas S. Dade" <n-dade@nsd.dyndns.org>
Subject: Re: [uml-devel] fix SEGV in handle_page_fault() when current->mm is NULL
Date: Sat, 26 May 2007 13:02:29 +0200 [thread overview]
Message-ID: <200705261302.29761.blaisorblade@yahoo.it> (raw)
In-Reply-To: <20070524092904.GB3768@sparc20.esperanza>
On giovedì 24 maggio 2007, 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.
>
> -Nicolas Dade
Acked-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
--
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
-------------------------------------------------------------------------
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
next prev parent reply other threads:[~2007-05-26 11:02 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 [this message]
2007-05-30 15:30 ` Jeff Dike
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=200705261302.29761.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox