summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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.
* * 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
|
* * 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.
* * 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.
* * Makefile.in: Simplify rule to build dependencies from cygwin dir.Corinna Vinschen2015-01-282-6/+7
|
* * Makefile.in (VERSION_OFILES): New variable containing object filesCorinna Vinschen2015-01-282-12/+18
| | | | | | | | with version information. Use throughout. (clean): Drop winver_stamp. (version.cc winver.o): Drop empty rule. (winver_stamp): Convert to rule targeting version.cc and winver.o directly. Drop touching winver_stamp. Fix typo.
* Fix typoCorinna Vinschen2015-01-271-1/+1
|
* *** empty log message ***Corinna Vinschen2015-01-271-1/+1
|
* Fix entry headerCorinna Vinschen2015-01-241-1/+1
|
* * uname.cc (uname): Shorten "WOW64" to "WOW" to account for the newCorinna Vinschen2015-01-242-2/+7
| | | | Windows 10 OS version "10.0" starting with preview build 9926.
* * new-features.xml (ov-new1.7.34): Add extension of gethostbyname2.Corinna Vinschen2015-01-232-0/+15
| | | | Add sockatmark.
* *** empty log message ***Corinna Vinschen2015-01-231-0/+3
|
* * net.cc (cygwin_inet_pton): Declare.Corinna Vinschen2015-01-232-7/+120
| | | | | | (gethostby_specials): New function. (gethostby_helper): Change returned addrtype in 4-to-6 case. (gethostbyname2): Call gethostby_specials.
* * fhandler.h (class fhandler_process): Add fd_type member.Corinna Vinschen2015-01-225-12/+78
| | | | | | | | | | | | | | | | | * fhandler_process.cc (process_tab): Fix indentation. (fhandler_process::exists): Rely on format_process_fd returning file type in fd_type. (struct process_fd_t): Add fd_type member. (fhandler_process::fill_filebuf): Allow format_process_fd to set this->fd_type member. (format_process_fd): Fix path evaluation to allow recognizing trailing path components. Fix check for file descriptor path component. Return virt_symlink in fd_type if no trailing path compenents exist, return virt_fsdir otherwise and copy full resulting path into destbuf. * path.cc (path_conv::check): If /proc/$PID/fd symlink has trailing path components, reparse resulting path as if it's the incoming path. Add comment to wail over the outdated and hackish check method, and to explain what we do here.
* * uinfo.cc (pwdgrp::fetch_account_from_windows): Allow fetching gid,Corinna Vinschen2015-01-212-21/+56
| | | | home, shell and gecos info from NT4 domain.
* * sec_auth.cc (get_logon_server): Constify domain parameter.Corinna Vinschen2015-01-213-4/+9
| | | | * security.h (get_logon_server): Same in prototype.
* * posix.xml (std-susv4): Move sockatmark here from std-notimpl.Corinna Vinschen2015-01-202-1/+5
|
* * common.din (sockatmark): Export.Corinna Vinschen2015-01-205-3/+27
| | | | | * net.cc (sockatmark): New function. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* *** empty log message ***Corinna Vinschen2015-01-201-0/+6
|
* * bsd_helper.h: Throughout, convert "struct thread" to "class thread".Corinna Vinschen2015-01-198-48/+66
| | | | | | | | | | | | | | | | | | | * bsd_mutex.cc (_msleep): Fetch signal_arrived handle from thread's ipcblk. * process.h (class process): Drop _signal_arrived and align methods. (process_cache::process): Drop signal_arrived parameter. * process.cc (process::process): Ditto. Drop related code. (process::~process): Drop closing signal_arrived handle. (process_cache::process): Drop signal_arrived parameter in call to process::process. (thread::dup_signal_arrived): New method duplicating thread's signal_arrived handle. (thread::close_signal_arrived): New method closing thread's signal_arrived handle. * msg.cc (client_request_msg::serve): Drop signal_arrived parameter from call to process_cache::process. Use thread constructor to initialize td. * sem.cc (client_request_sem::serve): Ditto. * shm.cc (client_request_shm::serve): Ditto.
* * cygserver_ipc.h (ipc_retval): Add default constructor.Corinna Vinschen2015-01-192-2/+23
| | | | | | (class thread): struct->class. Add prototypes for new private methods dup_signal_arrived and close_signal_arrived. Implement constructor and destructor.
* * gendef: Export _sigbe on 64 bit as well.Corinna Vinschen2015-01-165-9/+44
| | | | | | | | | | | | * malloc_wrapper.cc (free): In malloc_printf, call caller_return_address instead of __builtin_return_address. (malloc): Ditto. (realloc): Ditto. (calloc): Ditto. * miscfuncs.cc (__caller_return_address): New function. * miscfuncs.h (caller_return_address): New macro calling __caller_return_address. (__caller_return_address): Add prototype.
* *** empty log message ***Corinna Vinschen2015-01-141-0/+3
|
* * ntsec.xml (ntsec-mapping-nsswitch-passwd): Document /path %H wildcard.Corinna Vinschen2015-01-142-5/+25
| | | | | (ntsec-mapping-nsswitch-home): Disable text explaining how the home directory is fetched from the homeDrive attribute.
* * uinfo.cc (fetch_windows_home): Disable fetching from homeDrive orCorinna Vinschen2015-01-142-1/+14
| | | | usri3_home_dir_drive. Add comment.
* * cygwinenv.xml (cygwinenv-removed-options): Accommodate list ofCorinna Vinschen2015-01-142-15/+5
| | | | always uppercased Windows variables to latest change.
* * environ.cc (renv_arr): Drop variables not usually in a WindowsCorinna Vinschen2015-01-142-22/+14
| | | | | environment and all variables being uppercase anyway. But keep TMP and TEMP for paranoia.
* * environ.cc (build_env): When merging the user's Windows environment,Corinna Vinschen2015-01-142-3/+25
| | | | | explicitely skip the variables needing conversion to avoid collisions. Extend comment to explain.
* * uinfo.cc (pwdgrp::fetch_account_from_windows): Drop code fromCorinna Vinschen2015-01-132-16/+15
| | | | | | 2014-11-17, always prepending domain to NT SERVICE accounts when searching by name. Fix test expression to allow fully qualified names for NT SERVICE accounts. Extend comment to explain a bit.
* copyright fixCorinna Vinschen2015-01-131-1/+1
|
* * minires-os-if.c (cygwin_query): Change questions into answers.Corinna Vinschen2015-01-122-0/+11
|
* * cygheap.h (cygheap_pwdgrp::get_shell): Add sid to argument list.Corinna Vinschen2015-01-083-42/+84
| | | | | | | | | | | | | | | (cygheap_pwdgrp::get_gecos): Ditto. * uinfo.cc (fetch_windows_home): Accept cyg_ldap and PUSER_INFO_3 arguments, and fetch db home dir values right here. (fetch_from_path): Accept cyg_ldap, PUSER_INFO_3 pointers and sid arguments. Add '%H' format specifier to fetch Windows home dir in POSIX notation. (cygheap_pwdgrp::get_home): Accommodate changes to fetch_windows_home and fetch_from_path. (cygheap_pwdgrp::get_shell): Ditto. (cygheap_pwdgrp::get_gecos): Ditto. (pwdgrp::fetch_account_from_windows): Accommodate sid argument to cygheap_pwdgrp::get_shell and cygheap_pwdgrp::get_gecos.
* *** empty log message ***Corinna Vinschen2015-01-081-0/+9
|
* * include/cygwin/socket.h (struct cmsghdr): Redefine cmsg_len as typeCorinna Vinschen2015-01-082-2/+10
| | | | size_t. Add comment to explain why.