lkml.org 
[lkml]   [2003]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectWhat's the reason that /dev/mem can't map unreserved RAM?
Hi all,

What's the rational behind /dev/mem not being able to map unreserved RAM?
It can't be for protecting the system, because if you have access to
reserved RAM (kernel text) then you can modify the remap_pte_range to
allow for mapping of ram.

I have a user program for debugging kernel modules and the like, and it
uses /dev/mem to map ram and prints it out. But unless I take out the
check in remap_pte_range, I can't see allocated pages.

I just want to know the rational behind this.

Thanks,

-- Steve


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.094 / U:0.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site