* fhandler_mem.cc (fhandler_dev_mem::open): Fix comment.

* wincap.cc (has_physical_mem_access): Reflect the fact that physical
	memory access has been made a protected operation beginning with
	2003 Server.
This commit is contained in:
Corinna Vinschen 2006-12-06 16:33:03 +00:00
parent 017b276a76
commit 8b8273781b
3 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2006-12-06 Corinna Vinschen <corinna@vinschen.de>
* fhandler_mem.cc (fhandler_dev_mem::open): Fix comment.
* wincap.cc (has_physical_mem_access): Reflect the fact that physical
memory access has been made a protected operation beginning with
2003 Server.
2006-12-06 Eric Blake <ebb9@byu.net>
* include/sys/ioctl.h: Pick up termios.h, for TIOCGWINSZ.

View File

@ -37,7 +37,7 @@ fhandler_dev_mem::open (int flags, mode_t)
if (!wincap.has_physical_mem_access ())
{
set_errno (ENOENT);
debug_printf ("%s is accessible under NT/W2K only", dev ().name);
debug_printf ("%s is accessible under NT4/W2K/XP only", dev ().name);
return 0;
}

View File

@ -716,7 +716,7 @@ static NO_COPY wincaps wincap_2003 = {
supports_smp:true,
map_view_of_file_ex_sucks:false,
altgr_is_ctrl_alt:true,
has_physical_mem_access:true,
has_physical_mem_access:false,
has_working_copy_on_write:true,
share_mmaps_only_by_name:false,
virtual_protect_works_on_shared_pages:true,
@ -778,7 +778,7 @@ static NO_COPY wincaps wincap_vista = {
supports_smp:true,
map_view_of_file_ex_sucks:false,
altgr_is_ctrl_alt:true,
has_physical_mem_access:true,
has_physical_mem_access:false,
has_working_copy_on_write:true,
share_mmaps_only_by_name:false,
virtual_protect_works_on_shared_pages:true,