From: "Teemu Nätkinniemi" <tnatkinn@gmail.com>
To: cygwin-patches@cygwin.com
Subject: Add support for Windows 8, first step
Date: Tue, 11 Oct 2011 19:39:00 -0000 [thread overview]
Message-ID: <4E949B40.20402@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
Hello!
Here's a small patch that enables Cygwin to run on Windows 8 (tested on
x64 build 8102, the Windows Developer Preview). Windows 8 does not seem
to support FAST_CWD or the current implementation of FAST_CWD is not
compatible with Windows 8 so it is disabled at the moment.
Teemu Nätkinniemi
[-- Attachment #2: wincap_win8.patch --]
[-- Type: text/plain, Size: 1591 bytes --]
2011-10-11 Teemu Nätkinniemi <tnatkinn@gmail.com>
* wincap.cc (wincap_8): Add support to Windows 8
(wincapc::init): Ditto
--- wincap.cc.orig 2011-07-30 23:51:03.000000000 +0300
+++ wincap.cc 2011-10-11 22:13:44.556795800 +0300
@@ -263,6 +263,36 @@
has_stack_size_param_is_a_reservation:true,
};
+wincaps wincap_8 __attribute__((section (".cygwin_dll_common"), shared)) = {
+ max_sys_priv:SE_CREATE_SYMBOLIC_LINK_PRIVILEGE,
+ is_server:false,
+ has_physical_mem_access:false,
+ has_create_global_privilege:true,
+ has_ioctl_storage_get_media_types_ex:true,
+ has_disk_ex_ioctls:true,
+ has_buggy_restart_scan:false,
+ has_mandatory_integrity_control:true,
+ needs_logon_sid_in_sid_list:false,
+ needs_count_in_si_lpres2:false,
+ has_recycle_dot_bin:true,
+ has_gaa_prefixes:true,
+ has_gaa_on_link_prefix:true,
+ supports_all_posix_ai_flags:true,
+ has_restricted_stack_args:false,
+ has_transactions:true,
+ has_recvmsg:true,
+ has_sendmsg:true,
+ has_broken_udf:false,
+ has_console_handle_problem:true,
+ has_broken_alloc_console:true,
+ has_always_all_codepages:true,
+ has_localenames:true,
+ has_fast_cwd:false,
+ has_restricted_raw_disk_access:true,
+ use_dont_resolve_hack:false,
+ has_stack_size_param_is_a_reservation:true,
+};
+
wincapc wincap __attribute__((section (".cygwin_dll_common"), shared));
void
@@ -320,9 +350,12 @@
case 0:
caps = &wincap_vista;
break;
- default:
+ case 1:
caps = &wincap_7;
break;
+ default:
+ caps = &wincap_8;
+ break;
}
break;
default:
next reply other threads:[~2011-10-11 19:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-11 19:39 Teemu Nätkinniemi [this message]
2011-10-12 8:27 ` Corinna Vinschen
2011-10-12 20:45 ` Teemu Nätkinniemi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E949B40.20402@gmail.com \
--to=tnatkinn@gmail.com \
--cc=cygwin-patches@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).