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

From: Linus Torvalds (torvalds@transmeta.com)
Date: Sat Apr 26 2003 - 20:04:47 EST


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/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:25 EST