Re: [PATCH] allow ptrace and /proc/PID/mem to read fixmap pages

Linus Torvalds (torvalds@transmeta.com)
Sat, 26 Apr 2003 18:04:47 -0700 (PDT)


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/