summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * arm/elf-nano.specs: New file.Corinna Vinschen2014-08-144-12/+31
| | | | | | * arm/elf-rdimon.specs: Support nano.specs. * arm/Makefile.in: Support nano.specs. * libnosys/nosys.specs: Support nano.specs.
* * libc/stdio/findfp.c (std): Don't inline when optimizing for code size.Corinna Vinschen2014-08-142-0/+8
|
* * new-features.xml: (ov-new1.7.33): Add new section.Corinna Vinschen2014-08-132-1/+28
| | | | (ov-new1.7.32): Reflect intermediate 1.7.32 release.
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 33.Corinna Vinschen2014-08-134-9/+38
| | | | (CYGWIN_VERSION_API_MINOR): Bump to reflect intermediate 1.7.32 release.
* * cpuid.h: Add missing copyright header. Fix formatting. Use uint32_tCorinna Vinschen2014-08-115-93/+204
| | | | | | | | | | | | | instead of unsigned throughout. Change functions to static inline and always inline. (cpuid): Add parameter to set ecx, allowing to request extended CPUID info. * fhandler_proc.cc (format_proc_cpuinfo): Use uint32_t instead of unsigned throughout. Add fake decimal places to MHz info. Handle more feature flags. * fhandler_random.cc (fhandler_dev_random::write): Allow up to 4K input to add entropy. * syscalls.cc: Drop including cpuid.h.
* * common.din (__cxa_finalize): Export.Yaakov Selkowitz2014-08-075-5/+14
| | | | | | | * dcrt0.cc (cygwin_atexit): Use d->handle with __cxa_atexit. * dll_init.cc (dll_list::detach): Use d->handle with __cxa_finalize. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Use 274 for __cxa_finalize as well.
* * Makefile.common (COMPILE.cc): Add -fno-use-cxa-atexit.Yaakov Selkowitz2014-08-072-1/+5
|
* * passwd.c (usage): Rename DAYS to MINDAYS and MAXDAYS.Corinna Vinschen2014-08-063-21/+21
| | | | * utils.xml (passwd): Ditto.
* * ntsec.xml (ntsec-mapping): Drop plus-prepended builtin accounts asCorinna Vinschen2014-08-062-12/+24
| | | | | default setting. Add short explanation in db_prefix: always mode. Fix a type. Drop a paragraph with redundant information.
* * include/sys/file.h: Add extern "C".Corinna Vinschen2014-08-062-0/+13
|
* * libc/include/math.h: Also define M_PI etc. if _XOPEN_SOURCE isJon TURNEY2014-08-042-3/+17
| | | | defined appropriately.
* * common.din (__cxa_atexit): Export.Corinna Vinschen2014-08-043-1/+8
| | | | * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump to 274.
* * uinfo.cc (pwdgrp::fetch_account_from_windows): Drop "plus_prepended"Corinna Vinschen2014-08-042-65/+75
| | | | | | | as naming style. Drop enum name_style_t, use a boolean "fully_qualified_name" value instead. Rework function to drop "plus_prepended" handling througout and default to "name only" style as replacement.
* * faq-what.xml (faq.what.who): Remove mention of retired setupYaakov Selkowitz2014-08-032-1/+7
| | | | maintainers. Add link to cygwin-pkg-maint.
* headers: properly decorate attributesEric Blake2014-08-016-27/+36
| | | | | | | | | | | | | | | | | | As pointed out here: https://cygwin.com/ml/cygwin/2014-07/msg00371.html any use of __attribute__ in a header that can be included by a user should be namespace-safe, by decorating the attribute arguments with __ (while gcc does a lousy job at documenting it, ALL attributes have a __ counterpart, precisely so that public headers can use attributes without risk of collision with macros belonging to user namespace). * include/pthread.h: Decorate attribute names with __, for namespace safety. * include/cygwin/core_dump.h: Likewise. * include/cygwin/cygwin_dll.h: Likewise. * include/sys/cygwin.h: Likewise. * include/sys/strace.h: Likewise.
* headers: properly decorate attributesEric Blake2014-08-0118-64/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found by: find -name '*.h' |xargs grep -i 'attribute.*(([a-z]' For an example of the type of bugs this causes, try compiling this valid C11 program (it's valid because 'noreturn' is reserved for use in the user namespace unless you include <stdnoreturn.h>): $ cat foo.c #define noreturn __attribute__((noreturn)) #include <stdlib.h> $ gcc -c -o foo.o -Wall foo.c In file included from /usr/include/stdlib.h:11:0, from foo.c:2: foo.c:1:18: error: expected ')' before '__attribute__' #define noreturn __attribute__((noreturn)) ^ /usr/include/stdlib.h:66:28: error: expected ',' or ';' before ')' token _VOID _EXFUN(abort,(_VOID) _ATTRIBUTE ((noreturn))); ^ * libc/machine/spu/spu_timer_internal.h: Decorate attribute names with __, for namespace safety. * libc/machine/xscale/machine/profile.h: Likewise. * libc/include/stdlib.h: Likewise. * libc/include/_ansi.h: Likewise. * libc/include/sys/unistd.h: Likewise. * libc/sys/linux/linuxthreads/libc-symbols.h: Likewise. * libc/sys/linux/linuxthreads/internals.h: Likewise. * libc/sys/linux/machine/i386/weakalias.h: Likewise. * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise. * libc/sys/linux/machine/i386/dl-machine.h: Likewise. * libc/sys/linux/libc-symbols.h: Likewise. * libc/sys/linux/iconv/gconv_charset.h: Likewise. * libc/sys/linux/include/resolv.h: Likewise. * libc/sys/linux/sys/unistd.h: Likewise. * libc/sys/linux/dl/atomicity.h: Likewise. * libc/sys/linux/dl/dynamic-link.h: Likewise. * libc/sys/linux/dl/ldsodefs.h: Likewise.
* * faq-what.xml (faq.what.who): CGF has retired.Yaakov Selkowitz2014-08-012-8/+5
|
* * uinfo.cc (pwdgrp::fetch_account_from_windows): Fix comment.Corinna Vinschen2014-07-302-8/+11
|
* * ntsec.xml: Small improvments.Corinna Vinschen2014-07-302-10/+18
|
* * new-features.xml: (ov-new1.7): Change section title.Corinna Vinschen2014-07-302-1/+5
|
* * new-features.xml: (ov-new1.7.1): Add new section. Move old 1.7Corinna Vinschen2014-07-302-41/+50
| | | | sections into section level 3.
* * cygwin.xsl: Allow 3 section levels in TOC.Corinna Vinschen2014-07-307-221/+1381
| | | | | | | | | | | | * new-features.xml: (ov-new1.7.32): Add new section. * ntsec.xml: Rename top-level section to reflect extension of topics. Remove old /etc/passwd, /etc/group considerations. Add new sections explaining Windows to POSIX account mapping. Make setuid sections third level sections. * pathnames.xml: Note new method of account mapping for fstab.d/$USER. * faq-setup.xml: Rework references to /etc/passwd and /etc/group to reflect changes to account handling. * faq-using.xml: Ditto.
* * libc/string/strerror.c: Fix documentation so makedoc doesn'tCorinna Vinschen2014-07-302-1/+6
| | | | stumble over a sole EAGAIN.
* Add missing utils.xmlCorinna Vinschen2014-07-291-0/+1
|
* * mkgroup.c (usage): Move info message that this /etc/group isn't reallyCorinna Vinschen2014-07-294-16/+24
| | | | | required anymore more to the top of the usage output. * mkpasswd.c (usage): Ditto for /etc/passwd. Drop old text from output.
* * cygheap.h (class cygheap_domain_info): Remove lowest_tdo_posix_offset.Corinna Vinschen2014-07-295-20/+49
| | | | | | | | | | | | | | | | * ldap.cc (cyg_ldap::fetch_posix_offset_for_domain): Return UINT32_MAX in case of error. * security.h (PRIMARY_POSIX_OFFSET): Define. (NOACCESS_POSIX_OFFSET): Define. (UNUSABLE_POSIX_OFFSET): Define. * uinfo.cc (cygheap_domain_info::init): Drop initializing lowest_tdo_posix_offset. (pwdgrp::fetch_account_from_file): Set PosixOffset to either UNUSABLE_POSIX_OFFSET or NOACCESS_POSIX_OFFSET in case we don't get a sensible offset from AD. Explain why. Drop setting ch lowest_tdo_posix_offset. (pwdgrp::fetch_account_from_windows): Replace constant 0x100000 with PRIMARY_POSIX_OFFSET throughout.
* Fix typo in previous commitAnthony Green2014-07-281-1/+1
|
* Add moxiebox support.Anthony Green2014-07-276-7/+276
|
* * fhandler_socket.cc (fhandler_socket::send_internal): Fix value ofCorinna Vinschen2014-07-242-2/+12
| | | | | out_len when tweaking the last buffer so out_len is correct in a subsequent if expression.
* 2014-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2014-07-222-0/+8
| | | | | * libc/include/sys/time.h: Add prototype for adjtime() and wrap it and settimeofday() prototype with __BSD_VISIBLE.
* * thread.cc (pthread::init_mainthread): Initialize thread mutex toCorinna Vinschen2014-07-212-0/+9
| | | | type PTHREAD_MUTEX_RECURSIVE, just as for any other thread.
* bump to 32Corinna Vinschen2014-07-212-1/+5
|
* * uinfo.cc: Fix typo in comment.Corinna Vinschen2014-07-212-1/+5
|
* * new-features.xml: (ov-new1.7.31): Add new section.Corinna Vinschen2014-07-212-0/+31
|
* *** empty log message ***Corinna Vinschen2014-07-181-1/+1
|
* Fix missing generated filesCorinna Vinschen2014-07-171-0/+3
|
* * configure.host: Remove or16 and or32 targets and add or1k.Corinna Vinschen2014-07-1712-6/+6646
| | | | | | | | * libc/include/machine/ieeefp.h: Replace or32 with or1k. * libc/machine/configure.in: Add or1k subdirectory. * libc/machine/or1k/configure.in: New file. * libc/machine/or1k/Makefile.am: New file. * libc/machine/or1k/setjmp.S: New file.
* .Christopher Faylor2014-07-161-0/+4
|
* * arm/elf-aprofile-validation.specs (*link): Make text segmentCorinna Vinschen2014-07-163-2/+8
| | | | | 64k-aligned. * arm/elf-aprofile-ve.specs (*link): Likewise.
* *** empty log message ***Corinna Vinschen2014-07-161-0/+5
|
* * thread.cc (pthread::create): Handle stackaddr as upper bound address.Corinna Vinschen2014-07-163-16/+56
| | | | | | | | | | | | | | | | | Add comment. (pthread_attr_setstack): Store upper bound address in stackaddr. Explain why. (pthread_attr_getstack): Handle stackaddr as upper bound address. Add comment. (pthread_attr_setstackaddr): Add comment. (pthread_attr_getstackaddr): Add comment. (pthread_attr_getstacksize): Return default stacksize if stacksize has not been set by the application, just as on Linux. Add comment. (pthread_getattr_np): Store upper bound address in stackaddr. Explain why. * include/pthread.h: Remove outdated comment. (pthread_attr_getstackaddr): Mark as deprecated, as on Linux. (pthread_attr_setstackaddr): Ditto.
* *** empty log message ***Corinna Vinschen2014-07-162-8/+39
|
* Fix typoCorinna Vinschen2014-07-161-1/+1
|
* * sigproc.cc (sigproc_init): Set aside more buffer space for signal pipes.Christopher Faylor2014-07-152-2/+21
| | | | | (sig_send): Retry WriteFiles which fail when there is no error but packbytes have not been sent.
* * sigproc.cc (send_sig): Don't report an error if WriteFile succeeds.Christopher Faylor2014-07-152-1/+5
|
* Fix typoCorinna Vinschen2014-07-151-1/+1
|
* * sigproc.cc (send_sig): Fix bad format in diagnostic output.Christopher Faylor2014-07-143-3/+398
|
* * libc/include/sys/errno.h: Fix comments.Corinna Vinschen2014-07-143-36/+100
| | | | | | * libc/string/strerror.c: Fix documentation. (_strerror_r): Handle ENETRESET, EILSEQ, ENODATA, ECONNRESET, EADDRNOTAVAIL, EOVERFLOW. Fix strings for EMFILE and EDOM.
* * uinfo.cc (cygheap_domain_info::init): Correctly setCorinna Vinschen2014-07-142-17/+22
| | | | | | lowest_tdo_posix_offset to UNIX_POSIX_OFFSET. (fetch_posix_offset): Redesign to fake a POSIX offset in all cases where we can't fetch a non-0 POSIX offset from our primary domain.
* * thread.cc (pthread_mutex::pthread_mutex): Change default typeCorinna Vinschen2014-07-143-5/+17
| | | | | | | | | | | to PTHREAD_MUTEX_NORMAL. (pthread_mutex::unlock): Return EPERM if the mutex has no owner and the mutex type is PTHREAD_MUTEX_ERRORCHECK, as on Linux. (pthread_mutexattr::pthread_mutexattr): Ditto. (pthread_mutex_unlock): Do not fail if mutex is a normal mutex initializer. * include/pthread.h (PTHREAD_MUTEX_INITIALIZER): Redefine as PTHREAD_NORMAL_MUTEX_INITIALIZER_NP.