RE: [PATCH] enable to read region 5 from /dev/kmem

From: Luck, Tony <tony.luck_at_intel.com>
Date: 2005-07-12 09:02:42
>This patch allows users to read region 5 from /dev/kmem and 
>enhances range check of it.

I'm uneasy about this change to drivers/char/mem.c.  Won't it stop
those architectures that have memory at physical 0x0 from accessing
it?

 		ptr = xlate_dev_mem_ptr(p);
-
+		if (!ptr)
+			return -EFAULT

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Jul 11 19:12:46 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:40 EST