summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * grp.cc (internal_getgroups): Check for group attributes andCorinna Vinschen2015-02-232-10/+14
| | | | Everyone sid before calling internal_getgrsid.
* * cygwait.h (enum cw_wait_mask): Add cw_sig_restart. Add commentsCorinna Vinschen2015-02-234-11/+25
| | | | | | | | | to explain the meaning of the possible values. * cygwait.cc (is_cw_sig_restart): Define. (is_cw_sig_handle): Check for cw_sig_restart as well. (cygwait): Restart always if cw_sig_restart is set. * thread.cc (pthread::join): Call cygwait with cw_sig_restart flag to avoid having to handle signals at all.
* * cygwait.cc (cygwait): Move setting res to WAIT_SIGNALED to clarifyCorinna Vinschen2015-02-232-2/+8
| | | | when WAIT_SIGNALED is returned to the caller.
* * winsup.h (SIGTOMASK): Add cast to sigset_t to avoid int overflow.Corinna Vinschen2015-02-233-1/+8
|
* * grp.cc (internal_getgroups): Take additional timeout_ns parameter.Corinna Vinschen2015-02-206-7/+46
| | | | | | | | | | Restrict fetching group account entries from user token groups by timeout_ns 100ns-intervals. Add preceding comment to explain why. * pwdgrp.h (internal_getgroups): Align prototype. * times.cc (GetTickCount_ns): New function. * uinfo.cc (internal_getlogin): Call internal_getgroups wih 300ms timeout. * winsup.h (GetTickCount_ns): Declare.
* 2015-02-19 Jon TURNEY <jon.turney@dronecode.org.uk>Jon TURNEY2015-02-202-1/+5
| | | | * Makefile.in (sigfe.o): Use CFLAGS.
* 2015-02-19 Jon TURNEY <jon.turney@dronecode.org.uk>Jon TURNEY2015-02-202-3/+9
| | | | | | | * include/cygwin/stdlib.h (initstate, random, setstate, srandom): Check if __XSI_VISIBLE is set by sys/cdefs.h, rather than testing for _XOPEN_SOURCE directly, to work correctly when _GNU_SOURCE is set.
* * sec_acl.cc (setacl): Always grant owner FILE_WRITE_ATTRIBUTES access.Corinna Vinschen2015-02-193-6/+16
|
* * ldap.cc (struct cyg_ldap_search): Add scope member.Corinna Vinschen2015-02-183-12/+29
| | | | | | | | | | | | | | | (cyg_ldap::search_s): Add parameter scope. Use as LDAP search scope instead of fixed LDAP_SCOPE_SUBTREE scope. (ldap_search_thr): Call cyg_ldap::search_s with scope from argument. (cyg_ldap::search): Add parameter scope and fill in to cyg_ldap_search. (cyg_ldap::fetch_ad_account): Call search with LDAP_SCOPE_SUBTREE scope. (cyg_ldap::fetch_posix_offset_for_domain): Call search with LDAP_SCOPE_ONELEVEL scope. (cyg_ldap::fetch_unix_sid_from_ad): Call search with LDAP_SCOPE_SUBTREE scope. (cyg_ldap::fetch_unix_name_from_rfc2307): Ditto. * ldap.h (cyg_ldap::search): Align prototype to above change. (cyg_ldap::search_s): Ditto.
* * ldap.cc: Macro-ize filter expressions. Use throughout to computeCorinna Vinschen2015-02-182-23/+45
| | | | required filter buffer size if filter is a local buffer.
* * dump_setup.cc (check_package_files): Accommodate postinstallKen Brown2015-02-172-1/+7
| | | | | files in any directory whose name contains "/postinstall/", not just /etc/postinstall.
* Applied Andrey's and my improvments to FAQ item 4.2, discussed on the main ML.Warren Young2015-02-172-48/+112
|
* * ldap.cc (cyg_ldap::fetch_posix_offset_for_domain): Drop strayCorinna Vinschen2015-02-172-1/+5
| | | | system_printf.
* * ldap.h (class cyg_ldap): Rename rootdse to def_context. ChangeCorinna Vinschen2015-02-173-32/+59
| | | | | | | | | | | | | | | throughout. * ldap.cc (cyg_ldap::open): Fix debug output. (cyg_ldap::fetch_ad_account): Rename rdse to base. Restrict LDAP query to users and groups only. (cyg_ldap::enumerate_ad_accounts): Rearrange filter expression for user accounts. (SYSTEM_CONTAINER): New macro. (cyg_ldap::fetch_posix_offset_for_domain): Set base in LDAP search to the "System" container in the default naming context to restrict the search scope. (cyg_ldap::fetch_unix_sid_from_ad): Add objectCategory=Person to search filter for users.
* * arm/crt0.S: Initialise __heap_limit when ARM_RDI_MONITOR is defined.Corinna Vinschen2015-02-173-1/+17
| | | | | * arm/syscalls.c: define __heap_limit global symbol. * arm/syscalls.c (_sbrk): Honour __heap_limit.
* * libc/machine/arm/aeabi_memclr.c: New file to supportCorinna Vinschen2015-02-179-5/+555
| | | | | | | | | | | | aeabi_memclr. * libc/machine/arm/aeabi_memset.c: New file to support aeabi_memset. * libc/machine/arm/aeabi_memset-soft.S: Ditto. * libc/machine/arm/aeabi_memset-arm.S: Ditto. * libc/machine/arm/aeabi_memset-thumb.S: Ditto. * libc/machine/arm/aeabi_memset-thumb2.S: Ditto. * libc/machine/arm/Makefile.am: Add dependencies. * libc/machine/arm/Makefile.in: Regenerated.
* * libc/machine/arm/aeabi_memmove.c: New file to supportCorinna Vinschen2015-02-178-3/+351
| | | | | | | | | | aeabi_memmove. * libc/machine/arm/aeabi_memmove-soft.S: Ditto. * libc/machine/arm/aeabi_memmove-arm.S: Ditto. * libc/machine/arm/aeabi_memmove-thumb.S: Ditto. * libc/machine/arm/aeabi_memmove-thumb2.S: Ditto. * libc/machine/arm/Makefile.am: Add dependencies. * libc/machine/arm/Makefile.in: Regenerated.
* *** empty log message ***Corinna Vinschen2015-02-161-1/+1
|
* * spawn.cc (find_exec): Extend preceeding comment to explain moreCorinna Vinschen2015-02-162-2/+22
| | | | | detailed what's going on in this function. Overwrite potential symlink target with original path.
* * setup-files.xml (setup-files): Drop hint to set HOME in WindowsCorinna Vinschen2015-02-163-13/+19
| | | | | | environment. * setup-env.xml (setup-env-ov): Discourage setting HOME in the Windows environment.
* * posix.xml (std-gnu): Add missing __mempcpy.Corinna Vinschen2015-02-152-0/+5
|
* * i686.din (__mempcpy): Move symbol export from here...Corinna Vinschen2015-02-154-1/+9
| | | | * common.din (__mempcpy): ... to here.
* Fix layout of ChangeLog entryCorinna Vinschen2015-02-151-0/+16
|
* * path.h (path_conv): Make path_flags private. Rename known_suffix toCorinna Vinschen2015-02-159-78/+80
| | | | | | | | | | | | | | suffix and make private. Rename normalized_path to posix_path and make privtae. Accommodate name changes throughout in path_conv methods. (path_conv::known_suffix): New method. Use throughout instead of accessing suffix directly. (path_conv::get_win32): Constify. (path_conv::get_posix): New method to read posix_path. Use throughout instead of accessing normalized_path directly. (path_conv::set_posix): Rename from set_normalized_path. Accommodate name change throughout. * spawn.cc (find_exec): Return POSIX path, not Win32 path.
* *** empty log message ***Corinna Vinschen2015-02-121-0/+9
|
* * sec_acl.cc (setacl): Introduce bool array "invalid" to note theCorinna Vinschen2015-02-123-3/+16
| | | | invalidation of incoming acl entries while iterating over them.
* * cygheap.h (cygheap_pwdgrp::get_home): Add dnsdomain parameter toCorinna Vinschen2015-02-125-107/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | declaration in ldap-related method. (cygheap_pwdgrp::get_shell): Ditto. (cygheap_pwdgrp::get_gecos): Ditto. * ldap.cc (cyg_ldap::open): Use NO_ERROR instead of 0. (cyg_ldap::close): Reset last_fetched_sid. (cyg_ldap::fetch_ad_account): Return immediately if sid is the same as last_fetched_sid. Open LDAP connection from here. Move initialization of rdse after open call. Set last_fetched_sid if LDAP call was successful. * ldap.h (class cyg_ldap): Add member last_fetched_sid. (cyg_ldap::cyg_ldap): Initialize last_fetched_sid. (cyg_ldap::is_open): New inline method. * uinfo.cc (cygheap_pwdgrp::init): Drop initialization of db_home, db_shell and db_gecos with "cygwin desc", thus only using the fallback by default. (fetch_windows_home): Add parameter dnsdomain. Call cyg_ldap::fetch_ad_account if required. (fetch_from_path): Add parameter dnsdomain. Call fetch_windows_home accordingly. (cygheap_pwdgrp::get_home): Accomodate call to fetch_windows_home. Add dnsdomain parameter in ldap-related method. Call cyg_ldap::fetch_ad_account if required. (cygheap_pwdgrp::get_shell): Ditto. (cygheap_pwdgrp::get_gecos): Ditto. (pwdgrp::fetch_account_from_windows): Drop cyg_ldap::open call prior to cyg_ldap::fetch_ad_account call. Set is_current_user to true if we're handling the current user account. Make sure to perform the LDAP calls only for users, and only if required.
* * ntsec.xml: Throughout fix references to the Cygwin version number.Corinna Vinschen2015-02-122-3/+7
|
* * flock.cc (fhandler_base::lock): Convert accidental system_printf toCorinna Vinschen2015-02-112-2/+7
| | | | debug_printf in case of non-matching file modes. Clear up debug output.
* * or1k/or1k_uart.c: Write bugfix and cleanup/documentation.Corinna Vinschen2015-02-113-57/+105
| | | | * or1k/or1k_uart.h: Cleanup.
* * dlfcn.cc (check_path_access): Drop FE_NATIVE from find_exec call.Corinna Vinschen2015-02-117-102/+72
| | | | | | | | | | | | | | | | | | | | | (gfpod_helper): Drop equality sign from environment variable name in call to check_path_access. * exec.cc (execlp): Drop equality sign from environment variable name in call to find_exec. (execvp): Ditto. (execvpe): Ditto. * path.h (enum fe_types): Drop FE_NATIVE. (find_exec): Rename third paramter in declaration from search. Drop equality sign from default value. * spawn.cc (perhaps_suffix): Add PC_POSIX to path_conv::check call. (find_exec): Simplify function. Iterate over POSIX pathlist rather than Windows pathlist. Drop handling of FE_NATIVE flag. Always fill posix path of incoming path_conv buf, unless FE_NNF flag is given. (av::setup): Drop equality sign from environment variable name in call to find_exec. Call unshift with normalized_path. * winf.cc (av::unshift): Drop conv parameter and code converting Windows to POSIX path. * winf.h (av::unshift): Accommodate prototype.
* * faq-using.xml (faq.using.startup-slow): New entry.Corinna Vinschen2015-02-112-0/+67
|
* * syscalls.cc (fhandler_base::stat_fixup): Generate unique inode numberCorinna Vinschen2015-02-102-3/+19
| | | | for /dev/tty under all circumstances. Add to comment.
* *** empty log message ***Corinna Vinschen2015-02-061-0/+15
|
* * posix.xml (std-susv4): Move cabsl, cimagl, creall, hypotl, sqrtl hereCorinna Vinschen2015-02-062-5/+11
| | | | from std-notimpl. Add finitel.
* * common.din: Export cabsl, cimagl, creall, finitel, hypotl, sqrtl.Corinna Vinschen2015-02-063-1/+13
| | | | * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 35.Corinna Vinschen2015-02-062-1/+5
|
* * libc/include/complex.h (cabsl): Add prototype.Nick Clifton2015-02-0623-50/+523
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cimagl): Add prototype. (creall): Add prototype. * libc/include/ieeefp.h: Include float.h. (EXT_EXPBITS, EXT_FRACHBITS, EXT_FRACLBITS) (EXT_EXP_INFNAN. EXT_EXP_BIAS, EXT_FRACBITS): Define. (struct ieee_ext, union ieee_ext_u): New types for long double support. * libc/include/math.h (finitel): Add prototype. (hypotl): Add prototype. (sqrtl): Add prototype. * libm/common/Makefile.am (lsrc): Add sl_finite.c. * libm/common/Makefile.in: Regenerate. * libm/common/fdlibm.h (__ieee754_hypotl): Add prototype. * libm/common/hypotl.c (hypotl): Add implementation for when long double is larger than double. * libm/common/sqrtl.c (sqrtl): Likewise. * libm/common/sl_finite.c: New file. Adds implementation of the finitel function. * libm/complex/Makefile.am (lsrc): Define. (libcomplex_la_SOURCES): Add lsrc. (lib_a_SOURCES): Add lsrc. * libm/complex/Makefile.in: Regenerate. * libm/complex/cabs.c: Add documentation of cabsl function. * libm/complex/cimag.c: Add documentation of cimagl function. * libm/complex/creall.c: Add documentation of creall function. * libm/complex/cabsl.c: New file. Adds implementation of the cabsl function. * libm/complex/cimagl.c: New file. Adds implementation of the cimagl function. * libm/complex/creall.c: New file. Adds implementation of the creall function. * libm/math/Makefile.am (lsrc): Define. (libmath_la_SOURCES): Add lsrc. (lib_a_SOURCES): Add lsrc. * libm/math/Makefile.in: Regenerate. * libm/math/el_hypot.c: New file. Adds implementation of the __ieee754_hypotl function.
* * fhandler_proc.cc (format_proc_cpuinfo): Enable multi-core fieldsCorinna Vinschen2015-02-062-2/+7
| | | | on Intel CPUs.
* * posix.xml (std-susv4): Move wcstold here from std-notimpl.Corinna Vinschen2015-02-042-1/+5
|
* * new-features.xml (ov-new1.7.34): Add wcstold.Corinna Vinschen2015-02-042-0/+8
|
* * common.din (wcstold): Export.Corinna Vinschen2015-02-044-1/+10
| | | | * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* * libc/include/wchar.h (wcstold): Drop _LDBL_EQ_DBL requirement forCorinna Vinschen2015-02-042-3/+5
| | | | declaration.
* * faq-using.xml (faq.using.ssh-pubkey-stops-working): New entry.Corinna Vinschen2015-02-042-0/+100
| | | | (faq.using.same-with-rhosts): Ditto.
* * utils.xml (regtool): Clarify save action. Add description forCorinna Vinschen2015-02-033-2/+24
| | | | | restore action. * new-features.xml (ov-new1.7.34): Add regtool restore.
* *** empty log message ***Corinna Vinschen2015-02-031-0/+2
|
* * regtool.cc (longopts): Add --force option.Corinna Vinschen2015-02-032-27/+51
| | | | | | | | | | | (opts): Add -f option. (restore_flags): New variable. (usage): Clarify working of save action. Add restore action. Add description for -f/--force option. (set_privilege): Drop function. The Cygwin DLL is doing that anyway. (cmd_save): Drop call to set_privilege. (cmd_restore): New function. (main): Handle -f/--force option.
* * Throughout, replace http with https as far as cygwin.com andCorinna Vinschen2015-02-0317-393/+196
| | | | | | | | | | | | | | | | | | | sourceware.org URLs are concerned. * Throughout, simplify ulink expressions if the visible text is the URL anyway. * faq-programming.xml (faq.programming.dll-relocatable): Remove. * faq-setup.xml (faq.setup.name-with-space): Change for 1.7.34. (faq.setup.home): Ditto. * faq-using.xml (faq.using.printing): Clarify old links and availability of a2ps and file. (faq.using.xemacs): Drop outdated version info and pointers to native XEmacs. (faq.using.ntemacs): Remove. * faq-what.xml (faq.what.what): Rephrase to reflect reality. (faq.what.supported): Ditto. (faq.what.who): Rephrase slightly. * legal.xml: Bump copyright. * setup-net.xml (internet-setup): Fix references to setup executables.
* * mkvers.sh: Automate generating the copyright date in the versionCorinna Vinschen2015-02-033-4/+10
| | | | | resource. * winver.rc: Ditto.
* * libc/stdlib/wcstold.c (wcstold): Add implementation for whenNick Clifton2015-01-292-4/+77
| | | | long double is not the same as double.