linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@transmeta.com>
To: Roland McGrath <roland@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] allow ptrace and /proc/PID/mem to read fixmap pages
Date: Sat, 26 Apr 2003 18:04:47 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0304261802190.12273-100000@home.transmeta.com> (raw)
In-Reply-To: <200304262346.h3QNkL129881@magilla.sf.frob.com>


On Sat, 26 Apr 2003, Roland McGrath wrote:
> 
> This patch is i386-specific and should probably be done another way, but
> it's what I am using now.  It works and is well-tested. 

It looks to me like it will cause NULL pointer dereferences if the user 
asks for something that is inside a pmd isn't mapped.

Maybe that won't happen for the FIXADDR range, but this is just not 
acceptable. We don't do code without error handling in the kernel.

		Linus


      parent reply	other threads:[~2003-04-27  0:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-26 23:46 [PATCH] allow ptrace and /proc/PID/mem to read fixmap pages Roland McGrath
2003-04-26 23:59 ` Jamie Lokier
2003-04-27  1:04 ` Linus Torvalds [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=Pine.LNX.4.44.0304261802190.12273-100000@home.transmeta.com \
    --to=torvalds@transmeta.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roland@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;
as well as URLs for NNTP newsgroup(s).