Commit Graph

  • d6aa3abb4f * common.din (stime): Export. * times.cc (stime): New function. * include/cygwin/time.h (stime): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. Yaakov Selkowitz 2014-10-22 19:03:02 +00:00
  • 06fb98f4b5 *** empty log message *** Corinna Vinschen 2014-10-22 09:04:23 +00:00
  • 27b7220d20 * new-features.xml (ov-new1.7.33): s/Linux/glibc. Corinna Vinschen 2014-10-22 09:03:50 +00:00
  • 37b1a944c7 * new-features.xml (ov-new1.7.33): Update to current state. Corinna Vinschen 2014-10-22 08:33:37 +00:00
  • 783341b629 *** empty log message *** Corinna Vinschen 2014-10-22 08:32:07 +00:00
  • a45be63b29 *** empty log message *** Corinna Vinschen 2014-10-22 08:12:45 +00:00
  • 51521b2a6e * sec_auth.cc (get_user_groups): Remove experimental exception handler added 2014-09-05. (get_user_local_groups): Ditto. Corinna Vinschen 2014-10-21 19:17:09 +00:00
  • a208583750 * cygcheck.cc (CYGLSA64_DLL): Remove unused macro. (dump_sysinfo): If COMSPEC isn't set in the MSVCRT environment, set it. Explain why. Corinna Vinschen 2014-10-21 10:59:40 +00:00
  • f2ee8ffeb1 Fix typo Corinna Vinschen 2014-10-20 16:38:19 +00:00
  • 03a6a1e408 * fhandler_serial.cc: Revert debug code accidentally checked in on 2014-08-18. Corinna Vinschen 2014-10-20 14:30:35 +00:00
  • 5cb6400ec2 *** empty log message *** Corinna Vinschen 2014-10-20 13:19:58 +00:00
  • 85bfa90696 * path.cc (symlink_info::check): Set error from status code if opening the parent directory failed, but keep special case for root dirs. Corinna Vinschen 2014-10-20 10:29:30 +00:00
  • 6f25fbe648 * libc/time/gmtime_r.c (gmtime_r): Remove dead code. Corinna Vinschen 2014-10-20 07:30:17 +00:00
  • 2a126568ad * libc/time/gmtime_r.c (gmtime_r): Remove dead code. Corinna Vinschen 2014-10-20 07:30:17 +00:00
  • cc5a7d7519 * cygheap.cc (cygheap_fixup_in_child): Call set_dll_dir. (init_cygheap::init_installation_root): Just memmove contents of installation_root instead of calling GetModuleFileNameW again. Copy installation_root to installation_dir before stripping of "bin" dir. Don't call SetDllDirectory here. Explain what we do. (setup_cygheap): New function taking over initial cygheap setup from memory_init. Additionally call set_dll_dir. * cygheap.h (struct init_cygheap): Add installation_dir member. (init_cygheap::set_dll_dir): Define. (setup_cygheap): Declare. * dcrt0.cc: Throughout drop parameter from memory_init call. (dll_crt0_0): Call setup_cygheap prior to memory_init. * dlfcn.cc (dlopen): Change comment to point to the right function. * shared.cc (memory_init): Drop parameter. Drop cygheap setup. * shared_info.h (memory_init): Change declaration accordingly. Corinna Vinschen 2014-10-17 14:36:59 +00:00
  • 1f0bd6f96f fix typo Corinna Vinschen 2014-10-17 13:47:48 +00:00
  • 1182991e60 * cygtls.h (__try): Define __l_endtry as block-local label in 32 bit case as well. Corinna Vinschen 2014-10-17 08:34:51 +00:00
  • ced85f053e *** empty log message *** Corinna Vinschen 2014-10-17 08:33:37 +00:00
  • 1db937e986 * Makefile.in (DLL_OFILES): Add quotactl.o. * common.din (quotactl): Export. * ntdll.h: Define FILE_FS_CONTROL_INFORMATION::FileSystemControlFlags flag values. (struct _FILE_FS_CONTROL_INFORMATION): Define. (struct _FILE_GET_QUOTA_INFORMATION): Define. (typedef struct _FILE_QUOTA_INFORMATION): Define. (NtQueryObject): Use PVOID rather than VOID*. (NtQueryVolumeInformationFile): Ditto. (NtQueryQuotaInformationFile): Declare. (NtSetQuotaInformationFile): Declare. (NtSetVolumeInformationFile): Declare. * quotactl.cc: New file implementing quotactl(). * include/sys/mount.h (BLOCK_SIZE): Define. (BLOCK_SIZE_BITS): Define. * include/sys/quota.h: New header. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. Corinna Vinschen 2014-10-17 08:19:27 +00:00
  • 5fedfc22b8 * Makefile.in (DLL_OFILES): Rearrange with one file per line. Corinna Vinschen 2014-10-16 15:40:09 +00:00
  • a3dfd53a74 * fhandler_proc.cc (format_proc_partitions): Extend output to print the windows mount points the device is mounted on. Corinna Vinschen 2014-10-16 15:35:10 +00:00
  • 56357fd9c5 * libc/unix/getcwd.c (getcwd): Close directory also in case of an error. Corinna Vinschen 2014-10-16 15:00:59 +00:00
  • ec2a57f476 * libc/unix/getcwd.c (getcwd): Close directory also in case of an error. Corinna Vinschen 2014-10-16 15:00:59 +00:00
  • b23449bce1 merge from gcc DJ Delorie 2014-10-15 21:12:58 +00:00
  • 50e4b6d557 * fhandler_socket.cc (fhandler_socket::connect): Don't change state on WSAEALREADY error. Change comment accordingly. Corinna Vinschen 2014-10-14 19:43:09 +00:00
  • 1dd75c50d5 * cygheap.cc (init_cygheap::init_installation_root): Install Cygwin's installation dir as DLL search path, instead of ".". * cygheap.h (class cwdstuff): Add parameter names in function declarations for readability. (cwdstuff::get): Ad inline implementation fetching the CWD as wide char string. * dlfcn.cc (dlopen): Add searching for dependent DLLs in DLL installation dir or CWD, if all else failed. Add comment to explain scenarios this is accommodating. Corinna Vinschen 2014-10-14 19:14:33 +00:00
  • 2599a694a6 * fhandler_socket.cc (fhandler_socket::connect): Init connect_state to connect_pending only on unconnected socket. Set connect_state to connected on WSAEISCONN error. Set connect_state to connect_failed on any other error except WSAEWOULDBLOCK if connect is still pending. Add lots of comment to explain why all of the above. Corinna Vinschen 2014-10-14 19:08:27 +00:00
  • 34e2edb76a merge from gcc DJ Delorie 2014-10-14 18:02:03 +00:00
  • 6a56366a9e * net.cc (cygwin_setsockopt): Drop redundant test for AF_LOCAL and SOCK_STREAM in SO_PEERCRED case, as in the original patch. Corinna Vinschen 2014-10-13 08:18:18 +00:00
  • 7563a26d9b * dlfcn.cc (gfpod_helper): Only check for POSIX dir separator, same as in get_full_path_of_dll. Corinna Vinschen 2014-10-12 19:14:07 +00:00
  • 57cd3486e6 * dlfcn.cc (set_dl_error): Drop useless __stdcall. (check_path_access): Ditto. Drop FE_CWD from call to find_exec. (gfpod_helper): Call path_conv::check for all paths containing a dir separator to more closely follow the Linux search algorithm. (get_full_path_of_dll): Drop useless __stdcall. (dlopen): Simplify RTLD_NOLOAD case by calling GetModuleHandleEx instead of GetModuleHandle/LoadLibrary. Corinna Vinschen 2014-10-12 19:03:52 +00:00
  • 697b9afe00 Add setsockopt(sd, SOL_SOCKET, SO_PEERCRED, NULL, 0) to disable initial handshake on AF_LOCAL sockets. * fhandler.h (class fhandler_socket): Add no_getpeereid status flag. (fhandler_socket::af_local_set_no_getpeereid): New prototype. * fhandler_socket.cc (fhandler_socket::af_local_connect): Skip handshake if no_getpeereid is set. Add debug output. (fhandler_socket::af_local_accept): Likewise. (fhandler_socket::af_local_set_no_getpeereid): New function. (fhandler_socket::af_local_copy): Copy no_getpeereid. (fhandler_socket::getpeereid): Fail if no_getpeereid is set. * net.cc (cygwin_setsockopt): Add SO_PEERCRED for AF_LOCAL/SOCK_STREAM sockets. Add comment to explain why we need it. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. Corinna Vinschen 2014-10-11 18:28:04 +00:00
  • a85ab1d482 * fhandler_socket.cc (fhandler_socket::af_local_connect): Drop outdated comment. (fhandler_socket::evaluate_events): Only set connect_state and call af_local_connect if connect_state is connect_pending. Explain why. Drop redundant test for socket family and type. (fhandler_socket::connect): Extend comment. Corinna Vinschen 2014-10-11 16:37:29 +00:00
  • 2483fa2719 * fhandler_socket.cc (fhandler_socket::evaluate_events): Handle connect_state and af_local_connect connect call here, once, independent of FD_CONNECT being requested. Add comment to explain why. (fhandler_socket::connect): Drop connect_state handling and calling af_local_connect. Move remaining AF_LOCAL stuff prior to calling ::connect and explain why. Simplify error case. * poll.cc (poll): Handle connect state independently of POLLOUT being requested for the descriptor to allow setting POLLIN if connect failed. Add comment. * select.cc (set_bits): Drop connect_state and AF_LOCAL handling here. Corinna Vinschen 2014-10-11 12:14:29 +00:00
  • 9f64fd8081 * fhandler_socket.cc (fhandler_socket::evaluate_events): Slightly rearrange code. Rephrase a comment. Corinna Vinschen 2014-10-11 10:50:36 +00:00
  • 3ab591cf71 * dlfcn.cc (dlopen): Disable old 32 bit code on 64 bit. * dcrt0.cc (check_sanity_and_sync): Ditto. * dll_init.cc (dll_dllcrt0_1): Fix typo in comment. Corinna Vinschen 2014-10-10 15:29:18 +00:00
  • caa9b5dcc9 * libc/include/_ansi.h: _LONG_LONG_TYPE definition removed. * libc/include/math.h: _LONG_LONG_TYPE replaced by "long long". Guards for C99 and C++11 functions fixed. * libc/include/stdlib.h: Guards for C99 and C++11 functions fixed. Corinna Vinschen 2014-10-10 14:43:19 +00:00
  • 7a84e9c4bc * libc/include/_ansi.h: _LONG_LONG_TYPE definition removed. * libc/include/math.h: _LONG_LONG_TYPE replaced by "long long". Guards for C99 and C++11 functions fixed. * libc/include/stdlib.h: Guards for C99 and C++11 functions fixed. Corinna Vinschen 2014-10-10 14:43:19 +00:00
  • f49469bb1e * fhandler_procsys.cc (fhandler_procsys::readdir): Just test ObjectTypeName for object types rather than calling lstat to avoid performance hit. * globals.cc (ro_u_natdir): Define. (ro_u_natsyml): Define. (ro_u_natdev): Define. Corinna Vinschen 2014-10-09 17:45:27 +00:00
  • 50f799240e 2014-10-09 Sebastian Huber <sebastian.huber@embedded-brains.de> Jeff Johnston 2014-10-09 15:57:50 +00:00
  • 98f8621125 2014-10-09 Sebastian Huber <sebastian.huber@embedded-brains.de> Jeff Johnston 2014-10-09 15:57:49 +00:00
  • 0613efefc7 * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Set d_type for virtual directories. Corinna Vinschen 2014-10-09 13:32:59 +00:00
  • 54338f169f * fhandler_proc.cc (fhandler_proc::readdir): Set dirent d_type. * fhandler_process.cc (fhandler_process::readdir): Ditto. * fhandler_procnet.cc (fhandler_procnet::readdir): Ditto. * fhandler_procsys.cc (fhandler_procsys::readdir): Ditto. * fhandler_procsysvipc.cc (fhandler_procsysvipc::readdir): Ditto. * fhandler_virtual.h (virt_ftype_to_dtype): Define new inline function to generate dirent d_type from virtual_ftype_t. Corinna Vinschen 2014-10-09 13:24:37 +00:00
  • 633cf9b5dd * libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned comparison * libc/string/memchr.c (memchr): Ditto. * libc/string/memrchr.c (memrchr): Ditto. * libc/string/memset.c: (memset): Ditto. * libc/string/rawmemchr.c (rawmemchr): Ditto. * libc/string/local.h (__locale_cjk_lang): Fix "function declaration isn't a prototype" warning. * libc/string/strcasestr.c (strcasestr): Ditto. * libc/string/u_strerr.c (_user_strerror): Fix "unused parameter" warnings. * libc/string/rawmemchr.c (rawmemchr): Fix comment type "// ..." -> "/* ... */". Corinna Vinschen 2014-10-09 12:24:56 +00:00
  • f25bc1bb26 * libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned comparison * libc/string/memchr.c (memchr): Ditto. * libc/string/memrchr.c (memrchr): Ditto. * libc/string/memset.c: (memset): Ditto. * libc/string/rawmemchr.c (rawmemchr): Ditto. * libc/string/local.h (__locale_cjk_lang): Fix "function declaration isn't a prototype" warning. * libc/string/strcasestr.c (strcasestr): Ditto. * libc/string/u_strerr.c (_user_strerror): Fix "unused parameter" warnings. * libc/string/rawmemchr.c (rawmemchr): Fix comment type "// ..." -> "/* ... */". Corinna Vinschen 2014-10-09 12:24:55 +00:00
  • 657ca84427 Add accidentally missing ChangeLog for latest change. Corinna Vinschen 2014-10-09 08:31:34 +00:00
  • ca86eee8de 2014-10-08 Steve Ellcey <sellcey@mips.com> Steve Ellcey 2014-10-08 22:29:52 +00:00
  • 92d9f1023b 2014-10-08 Steve Ellcey <sellcey@mips.com> Steve Ellcey 2014-10-08 22:29:50 +00:00
  • da77c6d1e5 * libc/include/string.h (ffsl): Declare as GNU function. (ffsll): Ditto. Corinna Vinschen 2014-10-08 21:04:59 +00:00
  • b4c2ca8270 * libc/include/string.h (ffsl): Declare as GNU function. (ffsll): Ditto. Corinna Vinschen 2014-10-08 21:04:59 +00:00
  • d326f841c3 * common.din (ffsl): Export. (ffsll): Export. * syscalls.cc (ffs): Implement using GCC intrinsic. (ffsl): Ditto. (ffsll): Ditto. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. Corinna Vinschen 2014-10-08 21:03:40 +00:00
  • 2fb56bbfaa * syscall.cc (ffs): Fix crash of ffs (0x80000000) on 64 bit. Corinna Vinschen 2014-10-08 16:34:31 +00:00
  • 2bf7d695ea * fhandler_process.cc (format_process_statm): Fix output of dirty pages. Add linefeed. Corinna Vinschen 2014-10-08 15:25:52 +00:00
  • ee97a4e332 Fix typo Corinna Vinschen 2014-10-08 14:41:44 +00:00
  • c927e7e9ed This commit was manufactured by cvs2svn to create tag 'sid- snapshot-20141001'. sid-snapshot-20141001 cvs2svn 2014-09-28 17:46:08 +00:00
  • 34fbc9859c merge from gcc DJ Delorie 2014-09-28 17:46:07 +00:00
  • c30356443e * configure.in: Remove config_libnosys=false * configure: Regenerated. * msp430/nosyscalls.S: Rename to ciosyscalls.S * msp430/Makefile.in: Change LIBNOSYS to LIB_CIO. Nick Clifton 2014-09-22 15:26:46 +00:00
  • ebbb290f6e * configure.in: Remove config_libnosys=false * configure: Regenerated. * msp430/nosyscalls.S: Rename to ciosyscalls.S * msp430/Makefile.in: Change LIBNOSYS to LIB_CIO. Nick Clifton 2014-09-22 15:26:44 +00:00
  • 99eb60455b 2014-09-17 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2014-09-17 22:20:16 +00:00
  • eddf9ec062 2014-09-17 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2014-09-17 22:20:16 +00:00
  • ad9ed96b6b 2014-09-17 Joel Sherrill <joel.sherrill@oarcorp.com> Thomas Uhle <thomas.uhle@eas.iis.fraunhofer.de> Jeff Johnston 2014-09-16 19:59:01 +00:00
  • 73cd1c0780 2014-09-17 Joel Sherrill <joel.sherrill@oarcorp.com> Thomas Uhle <thomas.uhle@eas.iis.fraunhofer.de> Jeff Johnston 2014-09-16 19:59:00 +00:00
  • 3158e7d674 2014-09-15 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2014-09-15 16:05:37 +00:00
  • 8e86e7599a 2014-09-15 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2014-09-15 16:05:36 +00:00
  • 78a52749b2 2014-09-12 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2014-09-12 21:41:46 +00:00
  • 352b312d6b 2014-09-12 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2014-09-12 21:41:46 +00:00
  • 43b3310bc9 2014-09-12 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2014-09-12 16:38:10 +00:00
  • b091ee9228 2014-09-12 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2014-09-12 16:38:10 +00:00
  • c9dded6775 2014-09-11 Freddie Chopin <freddie_chopin@op.pl> Jeff Johnston 2014-09-11 21:55:01 +00:00
  • ed5bb9006b 2014-09-11 Freddie Chopin <freddie_chopin@op.pl> Jeff Johnston 2014-09-11 21:55:00 +00:00
  • 1c5ab1f862 2014-09-08 Freddie Chopin <freddie_chopin@op.pl> Jeff Johnston 2014-09-08 18:57:52 +00:00
  • 9d78d58b7c 2014-09-08 Freddie Chopin <freddie_chopin@op.pl> Jeff Johnston 2014-09-08 18:57:51 +00:00
  • 6e16a3169f * pathnames.xml (cygdrive): Add /proc/cygdrive description. Corinna Vinschen 2014-09-05 19:40:39 +00:00
  • f207699a53 * fhandler_proc.cc (proc_tab): Add entry for cygdrive symlink. (format_proc_cygdrive): New function to implement /proc/cygdrive. Corinna Vinschen 2014-09-05 19:11:01 +00:00
  • c8a01afd97 2014-09-05 Hale Wang <hale.wang@arm.com> Jeff Johnston 2014-09-05 17:26:42 +00:00
  • eb1fce8179 2014-09-05 Hale Wang <hale.wang@arm.com> Jeff Johnston 2014-09-05 17:26:41 +00:00
  • bea3ef947a * exception.h (class exception): Remove unnecessary #ifdef. * uinfo.cc (client_request_pwdgrp::client_request_pwdgrp): Fix length counter to include trailing NUL. Corinna Vinschen 2014-09-05 11:47:33 +00:00
  • acc511d184 * uinfo.cc (pwdgrp::fetch_account_from_windows): Handle APPLICATION PACKAGE AUTHORITY SIDs. * winlean.h (DNLEN): Raise to 31. Explain why. Corinna Vinschen 2014-09-05 09:46:26 +00:00
  • 31be2f9cf0 * libc/stdio/findfp.c (_cleanup_r): Call _fflush_r when configuration option "--enable-lite-exit" is in effect. Refactor the code. Corinna Vinschen 2014-09-05 09:42:15 +00:00
  • e7565f1088 * libc/stdio/findfp.c (_cleanup_r): Call _fflush_r when configuration option "--enable-lite-exit" is in effect. Refactor the code. Corinna Vinschen 2014-09-05 09:42:15 +00:00
  • b80c3b2a41 * libc/stdio/fwalk.c (_fwalk_reent): Remove redundant test. Corinna Vinschen 2014-09-05 09:31:32 +00:00
  • 1ec7de7271 * libc/stdio/fwalk.c (_fwalk_reent): Remove redundant test. Corinna Vinschen 2014-09-05 09:31:32 +00:00
  • d94ff8484e Add missing libc/machine/arm/aeabi_memcpy.c file Corinna Vinschen 2014-09-05 08:42:45 +00:00
  • a015d9b507 Add missing libc/machine/arm/aeabi_memcpy.c file Corinna Vinschen 2014-09-05 08:42:45 +00:00
  • c9ac04ca7b * libc/time/mktm_r.c (_mktm_r): Optimize speed. Corinna Vinschen 2014-09-04 09:47:14 +00:00
  • 9adec6fd79 * libc/time/mktm_r.c (_mktm_r): Optimize speed. Corinna Vinschen 2014-09-04 09:47:14 +00:00
  • b0fdf2f3db Add missing libc/machine/arm/aeabi_memcpy-armv7a.S file Corinna Vinschen 2014-09-04 08:27:35 +00:00
  • 7d407cb678 Add missing libc/machine/arm/aeabi_memcpy-armv7a.S file Corinna Vinschen 2014-09-04 08:27:35 +00:00
  • f9bafa4640 * libc/time/clock.c (clock): Fix warnings about signed-unsigned comparisons. * libc/time/strftime.c (strftime): Likewise. * libc/time/strptime.c (match_string): Fix warning about discarding 'restrict' qualifier from pointer target type. Corinna Vinschen 2014-09-04 08:27:03 +00:00
  • 40904e4105 * libc/time/clock.c (clock): Fix warnings about signed-unsigned comparisons. * libc/time/strftime.c (strftime): Likewise. * libc/time/strptime.c (match_string): Fix warning about discarding 'restrict' qualifier from pointer target type. Corinna Vinschen 2014-09-04 08:27:02 +00:00
  • 4a9103c410 * libc/machine/arm/aeabi_memcpy.c: New file. * libc/machine/arm/aeabi_memcpy-armv7a.S: New file. * libc/machine/arm/Makefile.am: Add dependencies. * libc/machine/arm/Makefile.in: Regenerated. Corinna Vinschen 2014-09-04 08:23:23 +00:00
  • b818bd124e * libc/machine/arm/aeabi_memcpy.c: New file. * libc/machine/arm/aeabi_memcpy-armv7a.S: New file. * libc/machine/arm/Makefile.am: Add dependencies. * libc/machine/arm/Makefile.in: Regenerated. Corinna Vinschen 2014-09-04 08:23:23 +00:00
  • e5110581dc * sec_acl.cc (aclcheck32): Check for required default entries as well. Enable check for missing CLASS_OBJ entries, now that setfacl creates them. Corinna Vinschen 2014-09-03 12:46:19 +00:00
  • ef1e66cfbf * setfacl.c (addmissing): New function to add missing acl entries to a modified acl per the rules set by aclcheck. (setfacl): Call addmissing unless action is Delete. Corinna Vinschen 2014-09-03 12:44:05 +00:00
  • 3e61dde3f1 * utils.xml (setfacl): Align documentation to help text in setfacl. Corinna Vinschen 2014-09-03 09:34:10 +00:00
  • 451e1f4879 * setfacl.c (getaclentry): Fix previous fix again. Allow lone 'm' as well as any lone default entry if action is Delete. Fix comments. (usage): Align usage text. Corinna Vinschen 2014-09-03 09:32:53 +00:00
  • 89d195a7d1 * setfacl.c (getaclentry): Fix return value in case of a lone 'm' if action is Delete. Drop requirement for a trailing colon if action is Delete. Corinna Vinschen 2014-09-03 08:57:20 +00:00
  • 7a1cf1a003 * sec_acl.cc (aclsort32): Set errno to EINVAL if aclcheck32 failed. Corinna Vinschen 2014-09-02 20:07:21 +00:00
  • b4536f29c5 * ntsec.xml (ntsec-common): Drop outdated comment about underdeveloped Solaris ACL API support. Corinna Vinschen 2014-08-31 20:06:14 +00:00
  • f2b03c9258 * uinfo.cc (pwdgrp::fetch_account_from_windows): Disallow user accounts as groups. Add comment. Corinna Vinschen 2014-08-31 19:33:19 +00:00