* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-13 01:46:37 +08:00
|
|
|
/* wincap.h: Header for OS capability class.
|
|
|
|
|
2010-01-23 06:31:31 +08:00
|
|
|
Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
|
|
|
|
2009, 2010 Red Hat, Inc.
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-13 01:46:37 +08:00
|
|
|
|
|
|
|
This file is part of Cygwin.
|
|
|
|
|
|
|
|
This software is a copyrighted work licensed under the terms of the
|
|
|
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|
|
|
details. */
|
|
|
|
|
|
|
|
#ifndef _WINCAP_H
|
|
|
|
#define _WINCAP_H
|
|
|
|
|
|
|
|
struct wincaps
|
2001-11-05 14:09:15 +08:00
|
|
|
{
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-13 01:46:37 +08:00
|
|
|
DWORD chunksize;
|
2006-11-01 02:41:16 +08:00
|
|
|
DWORD heapslop;
|
2007-07-19 16:33:22 +08:00
|
|
|
DWORD max_sys_priv;
|
2003-09-27 11:44:31 +08:00
|
|
|
unsigned is_server : 1;
|
2009-11-03 17:31:45 +08:00
|
|
|
unsigned has_dacl_protect : 1;
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-13 01:46:37 +08:00
|
|
|
unsigned has_ip_helper_lib : 1;
|
2007-06-21 23:57:54 +08:00
|
|
|
unsigned has_broken_if_oper_status : 1;
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-13 01:46:37 +08:00
|
|
|
unsigned has_physical_mem_access : 1;
|
2002-05-12 09:37:48 +08:00
|
|
|
unsigned has_process_io_counters : 1;
|
2003-05-20 23:22:09 +08:00
|
|
|
unsigned has_terminal_services : 1;
|
2007-03-30 00:37:36 +08:00
|
|
|
unsigned has_create_global_privilege : 1;
|
2004-03-15 02:01:45 +08:00
|
|
|
unsigned has_ioctl_storage_get_media_types_ex : 1;
|
2005-01-26 06:45:11 +08:00
|
|
|
unsigned has_extended_priority_class : 1;
|
2005-04-12 05:54:54 +08:00
|
|
|
unsigned has_guid_volumes : 1;
|
2005-09-29 03:33:18 +08:00
|
|
|
unsigned has_disk_ex_ioctls : 1;
|
2006-01-13 18:18:31 +08:00
|
|
|
unsigned has_disabled_user_tos_setting : 1;
|
2006-01-28 05:50:42 +08:00
|
|
|
unsigned has_fileid_dirinfo : 1;
|
2006-01-29 20:23:44 +08:00
|
|
|
unsigned has_exclusiveaddruse : 1;
|
2008-07-09 04:12:46 +08:00
|
|
|
unsigned has_enhanced_socket_security : 1;
|
2006-10-23 23:13:55 +08:00
|
|
|
unsigned has_buggy_restart_scan : 1;
|
2006-11-08 19:38:05 +08:00
|
|
|
unsigned has_mandatory_integrity_control : 1;
|
2006-11-27 20:59:59 +08:00
|
|
|
unsigned needs_logon_sid_in_sid_list : 1;
|
2006-12-05 18:59:21 +08:00
|
|
|
unsigned needs_count_in_si_lpres2 : 1;
|
2006-12-11 00:43:30 +08:00
|
|
|
unsigned has_recycle_dot_bin : 1;
|
2007-01-18 03:26:58 +08:00
|
|
|
unsigned has_gaa_prefixes : 1;
|
|
|
|
unsigned has_gaa_on_link_prefix : 1;
|
2007-02-01 23:54:40 +08:00
|
|
|
unsigned supports_all_posix_ai_flags : 1;
|
2008-02-13 17:42:22 +08:00
|
|
|
unsigned has_restricted_stack_args : 1;
|
2008-05-16 00:34:01 +08:00
|
|
|
unsigned has_transactions : 1;
|
2008-11-12 19:04:27 +08:00
|
|
|
unsigned ts_has_dep_problem : 1;
|
2009-01-20 19:16:59 +08:00
|
|
|
unsigned has_recvmsg : 1;
|
|
|
|
unsigned has_sendmsg : 1;
|
2009-01-30 04:32:08 +08:00
|
|
|
unsigned has_broken_udf : 1;
|
2009-05-09 23:56:37 +08:00
|
|
|
unsigned has_console_handle_problem : 1;
|
2009-06-26 23:12:06 +08:00
|
|
|
unsigned has_broken_alloc_console : 1;
|
2009-07-20 23:44:55 +08:00
|
|
|
unsigned has_always_all_codepages : 1;
|
2010-01-23 06:31:31 +08:00
|
|
|
unsigned has_localenames : 1;
|
2010-08-30 18:39:43 +08:00
|
|
|
unsigned has_mwmo_inputavailable : 1;
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-13 01:46:37 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
class wincapc
|
|
|
|
{
|
2003-09-27 11:44:31 +08:00
|
|
|
OSVERSIONINFOEX version;
|
|
|
|
char osnam[40];
|
2008-04-28 16:47:06 +08:00
|
|
|
ULONG wow64;
|
2003-09-27 11:44:31 +08:00
|
|
|
void *caps;
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-13 01:46:37 +08:00
|
|
|
|
|
|
|
public:
|
|
|
|
void init ();
|
|
|
|
|
|
|
|
void set_chunksize (DWORD nchunksize);
|
2001-11-05 14:09:15 +08:00
|
|
|
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-13 01:46:37 +08:00
|
|
|
const char *osname () const { return osnam; }
|
2006-01-11 02:11:32 +08:00
|
|
|
const bool is_wow64 () const { return wow64; }
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-13 01:46:37 +08:00
|
|
|
|
2003-09-27 11:44:31 +08:00
|
|
|
#define IMPLEMENT(cap) cap() const { return ((wincaps *) this->caps)->cap; }
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-13 01:46:37 +08:00
|
|
|
|
|
|
|
DWORD IMPLEMENT (chunksize)
|
2006-11-01 02:41:16 +08:00
|
|
|
DWORD IMPLEMENT (heapslop)
|
2007-07-19 16:33:22 +08:00
|
|
|
DWORD IMPLEMENT (max_sys_priv)
|
2003-09-27 11:44:31 +08:00
|
|
|
bool IMPLEMENT (is_server)
|
2009-11-03 17:31:45 +08:00
|
|
|
bool IMPLEMENT (has_dacl_protect)
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-13 01:46:37 +08:00
|
|
|
bool IMPLEMENT (has_ip_helper_lib)
|
2007-06-21 23:57:54 +08:00
|
|
|
bool IMPLEMENT (has_broken_if_oper_status)
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-13 01:46:37 +08:00
|
|
|
bool IMPLEMENT (has_physical_mem_access)
|
2002-05-12 09:37:48 +08:00
|
|
|
bool IMPLEMENT (has_process_io_counters)
|
2003-05-20 23:22:09 +08:00
|
|
|
bool IMPLEMENT (has_terminal_services)
|
2007-03-30 00:37:36 +08:00
|
|
|
bool IMPLEMENT (has_create_global_privilege)
|
2004-03-15 02:01:45 +08:00
|
|
|
bool IMPLEMENT (has_ioctl_storage_get_media_types_ex)
|
2005-01-26 06:45:11 +08:00
|
|
|
bool IMPLEMENT (has_extended_priority_class)
|
2005-04-12 05:54:54 +08:00
|
|
|
bool IMPLEMENT (has_guid_volumes)
|
2005-09-29 03:33:18 +08:00
|
|
|
bool IMPLEMENT (has_disk_ex_ioctls)
|
2006-01-13 18:18:31 +08:00
|
|
|
bool IMPLEMENT (has_disabled_user_tos_setting)
|
2006-01-28 05:50:42 +08:00
|
|
|
bool IMPLEMENT (has_fileid_dirinfo)
|
2006-01-29 20:23:44 +08:00
|
|
|
bool IMPLEMENT (has_exclusiveaddruse)
|
2008-07-09 04:12:46 +08:00
|
|
|
bool IMPLEMENT (has_enhanced_socket_security)
|
2006-10-23 23:13:55 +08:00
|
|
|
bool IMPLEMENT (has_buggy_restart_scan)
|
2006-11-08 19:38:05 +08:00
|
|
|
bool IMPLEMENT (has_mandatory_integrity_control)
|
2006-11-27 20:59:59 +08:00
|
|
|
bool IMPLEMENT (needs_logon_sid_in_sid_list)
|
2006-12-05 18:59:21 +08:00
|
|
|
bool IMPLEMENT (needs_count_in_si_lpres2)
|
2006-12-11 00:43:30 +08:00
|
|
|
bool IMPLEMENT (has_recycle_dot_bin)
|
2007-01-18 03:26:58 +08:00
|
|
|
bool IMPLEMENT (has_gaa_prefixes)
|
|
|
|
bool IMPLEMENT (has_gaa_on_link_prefix)
|
2007-02-01 23:54:40 +08:00
|
|
|
bool IMPLEMENT (supports_all_posix_ai_flags)
|
2008-02-13 17:42:22 +08:00
|
|
|
bool IMPLEMENT (has_restricted_stack_args)
|
2008-05-16 00:34:01 +08:00
|
|
|
bool IMPLEMENT (has_transactions)
|
2008-11-12 19:04:27 +08:00
|
|
|
bool IMPLEMENT (ts_has_dep_problem)
|
2009-01-20 19:16:59 +08:00
|
|
|
bool IMPLEMENT (has_recvmsg)
|
|
|
|
bool IMPLEMENT (has_sendmsg)
|
2009-01-30 04:32:08 +08:00
|
|
|
bool IMPLEMENT (has_broken_udf)
|
2009-05-09 23:56:37 +08:00
|
|
|
bool IMPLEMENT (has_console_handle_problem)
|
2009-06-26 23:12:06 +08:00
|
|
|
bool IMPLEMENT (has_broken_alloc_console)
|
2009-07-20 23:44:55 +08:00
|
|
|
bool IMPLEMENT (has_always_all_codepages)
|
2010-01-23 06:31:31 +08:00
|
|
|
bool IMPLEMENT (has_localenames)
|
2010-08-30 18:39:43 +08:00
|
|
|
bool IMPLEMENT (has_mwmo_inputavailable)
|
* Makefile.in: Build wincap.o.
* wincap.cc: New file.
* wincap.h: Ditto.
* autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
* dcrt0.cc (os_being_run): Eliminated.
(osname): Ditto.
(iswinnt): Ditto.
(set_os_type): Ditto.
(dll_crt0_1): Call wincap.init() instead of set_os_type().
(_dll_crt0): Ditto.
* environ.cc (set_chunksize): New function.
(parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
* fork.cc (chunksize): Eliminated. Moved to be member of wincap.
* host_dependent.h: Removed.
* syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
* cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
capability check throughout.
* winsup.h: Include wincap.h. Eliminate extern declarations of
`os_being_run' and `iswinnt'. Eliminate `os_type" definition.
* include/cygwin/version.h: Bump version to 1.3.4.
2001-09-13 01:46:37 +08:00
|
|
|
|
|
|
|
#undef IMPLEMENT
|
|
|
|
};
|
|
|
|
|
|
|
|
extern wincapc wincap;
|
|
|
|
|
|
|
|
#endif /* _WINCAP_H */
|