Commit Graph

  • 46471257e9 2009-11-17 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Jeff Johnston 2009-11-17 22:35:46 +0000
  • dd3a778c28 2009-11-17 Paul Brook <paul@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Paul Brook 2009-11-17 16:31:56 +0000
  • b14f53a8ec Reintegrate socket duplication via WSADuplicateSocket/WSASocket. * autoload.cc (WSADuplicateSocketW): Define. (WSASocketW): Define. * dtable.cc (dtable::release): Call dec_need_fixup_before if necessary. (dtable::fixup_before_fork): New function. (dtable::fixup_before_exec): New function. * dtable.h (class dtable): Add member cnt_need_fixup_before. Add declarations for above new functions. (dtable::dec_need_fixup_before): New inline method. (dtable::inc_need_fixup_before): New inline method. (dtable::need_fixup_before): New inline method. * fhandler.h (fhandler_base::fixup_before_fork_exec): New virtual method. (fhandler_base::need_fixup_before): New virtual method. (class fhandler_socket): Add member prot_info_ptr. (fhandler_socket::init_fixup_before): Declare. (fhandler_socket::need_fixup_before): New inline method. (fhandler_socket::fixup_before_fork_exec): Declare. (fhandler_socket::fixup_after_exec): Declare. * fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize prot_info_ptr to NULL. (fhandler_socket::~fhandler_socket): Free prot_info_ptr conditionally. (fhandler_socket::init_fixup_before): New method. (fhandler_socket::fixup_before_fork_exec): Ditto. (fhandler_socket::fixup_after_fork): Use WSASocketW to duplicate socket if necessary. (fhandler_socket::fixup_after_exec): New method. (fhandler_socket::dup): Use fixup_before_fork_exec/fixup_after_fork to duplicate socket if necessary. * fork.cc (frok::parent): Start child suspended if some fhandler needs fixup before fork. If so, call dtable::fixup_before_fork after CreateProcess and resume child. * net.cc (fdsock): Try to find out if socket needs fixup before and initialize socket accordingly. Add HUGE comment to explain what happens and why. * spawn.cc (spawn_guts): Start child suspended if some fhandler needs fixup before exec. If so, call dtable::fixup_before_exec after CreateProcess. Corinna Vinschen 2009-11-17 10:43:01 +0000
  • 88242190ec * Makefile.def: Restore host and target settings for gmp. * Makefile.in: Rebuild. Alexandre Oliva 2009-11-16 22:57:46 +0000
  • d01a44977f Fix setenv and unsetenv corner cases. Eric Blake 2009-11-16 20:05:49 +0000
  • 5074489a49 * configure.ac: Add libelf to host_libs. Enable in-tree configury of ppl and cloog. Fix in-tree configury of libelf, skip tests. Fix portability of test of C++ as bootstrap language. Add ppl/src/ppl-config.o to the bootstrap compare exclusion list. * configure: Rebuild. * Makefile.def: Drop host and target settings from gmp, mpfr, ppl, and cloog. Fix in-tree ppl configuration. Introduce libelf in-tree building. * Makefile.tpl (POSTSTAGE1_CXX_EXPORT): New. (POSTSTAGE1_HOST_EXPORTS): Use it. (STAGE[+id+]_CXXFLAGS): New. (BASE_FLAGS_TO_PASS): Pass it down. (configure-stage[+id+]-[+prefix+][+module+]): Use it. Add extra_exports. (all-stage[+id+]-[+prefix+][+module+]): Likewise. (configure-[+prefix+][+module+], all-[+prefix+][+module+]): Add extra_exports. * Makefile.in: Rebuild. * configure.ac (FLAGS_FOR_TARGET): Add -L and -isystem paths for *-w64-mingw* and x86_64-*mingw*. * configure: Regenerated. * configure.ac: Disable target-winsup & co for x86_64-*-mingw* and *-w64-mingw* targets. * configure: Regenerated. * configure.ac (CLooG test): Use = with test. * configure: Regenerate. * configure.ac: Do not set LIBS for ppl/cloog checks. Disable cloog if the ppl version check failed. Move flags saving before setting in libelf check. * configure: Regenerate. * configure.ac: Adjust the ppl and cloog configure to work as documented. Disable cloog if ppl was disabled. Omit the version checks if they were disabled. * configure: Re-generate. Alexandre Oliva 2009-11-16 18:42:37 +0000
  • b755d497f5 * pathnames.sgml (pathnames-specialchars): Fix typos. Corinna Vinschen 2009-11-16 12:30:00 +0000
  • 969afaf753 * Makefile.in (cygserver.exe): Link with -static to avoid linking against cygstdc++-6.dll due to references to __cxa_pure_virtual. Corinna Vinschen 2009-11-16 08:50:07 +0000
  • 88dc5cc365 2009-14-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2009-11-14 19:58:41 +0000
  • 5e80d7d546 2009-14-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2009-11-14 19:47:23 +0000
  • 8b121daba4 2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2009-11-14 00:54:58 +0000
  • 3d330d8115 2009-13-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2009-11-14 00:50:50 +0000
  • 35d6a288b2 2009-13-09 Robert Moerland <rjmoerland@users.sourceforge.net> Chris Sutcliffe 2009-11-14 00:45:35 +0000
  • 2142a1930c 2009-13-09 Jacky Lai <crazyjacky@users.sourceforge.net> Chris Sutcliffe 2009-11-13 23:58:58 +0000
  • 9cd6116e56 2009-13-09 Jan Nijtmans <nijtmans@users.sourceforge.net> Chris Sutcliffe 2009-11-13 23:29:26 +0000
  • 344af4f708 2009-11-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> * include/winnt.h (PROCESS_SUSPEND_RESUME): Define. Chris Sutcliffe 2009-11-13 21:36:34 +0000
  • ab36239578 * net.cc (fdsock): Fill _rmem and _wmem with valid values returned from getsockopt if setsockopt with desired values failed. Corinna Vinschen 2009-11-13 12:35:53 +0000
  • 4ade241445 * new-features.sgml (ov-new1.7-os): Mention Windows 7 and 2008 R2. (ov-new1.7-device): Add API get_avphys_pages, get_nprocs, get_nprocs_conf, and get_phys_pages. Corinna Vinschen 2009-11-12 14:41:12 +0000
  • 339682e6de * sysconf.cc (get_nprocs): New function. (get_nprocs_conf): Ditto. (get_avphys_pages): Ditto. (get_phys_pages): Ditto. * cygwin.din: Export them. * include/sys/sysinfo.h: New header, decalre above new functions. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * posix.sgml: Mention them as GNU extensions. Corinna Vinschen 2009-11-12 14:40:48 +0000
  • c08f09ab78 * fhandler.h (class fhandler_mailslot): Declare new private method get_object_attr. * fhandler_mailslot.cc (fhandler_mailslot::get_object_attr): Implement. (fhandler_mailslot::open): Replace calls to path_conv::get_object_attr with calls to fhandler_mailslot::get_object_attr. Corinna Vinschen 2009-11-11 18:16:57 +0000
  • afb7f5666d * getfacl.c (print_version): Fix copyright. (main): Don't reuse local variables confusingly. Don't print any file information if acl() fails. Improve error message. Always print a trailing empty line. Set return code to 2 if accessing some file fails. Corinna Vinschen 2009-11-11 10:12:35 +0000
  • 03c48ee2e0 * fhandler_console.cc (fhandler_console::read): Revert change from 2009-11-09. Corinna Vinschen 2009-11-10 20:02:20 +0000
  • 3aec0f00b1 * fhandler_disk_file.cc (is_volume_mountpoint): Align check with symlink_info::check_reparse_point(). * path.cc (symlink_info::check_reparse_point): Rearrange slightly. Add code path for unrecognized repare point types. Add comment. Corinna Vinschen 2009-11-10 08:54:24 +0000
  • 6e22c002ff * largefile.m4 (ACX_LARGEFILE): Call AC_PLUGINS. Joel Brobecker 2009-11-09 23:19:11 +0000
  • 16a72f7e4b * path.cc (symlink_info::check_reparse_point): Always check SubstituteName for volume string to recognize volume mount points. Reuse subst when calling sys_wcstombs. * syscalls.cc (rename): Set errno to EBUSY when trying to rename volume mount points. Explain why. Corinna Vinschen 2009-11-09 19:46:36 +0000
  • ed66791aba * fhandler_console.cc (fhandler_console::read): Restrict generating META key sequences to singlebyte input chars. Corinna Vinschen 2009-11-09 15:38:36 +0000
  • aa9681ec35 * fhandler_disk_file.cc (fhandler_base::fstat_helper): Drop all "other" permissions from st_mode, if the reading the file's security descriptor failed. Explain why. Corinna Vinschen 2009-11-08 10:22:28 +0000
  • 08e5e79b33 * largefile.m4: New file. Joel Brobecker 2009-11-07 02:01:29 +0000
  • b36d8c46e5 * globals.cc (ro_u_scr): New R/O unicode string. (ro_u_sys): Ditto. * syscalls.cc (nt_path_has_suffix): Replace with ... (nt_path_has_executable_suffix): New function checking for explicit executable suffixes. (rename): Call nt_path_has_executable_suffix instead of nt_path_has_suffix. Check oldpath for nt_path_has_executable_suffix as well to set old_explicit_suffix. Corinna Vinschen 2009-11-06 20:51:03 +0000
  • 38090b588c Checking this in for: Jonas Maebe <jonas.maebe@elis.ugent.be> Joel Brobecker 2009-11-06 14:38:19 +0000
  • 1636ce3b32 * transport_pipes.cc (transport_layer_pipes::transport_layer_pipes): Check cygwin_internal for returning 0 rather than for != 0. (transport_layer_pipes::accept): Add debug output. (transport_layer_pipes::connect): Ditto. Corinna Vinschen 2009-11-06 13:11:52 +0000
  • 74ad9cc012 * shared.cc (inst_root_inited): New static bool variable. (init_installation_root): Set inst_root_inited to true. (memory_init): Print installation root debug output only if inst_root_inited is true. Corinna Vinschen 2009-11-06 13:06:36 +0000
  • 73db6db783 * libc/include/ctype.h (__ctype_lookup): Fix precedence. Eric Blake 2009-11-06 03:27:19 +0000
  • ac4ad8bffc * syscalls.cc (nt_path_has_suffix): New function. (rename): Don't append .exe suffix if binary target name has any suffix at all. Corinna Vinschen 2009-11-05 14:44:12 +0000
  • e807aacea9 * spawn.cc (dll_suffixes): Disable. Explain why. (perhaps_suffix): Use stat_suffixes instead of dll_suffixes. Corinna Vinschen 2009-11-05 09:59:18 +0000
  • 4988840b3b [opcodes] * rx-decode.opc (rx_decode_opcode) (mvtipl): Add. (mvtcp, mvfcp, opecp): Remove. * rx-decode.c: Regenerate. * rx-dis.c (cpen): Remove. DJ Delorie 2009-11-05 00:38:45 +0000
  • 13e8e14ab5 * path.cc (read_mounts): Skip unnecessary test if path has been fetched from loaded cygwin1.dll. Corinna Vinschen 2009-11-04 17:09:32 +0000
  • b5f48aa961 * cygcheck.cc (cygwin_dll_path): New global variable. (load_cygwin): Fetch cygwin DLL path and store in cygwin_dll_path. * strace.cc: Full ditto. * path.cc (read_mounts): First use the path stored in cygwin_dll_path, if available. Then fall back to fetching own path. Add comment. Drop printing warnings since they look funny in strace output. Corinna Vinschen 2009-11-04 17:00:45 +0000
  • 44a019897f * path.cc (read_mounts): First get installation path from own path. Check if cygwin1.dll exists in same directory. Only if not, try to get installation path from setup registry key. Add ample warnings. Corinna Vinschen 2009-11-04 15:47:29 +0000
  • 73f2ecd19d * Makefile.in (cygpath.exe): Add -fno-threadsafe-statics to CXXFLAGS. Corinna Vinschen 2009-11-04 14:14:52 +0000
  • 18f7c50401 * security.cc (alloc_sd): Re-introduce setting the SE_DACL_PROTECTED flag. Remove INHERITED_ACE flag from all inherited ACEs. Add comment. Fix ace_off counter in unrelated ACE loop. * wincap.cc: Re-add has_dacl_protect throughout. * wincap.h: Ditto. Corinna Vinschen 2009-11-03 09:31:45 +0000
  • 1bb3825949 * security.cc (alloc_sd): Re-enable generating default permission entries for directories. Corinna Vinschen 2009-11-02 20:50:15 +0000
  • df95867087 * dlfcn.cc (get_full_path_of_dll): Drop enforcing a .dll suffix. (dlopen): If last path component has no dot, append one to override automatic .dll suffix in LoadLibrary. Corinna Vinschen 2009-11-02 14:39:08 +0000
  • 09b07be520 2009-11-02 Paul Brook <paul@codesourcery.com> Paul Brook 2009-11-02 13:44:04 +0000
  • 599b80fc86 Final sync of pseudo-reloc.c with mingw64 and cygwin Charles Wilson 2009-11-02 12:16:21 +0000
  • a657970571 * miscfuncs.h (transform_chars): Declare. Define inline variation here. * mount.cc (mount_info::from_fstab): Remove extern declaration of transform_chars. * path.cc (tfx_chars): Move to strfuncs.cc. (transform_chars): Ditto. * strfunc.cc (tfx_chars): Moved here from path.cc. (transform_chars): Ditto. (sys_cp_wcstombs): Make UNICODE private use area conversion roundtrip save for all characters. (sys_cp_mbstowcs): Ditto, by removing special case for UTF-8 sequences representing U+f0XX UNICODE chars. Fix typo in comment. Corinna Vinschen 2009-11-02 11:42:04 +0000
  • 9725900d86 path.cc Corinna Vinschen 2009-11-02 10:07:26 +0000
  • 0055caee0f * path.cc (tfx_chars): Constify. Corinna Vinschen 2009-11-02 09:49:30 +0000
  • 8a9358d0f7 * Makefile.in: Use utils mingw front-end to generate non-cygwin binary. Christopher Faylor 2009-11-01 17:22:44 +0000
  • 0de153c586 * new-features.sgml (ov-new1.7-misc): Add installation-specific unique object names description. Corinna Vinschen 2009-10-31 13:28:13 +0000
  • 34861325a5 * cygcheck.cc: Include cygprops.h. (del_orphaned_reg): New option variable. (unique_object_name_opt): Ditto. (handle_reg_installation): New function. (print_reg_installations): Ditto. (del_orphaned_reg_installations): Ditto. (memmem): Ditto. (handle_unique_object_name): Ditto. (dump_sysinfo): Call print_reg_installations from here. (usage): Add usage for new options --delete-orphaned-installation-keys, --enable-unique-object-names, --disable-unique-object-names, and --show-unique-object-names. (longopts): Add new options --delete-orphaned-installation-keys, --enable-unique-object-names, --disable-unique-object-names, and --show-unique-object-names. (main): Handle new options. * utils.sgml (cygcheck): Change documentaion accordingly. Corinna Vinschen 2009-10-31 13:26:37 +0000
  • b079a89e25 * transport_pipes.h (PIPE_NAME_PREFIX): New define. (PIPE_NAME_SUFFIX): Ditto. (class transport_layer_pipes): Convert _pipe_name from char pointer to wchar_t array. * transport_pipes.cc (transport_layer_pipes::transport_layer_pipes): Accommodate the fact that _pipe_name is a wchar_t array, rather than a char pointer. (transport_layer_pipes::transport_layer_pipes): Initialize _pipe_name with variable pipe name based in installation key fetched from Cygwin DLL. (transport_layer_pipes::accept): Call CreateNamedPipeW explicitely. (transport_layer_pipes::connect): Call CreateFileW and WaitNamedPipeW explicitely. Corinna Vinschen 2009-10-31 13:24:43 +0000
  • 526b0fbca3 * cygprops.h: New file. * dtable.cc (handle_to_fn): Add check for correct installation_key string in object name for pipes and ttys. * external.cc (cygwin_internal): Add CW_GET_INSTKEY to allow fetching the installation_key from cygserver. * fhandler_fifo.cc (fhandler_fifo::fifo_name): Add installation_key to fifo name. * globals.cc: Include cygprops.h. (_RDATA): Move slightly and add comment. (cygwin_props): Define. * mount.cc (mount_info::init): Accommodate the fact that installation_root is now a global variable in DLL common shared memory, rather than a member of cygwin_shared. * pipe.cc (fhandler_pipe::create_selectable): Add installation_key to pipe name. * shared.cc (installation_root): Define here for storage in DLL common shared memory. (installation_key): Ditto. (installation_key_buf): Ditto. (init_installation_root): Convert from shared_info method to ordinary function. Add initializing installation_key. Invalidate installation_key depending of value of disable_key property. Add comment to explain. (get_shared_parent_dir): Add installation_key to directory name. (get_session_parent_dir): Ditto. (shared_info::initialize): Move call to init_installation_root from here... (memory_init): ...to here. Add debug output to print installation root and installation key. Add comment to explain why. * shared_info.h (SHARED_INFO_CB): Recalculate. (CURR_SHARED_MAGIC): Ditto. (class shared_info): Remove definition of installation_root and declaration of init_installation_root. (init_installation_root): Declare. (installation_root): Declare. (installation_key): Declare. * uinfo.cc (pwdgrp::load): Accommodate the fact that installation_root is now a global variable in DLL common shared memory. * include/cygwin/version.h: Bump API minor number. (CYGWIN_INFO_INSTALLATIONS_NAME): Add. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_INSTKEY. Corinna Vinschen 2009-10-31 13:24:06 +0000
  • 7c16c02dbb * sec_helper.cc (security_descriptor::realloc): Call free first if current security desriptor has been allocated by GetSecurityInfo. Corinna Vinschen 2009-10-31 09:31:47 +0000
  • b42441d32b * sec_helper.cc (security_descriptor::free): If sd_size is 0, call LocalFree instead of ::free. Corinna Vinschen 2009-10-30 19:58:53 +0000
  • 53be6f3df6 * fhandler_random.cc (fhandler_dev_random::lseek): Revert change from 2009-10-23. Corinna Vinschen 2009-10-30 10:53:54 +0000
  • 460af5f9c0 * smallprint.cc (hex_str): New const string. (__rn): Drop str and use hex_str instead. (__small_vsprintf): If 'l' modifier has been found, print subsequent multibyte or wide char string using the s, S, or W options in extended hex value layout. Corinna Vinschen 2009-10-30 09:02:30 +0000
  • dc3d6d9093 * libc/stdio/fflush.c (_fflush_r): Store old errno to check for low-level seek error condition. Restore old errno in case of success. Don't use new position after seek as error condition, rather check for return value of -1 and errno. Handle EINVAL just like ESPIPE. Only set fp->_offset if errno is 0. Corinna Vinschen 2009-10-30 08:26:41 +0000
  • c16cd85665 Honor DESTDIR for winsup/mingw and winsup/w32api Charles Wilson 2009-10-29 21:53:47 +0000
  • d952e44c44 * cygcheck.cc (pretty_id): Drop arguments. Don't change CYGWIN environment variable. (dump_sysinfo): Don't tweak CYGWIN environment variable, just call pretty_id once. Corinna Vinschen 2009-10-28 11:41:27 +0000
  • 757ee9af8b * pathnames.sgml: Add limitation of case sensitivity with CreateProcess. Corinna Vinschen 2009-10-28 10:11:22 +0000
  • 641ba32982 * new-features.sgml (ov-new1.7-posix): Mention UTF-8 as "C" default and the default locale "C.UTF-8". * setup2.sgml (setup-locale-ov): Ditto. Corinna Vinschen 2009-10-28 10:09:54 +0000
  • a861373585 * MAINTAINERS (ARM): Add myself as an ARM maintainer. Nick Clifton 2009-10-27 10:31:06 +0000
  • 73ddc92062 Correct pseudo-reloc size bug wrt error messages Charles Wilson 2009-10-26 14:50:09 +0000
  • 654d34dda5 Sync pseudo-reloc.c with mingw64 Charles Wilson 2009-10-26 13:47:13 +0000
  • bfead37df4 * faq-setup.xml: Fix clean_setup.pl reference. Christopher Faylor 2009-10-26 11:57:33 +0000
  • b8263d5874 * faq-setup.xml: Change clean_setup.pl reference. Christopher Faylor 2009-10-26 11:25:16 +0000
  • fd6942ab42 newlib: * configure.host: Add support for RX architecture. * libc/include/machine/ieeefp.h: Likewise. * libc/include/machine/setjmp.h: Likewise. * libc/include/machine/configure.in: Likewise. * libc/include/machine/configure: Regenerate. * libc/machine/rx: New directory. * libc/machine/rx/*: New files to support RX architecture. Nick Clifton 2009-10-26 10:05:23 +0000
  • f7e0cae24b * arm/linux-syscalls0.S (SYSCALL0, SYSCALL3, SYSCALL6, SYSCALL4): Delete Thumb definitions - the ARM versions work correctly in Thumb mode. Nick Clifton 2009-10-26 10:00:41 +0000
  • 15c59df67f Sync pseudo-reloc.c with mingw64 Charles Wilson 2009-10-25 23:37:48 +0000
  • 9b2b7c4a6b Fix isalpha(0x100000001LL) and friends on 64-bit machines. Eric Blake 2009-10-24 13:24:29 +0000
  • e83fef9d35 * fhandler.cc (fhandler_base::open): Remove unused variables sa and sd. Corinna Vinschen 2009-10-24 08:40:15 +0000
  • 1647bf67c1 * fhandler.cc (fhandler_base::open): Always create file with default security descriptor and fix descriptor afterwards. Change comment to explain why. * security.cc (alloc_sd): Drop setting the SE_DACL_PROTECTED flag. * wincap.cc: Remove has_dacl_protect throughout. * wincap.h: Ditto. Corinna Vinschen 2009-10-24 08:26:01 +0000
  • 4c038a6101 cpu/ * m32c.opc (opc.h): cgen-types.h -> cgen/basic-modes.h. cgen-ops.h -> cgen/basic-ops.h. Doug Evans 2009-10-24 00:17:08 +0000
  • 060a658fe1 Sync pseudo-reloc.c with cygwin/lib/ Charles Wilson 2009-10-23 22:19:42 +0000
  • 5d74ab42d5 2009-10-23 Kai Tietz <kai.tietz@onevision.com> Kai Tietz 2009-10-23 15:06:33 +0000
  • 959684bf05 * fhandler_random.cc (fhandler_dev_random::lseek): Allow negative dummy file positions as on Linux. Corinna Vinschen 2009-10-23 09:22:14 +0000
  • 3a2f070f31 2009-10-20 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2009-10-20 22:44:28 +0000
  • 1e1b6f8003 2009-10-16 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2009-10-20 16:44:11 +0000
  • aa0937c308 * cygcheck.cc (dump_sysinfo): Update with latest NT 6.1 versions. Corinna Vinschen 2009-10-20 15:26:33 +0000
  • a4f31f1b1b * registry.cc (reg_key::get_int): Add alternative implementation taking WCHAR strings. (reg_key::set_int): Ditto. (reg_key::get_string): Ditto. (reg_key::set_string): Ditto. * registry.h (struct reg_key): Add prototypes for added methods. Corinna Vinschen 2009-10-20 14:54:47 +0000
  • c94a1006c6 * smallprint.cc (__small_vsprintf): Simplify UNICODE string handling and allow empty strings. Corinna Vinschen 2009-10-20 14:52:43 +0000
  • cbea3f7d93 * fhandler_disk_file.cc (fhander_disk_file::readdir): Handle a status code STATUS_NOT_SUPPORTED. Add matching comment. Corinna Vinschen 2009-10-20 10:12:05 +0000
  • 8d648dc555 * syscalls.cc (internal_setlocale): Only convert $PATH if there is a $PATH. Corinna Vinschen 2009-10-19 19:47:15 +0000
  • 9d52f5c21c merge from gcc DJ Delorie 2009-10-19 18:14:24 +0000
  • b3f5fb3718 * spawn.cc (av::fixup): Treat non-readable, but executable files as Cygwin executables. Corinna Vinschen 2009-10-19 08:33:00 +0000
  • a6f3658d44 * uinfo.cc (uinfo_init): Deimpersonate, don't reimpersonate, if not in a setuid condition. Corinna Vinschen 2009-10-18 09:07:13 +0000
  • 445d5e8159 * z80.h: Store alignment requirement in section header, to allow ld to preserve alignment. Some code was copied from ti.h. Arnold Metselaar 2009-10-17 18:23:12 +0000
  • 1612945c43 merge from gcc DJ Delorie 2009-10-15 17:03:34 +0000
  • 175e39bb7f * cygpath.cc (get_special_folder): Fetch path as WCHAR and convert using my_wcstombs. (get_user_folder): Remove. (do_sysfolders): Use get_special_folder instead of get_user_folder. Fetch system paths as WCHAR and convert using my_wcstombs. Corinna Vinschen 2009-10-15 11:40:02 +0000
  • e710872955 * faq-setup.xml (faq.setup.disk-space): Fix URL pointing to clean_setup.pl script. Corinna Vinschen 2009-10-15 08:46:58 +0000
  • 1b13009b2a * libc/include/wchar.h (struct tm0: Declare as incomplete type. Corinna Vinschen 2009-10-15 08:23:27 +0000
  • 597441d79b * libc/locale/nl_langinfo.c (nl_langinfo): Add Cygwin-specific temporary exception for KOI8 charsets. Corinna Vinschen 2009-10-15 08:08:50 +0000
  • 776b157219 include/ * bfdlink.h (enum bfd_link_common_skip_ar_symbols): Rename from bfd_link_common_skip_ar_aymbols. (struct bfd_link_info): Here too. bfd/ * aoutx.h (aout_link_check_ar_symbols): Typo fix. ld/ * emultempl/netbsd.em (gldnetbsd_before_parse): Typo fix. Alan Modra 2009-10-14 05:54:28 +0000
  • 4cd31fc8f9 Consistently use va_end. Eric Blake 2009-10-14 04:17:05 +0000
  • e4ba1cf29e * libc/include/sys/unistd.h: Add _PC*, _CS*, and _SC* constants new to POSIX 2008. Eric Blake 2009-10-14 04:15:25 +0000
  • 81c59927a9 2009-10-13 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Jeff Johnston 2009-10-13 17:31:49 +0000
  • bc3aedd061 * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. Corinna Vinschen 2009-10-13 12:08:22 +0000
  • 0191627a26 * include/sys/cygwin.h: Add new cygwin_getinfo_type CW_SET_EXTERNAL_TOKEN. Add new enum CW_TOKEN_IMPERSONATION, CW_TOKEN_RESTRICTED. * cygheap.h (cyguser): New flags ext_token_is_restricted, curr_token_is_restricted and setuid_to_restricted. * external.cc (cygwin_internal): Add CW_SET_EXTERNAL_TOKEN. * sec_auth.cc (set_imp_token): New function. (cygwin_set_impersonation_token): Call set_imp_token (). * security.h (set_imp_token): New prototype. * spawn.cc (spawn_guts): Use CreateProcessAsUserW if restricted token was enabled by setuid(). Do not create new window station in this case. * syscalls.cc (seteuid32): Add handling of restricted external tokens. Set HANDLE_FLAG_INHERIT for primary token. (setuid32): Set setuid_to_restricted flag. * uinfo.cc (uinfo_init): Do not reimpersonate if restricted token was enabled by setuid (). Initialize user.*_restricted flags. Corinna Vinschen 2009-10-13 10:23:31 +0000
  • 6c41e710c9 Fix toplevel 'config.status --recheck' for --enable-lto. Ralf Wildenhues 2009-10-13 03:32:18 +0000