* 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:
parent
017b276a76
commit
8b8273781b
@ -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>
|
2006-12-06 Eric Blake <ebb9@byu.net>
|
||||||
|
|
||||||
* include/sys/ioctl.h: Pick up termios.h, for TIOCGWINSZ.
|
* include/sys/ioctl.h: Pick up termios.h, for TIOCGWINSZ.
|
||||||
|
@ -37,7 +37,7 @@ fhandler_dev_mem::open (int flags, mode_t)
|
|||||||
if (!wincap.has_physical_mem_access ())
|
if (!wincap.has_physical_mem_access ())
|
||||||
{
|
{
|
||||||
set_errno (ENOENT);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -716,7 +716,7 @@ static NO_COPY wincaps wincap_2003 = {
|
|||||||
supports_smp:true,
|
supports_smp:true,
|
||||||
map_view_of_file_ex_sucks:false,
|
map_view_of_file_ex_sucks:false,
|
||||||
altgr_is_ctrl_alt:true,
|
altgr_is_ctrl_alt:true,
|
||||||
has_physical_mem_access:true,
|
has_physical_mem_access:false,
|
||||||
has_working_copy_on_write:true,
|
has_working_copy_on_write:true,
|
||||||
share_mmaps_only_by_name:false,
|
share_mmaps_only_by_name:false,
|
||||||
virtual_protect_works_on_shared_pages:true,
|
virtual_protect_works_on_shared_pages:true,
|
||||||
@ -778,7 +778,7 @@ static NO_COPY wincaps wincap_vista = {
|
|||||||
supports_smp:true,
|
supports_smp:true,
|
||||||
map_view_of_file_ex_sucks:false,
|
map_view_of_file_ex_sucks:false,
|
||||||
altgr_is_ctrl_alt:true,
|
altgr_is_ctrl_alt:true,
|
||||||
has_physical_mem_access:true,
|
has_physical_mem_access:false,
|
||||||
has_working_copy_on_write:true,
|
has_working_copy_on_write:true,
|
||||||
share_mmaps_only_by_name:false,
|
share_mmaps_only_by_name:false,
|
||||||
virtual_protect_works_on_shared_pages:true,
|
virtual_protect_works_on_shared_pages:true,
|
||||||
|
Loading…
Reference in New Issue
Block a user