diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 7 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_mem.cc | 2 | ||||
-rw-r--r-- | winsup/cygwin/wincap.cc | 4 |
3 files changed, 10 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 5161de292..0b7fad5ac 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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. diff --git a/winsup/cygwin/fhandler_mem.cc b/winsup/cygwin/fhandler_mem.cc index 24d681d4e..4df2ddf10 100644 --- a/winsup/cygwin/fhandler_mem.cc +++ b/winsup/cygwin/fhandler_mem.cc @@ -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; } diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc index a4c7a2ebf..939e41585 100644 --- a/winsup/cygwin/wincap.cc +++ b/winsup/cygwin/wincap.cc @@ -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, |