Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
AgeCommit message (Collapse)Author
2008-07-11 Change length for domain buffers from INTERNET_MAX_HOST_NAME_LENGTH toCorinna Vinschen
MAX_DOMAIN_NAME_LEN throughout. * cyglsa.h (CYG_LSA_MAGIC): New value. (cyglsa_t): Define username and domain as WCHAR arrays. * errno.cc (errmap): Add mapping for ERROR_NONE_MAPPED. * sec_auth.cc: Drop 'w' prefix from WCHAR string variable names where appropriate. (extract_nt_dom_user): Prefer resolving by SID before resolving by domain\name pair. (cygwin_logon_user): Don't print cleartext password in debug output. Change comment. (get_user_groups): Revert calls to LookupAccountNameW to use NULL server instead of explicit server name, according to MSDN. (get_user_local_groups): Ditto. (get_server_groups): Fetch domain and user name from usersid per LookupAccountSidW instead of calling extract_nt_dom_user. (lsaauth): Fetch domain and user name from usersid per LookupAccountSidW instead of calling extract_nt_dom_user. * sec_helper.cc (cygpriv): Convert to wchar_t pointer array. (privilege_luid): Convert first parameter to PWCHAR. (privilege_name): Return wchar_t pointer. (set_privileges): Accommodate debug output. * security.h (privilege_luid): Change prototype accordingly.
2008-07-10 * cyglsa.c: Revamp debugging output.Corinna Vinschen
(LsaApInitializePackage): Open debugging output file here. (LsaApLogonUserEx): Replace LsaApLogonUser. Add debugging output. Create machine name for accounting. Add (disabled) code to fetch a token from GetAuthDataForUser/ConvertAuthDataToToken. * cyglsa.din: Relace LsaApLogonUser with LsaApLogonUserEx.
2008-07-10 * cyglsa.h (SECURITY_STRING): Define.Corinna Vinschen
(enum _SECPKG_NAME_TYPE): Define. (struct _SECPKG_CALL_INFO): Define. (struct _LSA_SECPKG_FUNCS): Extend to full size. Define unused functions lazily. (cygprf_t): Define. * sec_auth.cc (lsaauth): Use actual primary group if no admins group. Add (disabled) code to fetch token from profil data.
2008-07-09 * sec_auth.cc (verify_token): Allow builtin groups missing in a tokenCorinna Vinschen
and it's still valid. Explain why.
2008-07-09 * mkgroup.c: Use statically linked functions throughout, except forCorinna Vinschen
DsGetDcNameW. Reformat. Convert to use WCHAR for names throughout. Use defines instead of constants throughout. (MAX_SID_LEN): Define. (load_netapi): Just load DsGetDcNameW pointer. (psx_dir): Remove. (uni2ansi): Remove. (enum_local_users): Take server name and use in Net... call. (DBGSID): Define datastructure. (MAX_BUILTIN_SIDS): Define. (builtin_sid_list): Define global sid list. (builtin_sid_cnt): Define counter for global sid list. (enum_local_groups): Take server name and use in Net... and Lookup... calls. Take offset argument. Use MAX_PREFERRED_LENGTH in call to NetLocalGroupEnum. Check for duplicate builtin groups. (enum_users): Take server name and use in Net... call. (usage): Change text slightly. (print_version): Fix copyright. (main): Call enum_local_groups for domains as well. * mkpasswd.c: Use statically linked functions throughout, except for DsGetDcNameW. Reformat. Convert to use WCHAR for names throughout. Use defines instead of constants throughout. (MAX_SID_LEN): Define. (load_netapi): Just load DsGetDcNameW pointer. (uni2ansi): Use wcstombs. (current_user): Replace "unused_by_nt/2000/xp" by just "unused". (enum_users): Ditto. (print_version): Fix copyright.
2008-07-09 * autoload.cc (DsGetDcNameW): Replace DsGetDcNameA.Corinna Vinschen
* dcrt0.cc (child_info_spawn::handle_spawn): Drop artificial supplementary group list from calling setgroups in parent. * grp.cc (internal_getgroups): Drop 9x-only code. Reformat. * sec_auth.cc (get_logon_server): Do everything in WCHAR only. (get_user_groups): Ditto. Use wlogonserver in LookupAccountNameW calls, too. (is_group_member): Get logon server as first argument and use in call to NetLocalGroupGetMembers. (get_user_local_groups): Get logon server as first argument and use in calls to NetLocalGroupEnum and LookupAccountNameW. Revamp to work more correctly in domain environments. (get_server_groups): Accommodate aforementioned changed function calls. * security.h (get_logon_server): Change prototype accordingly. * uinfo.cc (cygheap_user::env_logsrv): Accommodate changed get_logon_server call.
2008-07-09 * grp.cc (internal_getgroups): Also add integrity-enabled groups.Corinna Vinschen
2008-07-09 * sec_auth.cc (verify_token): Disable code which returns false ifCorinna Vinschen
the token contains additional groups not requested by setgroups. Explain why.
2008-07-09 * fhandler_socket.cc (fhandler_socket::bind): Don't run explicitCorinna Vinschen
local socket test in SO_REUSEADDR case on systems supporting enhanced socket security. Explain why. Only call address_in_use for AF_INET sockets. * net.cc (cygwin_setsockopt): Don't call setsockopt to set SO_REUSEADDR on systems supporting enhanced socket security. Add comment. * wincap.h (wincaps::has_enhanced_socket_security): New element. * wincap.cc: Implement above element throughout.
2008-07-08 * net.cc (ipv6_inited): Make NO_COPY.Corinna Vinschen
2008-07-072008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>Danny Smith
* include/ctype.h (_imp____mb_cur_max): Correct spelling. (_imp____mb_cur_max_dll): Likewise.
2008-07-04 * include/stdio.h (swprintf, vswprintf): Guard with #ifndef ↵Danny Smith
__STRICT_ANSI__ * include/wchar.h (swprintf, vswprintf): Likewise.
2008-07-02 * path.cc (path_conv::is_binary): Fix test. Add comment.Corinna Vinschen
2008-07-02Add _get_output_format(), _set_output_format() for MSVCRT >= MSVCR80Keith Marshall
2008-07-01* Makefile.in: Temporarily add ability to generate pdfs.Christopher Faylor
2008-06-27* effectively.sgml: Correct subject-verb agreement, missing verbChristopher Faylor
(typo), preposition and (definite vs indefinite) article use.
2008-06-262008-06-25 Brandon Sneed <nivenh@sourceware.org>Brandon Sneed
* include/winbase.h (GetProcessHandleCount, GetSystemRegistryQuota, GetThreadIOPendingFlag): Modified to rely on _WIN32_WINNT 0x0501 instead of 0x0502. Bug reported by Thomas Denk.
2008-06-262008-06-25 Brandon Sneed <nivenh@sourceware.org>Brandon Sneed
* include/winbase.h (InterlockedIncrement, InterlockedDecrement, InterlockedCompareExchange, InterlockedExchange, InterlockedCompareExchangePointer, InterlockedExchangeAdd, InterlockedExchangePointer): Modified from PLONG to LONG volatile *.
2008-06-24 * net.cc (cygwin_bindresvport_sa): Fix usage of last_used_bindresvport.Corinna Vinschen
2008-06-22 * include/limits.h (PATH_MAX): Add comment.Corinna Vinschen
* include/cygwin/config.h (__FILENAME_MAX__): Define as 4096. Add comment.
2008-06-20Committed as obvious.Danny Smith
* lib/ddk/hal.def (HalTranslateBusAddress): Correct suffix. * lib/ddk/ntoskrnl.def (MmAllocateContiguousMemory): Correct suffix. Bug reported by Brian Hawley.
2008-06-20* faq-using.xml: Add more words about multiple cygwins.Christopher Faylor
2008-06-19 * fhandler_tty.cc (fhandler_pty_master::setup): Fix pipe inheritance.Corinna Vinschen
2008-06-19* strsig.cc (strsignal): Return non-const buffer to allow building with recentChristopher Faylor
newlib change.
2008-06-17 * sec_auth.cc (DsGetDcNameA): Drop declaration.Corinna Vinschen
(DS_FORCE_REDISCOVERY): Drop definition.
2008-06-17 * include/dsgetdc.h (DS_FORCE_REDISCOVERY, DS_FORCE_REDISCOVERY,Corinna Vinschen
DS_DIRECTORY_SERVICE_REQUIRED, DS_DIRECTORY_SERVICE_PREFERRED, DS_GC_SERVER_REQUIRED, DS_PDC_REQUIRED, DS_BACKGROUND_ONLY, DS_IP_REQUIRED, DS_KDC_REQUIRED, DS_TIMESERV_REQUIRED, DS_WRITABLE_REQUIRED, DS_GOOD_TIMESERV_PREFERRED, DS_AVOID_SELF, DS_ONLY_LDAP_NEEDED, DS_IS_FLAT_NAME, DS_IS_DNS_NAME, DS_RETURN_DNS_NAME, DS_RETURN_FLAT_NAME): Define. (DsGetDcNameW, DsGetDcNameA): Declare. (DsGetDcName): Define. * lib/netapi32.def (DsGetDcNameA, DsGetDcNameW): Export.
2008-06-17* spawn.cc (spawn_guts): Reinstate call to fhandler_console::need_invisibleChristopher Faylor
since it is required to prevent console flashing.
2008-06-17 * include/resolv.h (_getshort): Drop declaration.Corinna Vinschen
(_getlong): Ditto.
2008-06-14Committed as obvious.Danny Smith
[mingw-Bugs-1801641] * include/wchar.h (_wfdopen): Const-ify second arg. * include/stdio.h (_wfdopen): Likewise. Thanks to <tdragon at users dot sourceforge net>
2008-06-13 * mount.cc (mount_info::get_cygdrive_info): Fix usage of user andCorinna Vinschen
system arguments. Strip trailing slash from path for backward compatibility.
2008-06-12 * fhandler.h (set_console_state_for_spawn): Drop declaration.Corinna Vinschen
* fhandler_console.cc (set_console_state_for_spawn): Remove. (fhandler_console::open): Set console state last. Don't set ENABLE_PROCESSED_INPUT flag. * spawn.cc (spawn_guts): Drop call to set_console_state_for_spawn.
2008-06-12remove obsolete commentChristopher Faylor
2008-06-11 * path.cc (get_nt_native_path): Drop considerations for DOS devices.Corinna Vinschen
Keep relative paths relative. (cygwin_conv_path): Don't try to skip native NT prefixes on relative paths.
2008-06-11 * include/cygwin/version.h (CYGWIN_VERSION_MOUNT_REGISTRY): Bump.Corinna Vinschen
(CYGWIN_INFO_CYGWIN_MOUNT_REGISTRY_NAME): Remove. (CYGWIN_INFO_CYGDRIVE_FLAGS): Remove. (CYGWIN_INFO_CYGDRIVE_PREFIX): Remove. (CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX): Add comment to differ from the registry related defines.
2008-06-11 * fhandler_procnet.cc (dad_to_flags): Fix comment.Corinna Vinschen
2008-06-10 * fhandler_procnet.cc (get_scope): New static function to evaluateCorinna Vinschen
scope. (dad_to_flags): New static array to convert Windows DAD state to Linux values. (format_procnet_ifinet6): Drop asking for IfIndex, just use Ipv6IfIndex. Use get_scope and dad_to_flags to generate more accurate linux-like output.
2008-06-10 * net.cc (if_nametoindex): Fix typo in call to get_adapters_addresses.Corinna Vinschen
(if_indextoname): Prefer IPv6 loopback device name over IPv4 loopback device name on pre-Vista systems. (if_nameindex): Ditto.
2008-06-10 * fhandler_procnet.cc (format_procnet_ifinet6): Use sprintf rather thanCorinna Vinschen
__small_sprintf. * net.cc (if_nametoindex): Prefer IPv6IfIndex over IfIndex for consistency with /proc/net/if_inet6. (if_indextoname): Ditto. (if_nameindex): Ditto.
2008-06-10 * mount.cc (mount_info::from_fstab): Read sizeof (buf) - 2 bytes.Corinna Vinschen
Add code to handle overly long lines.
2008-06-10 * sec_auth.cc (lsaauth): Make returned token inheritable.Corinna Vinschen
2008-06-10 * devices.cc: Regenerate.Corinna Vinschen
2008-06-09* devices.in: Remove "Global" from tty device.Christopher Faylor
2008-06-09* signal.cc (abort): Only flush streams after signal handler.Christopher Faylor
2008-06-03Avoid precision errors in round(), lround() and llround() functions.Keith Marshall
2008-06-03* cygwin.sc: Remove unrequired and erroneous definition.Christopher Faylor
2008-05-30* select.cc (peek_pipe): Semi-reinstate pipe NT-special write detection.Christopher Faylor
2008-05-29add missing entryChristopher Faylor
2008-05-29* devices.in: Change mapping for /dev/ttyS* and /dev/com*.Christopher Faylor
2008-05-292008-05-28 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe
* include/commctrl.h (NMLVODSTATECHANGE): Define. Thanks to Tim Kosse <botg at users dot sf dot net>.
2008-05-292008-05-28 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe
* include/winnt.h (SUBLANG_TIBETAN_BHUTAN): Fix definition. Thanks to Nicola Di Nisio <nicoladinisio at users dot sf dot net>.