]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
10 years ago * uinfo.cc (pwdgrp::fetch_account_from_windows): Handle APPLICATION
Corinna Vinschen [Fri, 5 Sep 2014 09:46:26 +0000 (09:46 +0000)]
* uinfo.cc (pwdgrp::fetch_account_from_windows): Handle APPLICATION
PACKAGE AUTHORITY SIDs.
* winlean.h (DNLEN): Raise to 31.  Explain why.

10 years ago * libc/stdio/findfp.c (_cleanup_r): Call _fflush_r when configuration
Corinna Vinschen [Fri, 5 Sep 2014 09:42:15 +0000 (09:42 +0000)]
* libc/stdio/findfp.c (_cleanup_r): Call _fflush_r when configuration
option "--enable-lite-exit" is in effect.  Refactor the code.

10 years ago * libc/stdio/fwalk.c (_fwalk_reent): Remove redundant test.
Corinna Vinschen [Fri, 5 Sep 2014 09:31:32 +0000 (09:31 +0000)]
* libc/stdio/fwalk.c (_fwalk_reent): Remove redundant test.

10 years agoAdd missing libc/machine/arm/aeabi_memcpy.c file
Corinna Vinschen [Fri, 5 Sep 2014 08:42:45 +0000 (08:42 +0000)]
Add missing libc/machine/arm/aeabi_memcpy.c file

10 years ago * libc/time/mktm_r.c (_mktm_r): Optimize speed.
Corinna Vinschen [Thu, 4 Sep 2014 09:47:14 +0000 (09:47 +0000)]
* libc/time/mktm_r.c (_mktm_r): Optimize speed.

10 years agoAdd missing libc/machine/arm/aeabi_memcpy-armv7a.S file
Corinna Vinschen [Thu, 4 Sep 2014 08:27:35 +0000 (08:27 +0000)]
Add missing libc/machine/arm/aeabi_memcpy-armv7a.S file

10 years ago * libc/time/clock.c (clock): Fix warnings about signed-unsigned
Corinna Vinschen [Thu, 4 Sep 2014 08:27:03 +0000 (08:27 +0000)]
* 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.

10 years ago * libc/machine/arm/aeabi_memcpy.c: New file.
Corinna Vinschen [Thu, 4 Sep 2014 08:23:23 +0000 (08:23 +0000)]
* 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.

10 years ago * sec_acl.cc (aclcheck32): Check for required default entries as well.
Corinna Vinschen [Wed, 3 Sep 2014 12:46:19 +0000 (12:46 +0000)]
* sec_acl.cc (aclcheck32): Check for required default entries as well.
Enable check for missing CLASS_OBJ entries, now that setfacl creates
them.

10 years ago * setfacl.c (addmissing): New function to add missing acl entries to
Corinna Vinschen [Wed, 3 Sep 2014 12:44:05 +0000 (12:44 +0000)]
* 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.

10 years ago * utils.xml (setfacl): Align documentation to help text in setfacl.
Corinna Vinschen [Wed, 3 Sep 2014 09:34:10 +0000 (09:34 +0000)]
* utils.xml (setfacl): Align documentation to help text in setfacl.

10 years ago * setfacl.c (getaclentry): Fix previous fix again. Allow lone 'm' as
Corinna Vinschen [Wed, 3 Sep 2014 09:32:53 +0000 (09:32 +0000)]
* 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.

10 years ago * setfacl.c (getaclentry): Fix return value in case of a lone 'm' if
Corinna Vinschen [Wed, 3 Sep 2014 08:57:20 +0000 (08:57 +0000)]
* 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.

10 years ago * sec_acl.cc (aclsort32): Set errno to EINVAL if aclcheck32 failed.
Corinna Vinschen [Tue, 2 Sep 2014 20:07:21 +0000 (20:07 +0000)]
* sec_acl.cc (aclsort32): Set errno to EINVAL if aclcheck32 failed.

10 years ago * ntsec.xml (ntsec-common): Drop outdated comment about underdeveloped
Corinna Vinschen [Sun, 31 Aug 2014 20:06:14 +0000 (20:06 +0000)]
* ntsec.xml (ntsec-common): Drop outdated comment about underdeveloped
Solaris ACL API support.

10 years ago * uinfo.cc (pwdgrp::fetch_account_from_windows): Disallow user accounts
Corinna Vinschen [Sun, 31 Aug 2014 19:33:19 +0000 (19:33 +0000)]
* uinfo.cc (pwdgrp::fetch_account_from_windows): Disallow user accounts
as groups.  Add comment.

10 years ago * utils.xml (setfacl): Drop outdated note that default ACEs are not
Corinna Vinschen [Sun, 31 Aug 2014 19:20:10 +0000 (19:20 +0000)]
* utils.xml (setfacl): Drop outdated note that default ACEs are not
taken into account.

10 years ago * setfacl.c (usage): Drop outdated note that default ACEs are not
Corinna Vinschen [Sun, 31 Aug 2014 19:20:04 +0000 (19:20 +0000)]
* setfacl.c (usage): Drop outdated note that default ACEs are not
taken into account.

10 years ago * ntsec.xml: Disable description of db_prefix and db_separator settings.
Corinna Vinschen [Sun, 31 Aug 2014 18:19:03 +0000 (18:19 +0000)]
* ntsec.xml: Disable description of db_prefix and db_separator settings.

10 years ago * uinfo.cc (cygheap_pwdgrp::init): Fix comment. Rearrange code for
Corinna Vinschen [Sun, 31 Aug 2014 18:18:49 +0000 (18:18 +0000)]
* uinfo.cc (cygheap_pwdgrp::init): Fix comment.  Rearrange code for
style.
(cygheap_pwdgrp::nss_init_line): Disable db_prefix and db_separator
settings.  Add comment.
(pwdgrp::fetch_account_from_windows): Drop outdated comment.  Fix code
fetching primary group gid of group setting in SAM description field.
Change comment accordingly.

10 years ago * uinfo.cc (pwdgrp::fetch_account_from_windows): Disallow creating an
Corinna Vinschen [Sun, 31 Aug 2014 14:16:04 +0000 (14:16 +0000)]
* uinfo.cc (pwdgrp::fetch_account_from_windows): Disallow creating an
entry for "NULL SID".

10 years ago * sec_acl.cc (setacl): Add comment. Handle NULL ACE for SUID, SGID,
Corinna Vinschen [Sun, 31 Aug 2014 14:13:01 +0000 (14:13 +0000)]
* sec_acl.cc (setacl): Add comment.  Handle NULL ACE for SUID, SGID,
and VTX bits.  Create owner, group, other and NULL entries in the same
way and in the same order as alloc_sd.
(getacl): Skip NULL ACE.

10 years ago * utils.xml (getfacl): Document additional suid/sgid/vtx flag printing.
Corinna Vinschen [Sun, 31 Aug 2014 13:47:32 +0000 (13:47 +0000)]
* utils.xml (getfacl): Document additional suid/sgid/vtx flag printing.

10 years ago * getfacl.c (usage): Add flags description.
Corinna Vinschen [Sun, 31 Aug 2014 13:46:34 +0000 (13:46 +0000)]
* getfacl.c (usage): Add flags description.
(main): Print suid/sgid/vtx flags if available.

10 years ago * fhandler.cc (fhandler_base::facl): Drop CLASS_OBJ entry.
Corinna Vinschen [Thu, 28 Aug 2014 12:38:52 +0000 (12:38 +0000)]
* fhandler.cc (fhandler_base::facl): Drop CLASS_OBJ entry.
* fhandler_disk_file.cc (fhandler_disk_file::facl): Ditto in noacl case.
* sec_acl.cc (getacl): Compute useful fake CLASS_OBJ and DEF_CLASS_OBJ
permission bits based on how these values are generated on Linux.
Add commants to explain what the code is doing.
* security.cc (get_attribute_from_acl): Compute group permission based
on the actual primary group permissions and all secondary user and group
ACCESS_ALLOWED_ACEs to emulate Linux' behaviour more closely.
(check_access): Fix typos im comment.
* include/cygwin/acl.h (MIN_ACL_ENTRIES): Redefine as 3.

10 years ago * fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Try the
Corinna Vinschen [Thu, 28 Aug 2014 12:29:42 +0000 (12:29 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Try the
FileFsSizeInformation information class on filesystems choking on
FileFsFullSizeInformation (I see you Netapp!)

10 years ago* libc/include/math.h (frexpl): Remove parameter name.
DJ Delorie [Wed, 27 Aug 2014 19:27:03 +0000 (19:27 +0000)]
* libc/include/math.h (frexpl): Remove parameter name.

10 years ago * fhandler.h (fhandler_pty_slave::fch_open_handles): Add bool parameter
Corinna Vinschen [Wed, 27 Aug 2014 11:42:17 +0000 (11:42 +0000)]
* fhandler.h (fhandler_pty_slave::fch_open_handles): Add bool parameter
to declaration.
* fhandler_tty.cc (fhandler_pty_slave::fch_open_handles): Add bool
parameter "chown".  Only request WRITE_OWNER access when opening pty
synchronization objects if "chown" is set.
(fhandler_pty_slave::fchmod): Call fch_open_handles with new bool
parameter set to false.
(fhandler_pty_slave::fchown): Call fch_open_handles with new bool
parameter set to true.
* kernel32.cc (CreateFileMappingW): Fix default standard rights for
file mappings from READ_CONTROL to STANDARD_RIGHTS_REQUIRED to allow
changing the DACL (fixes "access denied" error in pinfo::set_acl).

* fhandler_disk_file.cc (fhandler_base::fstat_helper): Change debug
output to print mode bits in octal.
* security.cc (alloc_sd): Ditto.
(set_file_attribute): Ditto.

10 years ago * kernel32.cc (CreateFileMappingW): Fix default standard rights for
Corinna Vinschen [Wed, 27 Aug 2014 10:44:50 +0000 (10:44 +0000)]
* kernel32.cc (CreateFileMappingW): Fix default standard rights for
file mappings from READ_CONTROL to STANDARD_RIGHTS_REQUIRED to allow
changing the DACL (fixes "access denied" error in pinfo::set_acl).

10 years ago * ntea.cc (read_ea): Change left-over return to __leave. Fix
Corinna Vinschen [Wed, 27 Aug 2014 09:39:44 +0000 (09:39 +0000)]
* ntea.cc (read_ea): Change left-over return to __leave.  Fix
condition to close handle.  Call NtClose rather than CloseHandle.
(write_ea): Fix condition to close handle.  Call NtClose rather than
CloseHandle.
* security.cc (get_file_sd): Call pc.init_reopen_attr if a valid
incoming handle was given, pc.get_object_attr otherwise.
(set_file_sd): Ditto.

10 years ago * path.h (path_conv::init_reopen_attr): Change from void to returning
Corinna Vinschen [Tue, 26 Aug 2014 20:47:46 +0000 (20:47 +0000)]
* path.h (path_conv::init_reopen_attr): Change from void to returning
POBJECT_ATTRIBUTES.  Take OBJECT_ATTRIBUTES reference as argument, not
pointer.
* fhandler_disk_file.cc: Throughout accommodate above change.
* syscalls.cc: Ditto.
* ntea.cc (read_ea): Don't set hdl to NULL if it's already NULL.  Set
attr with pc.init_reopen_attr before trying to reopen file.
(write_ea): Ditto.
* security.cc (get_file_sd): Use pc.init_reopen_attr rather than
pc.get_object_attr when trying to reopen file.
(set_file_sd): Ditto.

10 years ago * cygtls.cc (san::leave/x86_64): Implement.
Corinna Vinschen [Mon, 25 Aug 2014 19:47:44 +0000 (19:47 +0000)]
* cygtls.cc (san::leave/x86_64): Implement.
* cygtls.h (class tls_pathbuf): Move counter variables into a union.
Add 64 bit element _counters covering both counter variables to
optimize save and restore operations.
(class san/x86_64): Only store single 64 bit value.
(san::san/x86_64): Implement.
(san::leave/x86_64): Only declare here, as returns_twice function.
Explain why.
(class san/i686): Change type of _c_cnt and _w_cnt to uint32_t.
(__try/x86_64): Move definition of __sebastian after the first memory
barrier.  Drop __sebastian.setup call.

10 years ago * cygtls.cc (_cygtls::remove): Revert previous patch.
Corinna Vinschen [Mon, 25 Aug 2014 14:53:49 +0000 (14:53 +0000)]
* cygtls.cc (_cygtls::remove): Revert previous patch.
*  cygtls.h (struct _local_storage): Move pathbufs back here.
(class san/x86_64): Revert class.  Save and restore pathbufs counters
only.
(class san/i686): Revert saving and restoring pathbufs counters.
(__try/x86_64): Add a san variable and call it's setup method.
(__except/x86_64): Call san::leave to restore pathbufs counters.
* gendef (_sigbe): Revert previous change.
* thread.cc (verifyable_object_state): Remove gcc 4.7 workaround in
forward declaration as well.
* tls_pbuf.cc (tls_pbuf): Revert previous change.
* tls_pbuf.h (class tmp_pathbuf): Accommodate reverting pathbufs to
locals structure.
* tlsoffsets.h: Regenerate.
* tlsoffsets64.h: Regenerate.

10 years ago * Throughout, use __try/__except/__endtry blocks, rather than myfault
Corinna Vinschen [Fri, 22 Aug 2014 09:21:33 +0000 (09:21 +0000)]
* Throughout, use __try/__except/__endtry blocks, rather than myfault
handler.
* cygtls.cc (_cygtls::remove): Accommodate the fact that pathbufs
has been moved from _local_storage to _cygtls.
* cygtls.h (class tls_pathbuf): Add comment to hint to gendef usage
of counters.  Change type of counters to uint32_t for clarity.
Remove _cygtls as friend class.
(struct _local_storage): Move pathbufs from here...
(struct _cygtls): ...to here, allowing to access it from _sigbe.
(class san): Only define on 32 bit.  Remove errno, _c_cnt and _w_cnt
members.
(san::setup): Drop parameter.  Don't initialize removed members.
(san::leave): Don't set removed members.
(class myfault): Only define on 32 bit.
(myfault::faulted): Only keep implementation not taking any parameter.
Drop argument in call to sebastian.setup.
(__try/__leave/__except/__endtry): Implement to support real SEH.  For
now stick to SJLJ on 32 bit.
* dcrt0.cc (dll_crt0_0): Drop 64 bit call to
exception::install_myfault_handler.
* exception.h (exception_handler): Define with EXCEPTION_DISPOSITION
as return type.
(PDISPATCHER_CONTEXT): Define as void * on 32 bit.  Define as pointer
to _DISPATCHER_CONTEXT on 64 bit.
(class exception): Define separately for 32 and 64 bit.
(exception::myfault): Add handler for myfault SEH handling on 64 bit.
(exception::exception): Fix mangled method name to account for change
in type of last parameter.
(exception::install_myfault_handler): Remove.
* exceptions.cc (exception::myfault_handle): Remove.
(exception::myfault): New SEH handler for 64 bit.
* gendef (_sigbe): Set tls_pathbuf counters to 0 explicitely when
returning to the caller.
* ntdll.h: Move a comment to a better place.
(struct _SCOPE_TABLE): Define on 64 bit.
* thread.cc (verifyable_object_isvalid): Remove gcc 4.7 workaround.
* tls_pbuf.cc (tls_pbuf): Fix to accommodate new place of pathbufs.
(tls_pathbuf::destroy): Change type of loop variables to uint32_t.
* tls_pbuf.h (class tmp_pathbuf): Change type of buffer counters to
uint32_t.  Accommodate new place of pathbufs.
* tlsoffsets.h: Regenerate.
* tlsoffsets64.h: Regenerate.

10 years ago * miscfuncs.cc (__import_address): Cover the first dereference to imp
Corinna Vinschen [Thu, 21 Aug 2014 09:04:09 +0000 (09:04 +0000)]
* miscfuncs.cc (__import_address): Cover the first dereference to imp
under the fault handler.

10 years ago * net.cc (if_freenameindex): Don't catch a SEGV from free to fail
Corinna Vinschen [Thu, 21 Aug 2014 08:59:28 +0000 (08:59 +0000)]
* net.cc (if_freenameindex): Don't catch a SEGV from free to fail
loudly on double free.

10 years ago * dir.cc (rmdir): Don't skip deleting fh in the ENOTEMPTY case.
Corinna Vinschen [Thu, 21 Aug 2014 08:46:35 +0000 (08:46 +0000)]
* dir.cc (rmdir): Don't skip deleting fh in the ENOTEMPTY case.

10 years ago * tls_pbuf.h (tmp_pathbuf::tmp_pathbuf): Convert to inline method.
Corinna Vinschen [Wed, 20 Aug 2014 19:44:09 +0000 (19:44 +0000)]
* tls_pbuf.h (tmp_pathbuf::tmp_pathbuf): Convert to inline method.
(tmp_pathbuf::~tmp_pathbuf): Ditto.
* tls_pbuf.cc (tmp_pathbuf::tmp_pathbuf): Remove here.
(tmp_pathbuf::~tmp_pathbuf): Ditto.

10 years ago * dir.cc (dirfd): Per POSIX, return EINVAL on invalid directory stream.
Corinna Vinschen [Tue, 19 Aug 2014 19:25:54 +0000 (19:25 +0000)]
* dir.cc (dirfd): Per POSIX, return EINVAL on invalid directory stream.
(telldir): Per POSIX, return -1 and set errno to EBADF, rather than
just returning 0, on invalid directory stream.
* signal.cc (sigwaitinfo): Return -1, not EFAULT, when SEGV was catched.

10 years ago * libc/machine/aarch64/memchr.S: Add check for zero-sized buffer.
Richard Earnshaw [Tue, 19 Aug 2014 10:44:44 +0000 (10:44 +0000)]
* libc/machine/aarch64/memchr.S: Add check for zero-sized buffer.

10 years ago * fhandler.h (enum conn_state): Add "connect_credxchg" state.
Corinna Vinschen [Tue, 19 Aug 2014 09:47:12 +0000 (09:47 +0000)]
* fhandler.h (enum conn_state): Add "connect_credxchg" state.
(class fhandler_socket): Grant another bit to connect_state flag.
* fhandler_socket.cc (fhandler_socket::af_local_connect): Rearrange
variable definition.  Set connect_state to connect_credxchg.
(fhandler_socket::af_local_accept): Ditto.
(fhandler_socket::recv_internal): Accept connect_credxchg on connection
oriented AF_LOCAL sockets as well to allow the credential exchange.
Extend comment to explain.

10 years ago * autoload.cc: Replace WNet[...]A with WNet[...]W imports.
Corinna Vinschen [Tue, 19 Aug 2014 08:41:40 +0000 (08:41 +0000)]
* autoload.cc: Replace WNet[...]A with WNet[...]W imports.
* dcrt0.cc (initial_env): Drop strlwr calls.  Call strcasestr instead.
* fhandler_netdrive.cc: Throughout, convert to calling WNet UNICODE
functions.  Use tmp_pathbuf rather than alloca.  Replace call to
strlwr with call to RtlDowncaseUnicodeString.

10 years ago * fhandler.h (fhandler_serial::is_tty): Reinstantiate.
Corinna Vinschen [Tue, 19 Aug 2014 08:31:10 +0000 (08:31 +0000)]
* fhandler.h (fhandler_serial::is_tty): Reinstantiate.

10 years ago * miscfuncs.cc (strlwr): Rename from cygwin_strlwr. Drop __stdcall
Corinna Vinschen [Mon, 18 Aug 2014 18:24:06 +0000 (18:24 +0000)]
* miscfuncs.cc (strlwr): Rename from cygwin_strlwr.  Drop __stdcall
decoration.
(strupr): Rename from cygwin_strupr.  Drop __stdcall decoration.
* string.h (strlwr): Remove override macro.  Simply declare.
(strupr): Ditto.

10 years ago * libc/include/sys/signal.h: Declare sigaltstack for RTEMS only.
Corinna Vinschen [Mon, 18 Aug 2014 18:18:10 +0000 (18:18 +0000)]
* libc/include/sys/signal.h: Declare sigaltstack for RTEMS only.

10 years ago2014-08-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 18 Aug 2014 16:43:42 +0000 (16:43 +0000)]
2014-08-18  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/config.h[__m68k__]: Set _READ_WRITE_RETURN_TYPE
        to _ssize_t to match underlying code in libgloss.

10 years ago2014-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
Joel Sherrill [Mon, 18 Aug 2014 14:18:10 +0000 (14:18 +0000)]
2014-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>

* libc/include/string.h: Improve language and OS standard guards.

10 years ago2014-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
Joel Sherrill [Mon, 18 Aug 2014 14:03:35 +0000 (14:03 +0000)]
2014-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>

    * libc/include/sys/signal.h: Add sigaltstack() support.

10 years ago*** empty log message ***
Corinna Vinschen [Mon, 18 Aug 2014 11:37:27 +0000 (11:37 +0000)]
*** empty log message ***

10 years ago * dtable.cc (dtable::init_std_file_from_handle): Mention that console
Corinna Vinschen [Mon, 18 Aug 2014 11:09:56 +0000 (11:09 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Mention that console
handles are kernel objects since Windows 8.
* fhandler.h (enum conn_state): Add "listener" state.
(class fhandler_socket): Drop listener status flag.
(fhandler_socket::lseek): Return -1 and errno ESPIPE.
(fhandler_serial::lseek): Ditto.
* fhandler_socket.cc (fhandler_socket::listen): Set connect_state to
listener.  Add comment.
(fhandler_socket::accept4): Explicitely check if the socket is listening
and fail with EINVAL, if not.  Explain why we have to do that.
(fhandler_socket::recv_internal): Explicitely check if the socket is
connected if it's a stream socket.  Explain why we have to do that.
(fhandler_socket::getpeereid): Drop now redundant test.

10 years ago * configure.ac: Convert to new AC_INIT style.
Corinna Vinschen [Fri, 15 Aug 2014 21:24:35 +0000 (21:24 +0000)]
* configure.ac: Convert to new AC_INIT style.
* configure: Regenerate.

10 years ago * winsup.h (_GNU_SOURCE): Define. Explain why.
Corinna Vinschen [Fri, 15 Aug 2014 21:21:59 +0000 (21:21 +0000)]
* winsup.h (_GNU_SOURCE): Define.  Explain why.
* configure.ac: Convert to new AC_INIT style.
* configure: Regenerate.

10 years ago * cygerrno.h (seterrno): Define as (always) inline function.
Corinna Vinschen [Fri, 15 Aug 2014 13:50:53 +0000 (13:50 +0000)]
* cygerrno.h (seterrno): Define as (always) inline function.
* errno.cc (seterrno): Remove.

10 years agoAdd missing file from last patch
Corinna Vinschen [Fri, 15 Aug 2014 10:52:38 +0000 (10:52 +0000)]
Add missing file from last patch

10 years ago * cygwin-api.xml: Include misc-funcs.xml.
Corinna Vinschen [Thu, 14 Aug 2014 20:47:14 +0000 (20:47 +0000)]
* cygwin-api.xml: Include misc-funcs.xml.
* misc-funcs.xml: New file.

10 years ago * dll_init.sgml: Remove.
Corinna Vinschen [Thu, 14 Aug 2014 20:46:28 +0000 (20:46 +0000)]
* dll_init.sgml: Remove.
* dtable.sgml: Move into ../doc/misc-funcs.xml.
* external.sgml: Ditto.
* stackdump.sgml: Ditto.

10 years ago * cygwin-api.xml: Move chapter tags from path.xml back here.
Corinna Vinschen [Thu, 14 Aug 2014 20:15:49 +0000 (20:15 +0000)]
* cygwin-api.xml: Move chapter tags from path.xml back here.
Include logon-funcs.xml.
* logon-funcs.xml: Moved from ../cygwin here and converted to XML.
* path.xml: Drop chapter tags.  Create subsections.

10 years ago * security.sgml: Move to ../doc dir and rename to logon-funcs.xml.
Corinna Vinschen [Thu, 14 Aug 2014 20:12:50 +0000 (20:12 +0000)]
* security.sgml: Move to ../doc dir and rename to logon-funcs.xml.

10 years ago * Makefile.in: Throughout use parenthesis instead of braces where
Corinna Vinschen [Thu, 14 Aug 2014 19:44:29 +0000 (19:44 +0000)]
* Makefile.in: Throughout use parenthesis instead of braces where
appropriate.
(DBXDIRS): Remove.
(XSLTPROC): Define for symmetry.  Use throughout.
(clean): Drop removing cygwin-api.xml and doctool.*.
(cygwin-api.xml): Drop rule.
(doctool): Drop rule.
(Makefile.dep): Add dependency to cygwin-api.xml.
* cygwin-api.in.xml: Rename to cygwin-api.xml.  Convert includes to
XML XInclude style.
* doctool.c: Remove.
* doctool.txt: Remove.
* faq-programming.xml: Drop reference to local utils.xml file.
* path.xml: Moved from ../cygwin and converted to XML.
* posix.xml: Ditto.
* using.xml: Drop relative path from utils.xml include.
* utils.xml: Moved from ../utils.

10 years ago * utils.xml: Move to ../doc.
Corinna Vinschen [Thu, 14 Aug 2014 19:33:57 +0000 (19:33 +0000)]
* utils.xml: Move to ../doc.

10 years ago * path.sgml: Move to ../doc dir and rename to path.xml.
Corinna Vinschen [Thu, 14 Aug 2014 19:31:33 +0000 (19:31 +0000)]
* path.sgml: Move to ../doc dir and rename to path.xml.
* posix.sgml: Move to ../doc dir and rename to posix.xml.

10 years ago * dlmalloc.c: Remove unused file.
Corinna Vinschen [Thu, 14 Aug 2014 17:36:24 +0000 (17:36 +0000)]
* dlmalloc.c: Remove unused file.
* dlmalloc.h: Ditto.
* malloc.cc: Update to Doug Lea's malloc version 2.8.6.

10 years ago * arm/elf-nano.specs: New file.
Corinna Vinschen [Thu, 14 Aug 2014 15:00:33 +0000 (15:00 +0000)]
* arm/elf-nano.specs: New file.
* arm/elf-rdimon.specs: Support nano.specs.
* arm/Makefile.in: Support nano.specs.
* libnosys/nosys.specs: Support nano.specs.

10 years ago * libc/stdio/findfp.c (std): Don't inline when optimizing for code size.
Corinna Vinschen [Thu, 14 Aug 2014 08:33:00 +0000 (08:33 +0000)]
* libc/stdio/findfp.c (std): Don't inline when optimizing for code size.

10 years ago * new-features.xml: (ov-new1.7.33): Add new section.
Corinna Vinschen [Wed, 13 Aug 2014 17:44:07 +0000 (17:44 +0000)]
* new-features.xml: (ov-new1.7.33): Add new section.
(ov-new1.7.32): Reflect intermediate 1.7.32 release.

10 years ago * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 33.
Corinna Vinschen [Wed, 13 Aug 2014 17:38:47 +0000 (17:38 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 33.
(CYGWIN_VERSION_API_MINOR): Bump to reflect intermediate 1.7.32 release.

10 years ago * cpuid.h: Add missing copyright header. Fix formatting. Use uint32_t
Corinna Vinschen [Mon, 11 Aug 2014 12:03:18 +0000 (12:03 +0000)]
* cpuid.h: Add missing copyright header.  Fix formatting.  Use uint32_t
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.

10 years ago* common.din (__cxa_finalize): Export.
Yaakov Selkowitz [Thu, 7 Aug 2014 16:25:06 +0000 (16:25 +0000)]
* common.din (__cxa_finalize): Export.
* 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.

10 years ago* Makefile.common (COMPILE.cc): Add -fno-use-cxa-atexit.
Yaakov Selkowitz [Thu, 7 Aug 2014 16:19:09 +0000 (16:19 +0000)]
* Makefile.common (COMPILE.cc): Add -fno-use-cxa-atexit.

10 years ago * passwd.c (usage): Rename DAYS to MINDAYS and MAXDAYS.
Corinna Vinschen [Wed, 6 Aug 2014 19:24:57 +0000 (19:24 +0000)]
* passwd.c (usage): Rename DAYS to MINDAYS and MAXDAYS.
* utils.xml (passwd): Ditto.

10 years ago * ntsec.xml (ntsec-mapping): Drop plus-prepended builtin accounts as
Corinna Vinschen [Wed, 6 Aug 2014 14:46:03 +0000 (14:46 +0000)]
* ntsec.xml (ntsec-mapping): Drop plus-prepended builtin accounts as
default setting.  Add short explanation in db_prefix: always mode.
Fix a type.  Drop a paragraph with redundant information.

10 years ago * include/sys/file.h: Add extern "C".
Corinna Vinschen [Wed, 6 Aug 2014 08:46:12 +0000 (08:46 +0000)]
* include/sys/file.h: Add extern "C".

10 years ago * libc/include/math.h: Also define M_PI etc. if _XOPEN_SOURCE is
Jon TURNEY [Mon, 4 Aug 2014 21:32:37 +0000 (21:32 +0000)]
* libc/include/math.h: Also define M_PI etc. if _XOPEN_SOURCE is
defined appropriately.

10 years ago * common.din (__cxa_atexit): Export.
Corinna Vinschen [Mon, 4 Aug 2014 16:52:04 +0000 (16:52 +0000)]
* common.din (__cxa_atexit): Export.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump to 274.

10 years ago * uinfo.cc (pwdgrp::fetch_account_from_windows): Drop "plus_prepended"
Corinna Vinschen [Mon, 4 Aug 2014 15:50:42 +0000 (15:50 +0000)]
* uinfo.cc (pwdgrp::fetch_account_from_windows): Drop "plus_prepended"
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.

10 years ago* faq-what.xml (faq.what.who): Remove mention of retired setup
Yaakov Selkowitz [Sun, 3 Aug 2014 19:53:24 +0000 (19:53 +0000)]
* faq-what.xml (faq.what.who): Remove mention of retired setup
maintainers.  Add link to cygwin-pkg-maint.

10 years agoheaders: properly decorate attributes
Eric Blake [Fri, 1 Aug 2014 15:48:37 +0000 (15:48 +0000)]
headers: properly decorate attributes

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.

10 years agoheaders: properly decorate attributes
Eric Blake [Fri, 1 Aug 2014 15:44:51 +0000 (15:44 +0000)]
headers: properly decorate attributes

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.

10 years ago* faq-what.xml (faq.what.who): CGF has retired.
Yaakov Selkowitz [Fri, 1 Aug 2014 01:29:46 +0000 (01:29 +0000)]
* faq-what.xml (faq.what.who): CGF has retired.

10 years ago * uinfo.cc (pwdgrp::fetch_account_from_windows): Fix comment.
Corinna Vinschen [Wed, 30 Jul 2014 14:23:53 +0000 (14:23 +0000)]
* uinfo.cc (pwdgrp::fetch_account_from_windows): Fix comment.

10 years ago * ntsec.xml: Small improvments.
Corinna Vinschen [Wed, 30 Jul 2014 12:00:24 +0000 (12:00 +0000)]
* ntsec.xml: Small improvments.

10 years ago * new-features.xml: (ov-new1.7): Change section title.
Corinna Vinschen [Wed, 30 Jul 2014 11:32:41 +0000 (11:32 +0000)]
* new-features.xml: (ov-new1.7): Change section title.

10 years ago * new-features.xml: (ov-new1.7.1): Add new section. Move old 1.7
Corinna Vinschen [Wed, 30 Jul 2014 11:28:58 +0000 (11:28 +0000)]
* new-features.xml: (ov-new1.7.1): Add new section.  Move old 1.7
sections into section level 3.

10 years ago * cygwin.xsl: Allow 3 section levels in TOC.
Corinna Vinschen [Wed, 30 Jul 2014 11:07:34 +0000 (11:07 +0000)]
* cygwin.xsl: Allow 3 section levels in TOC.
* 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.

10 years ago * libc/string/strerror.c: Fix documentation so makedoc doesn't
Corinna Vinschen [Wed, 30 Jul 2014 08:02:12 +0000 (08:02 +0000)]
* libc/string/strerror.c: Fix documentation so makedoc doesn't
stumble over a sole EAGAIN.

10 years agoAdd missing utils.xml
Corinna Vinschen [Tue, 29 Jul 2014 13:31:33 +0000 (13:31 +0000)]
Add missing utils.xml

10 years ago * mkgroup.c (usage): Move info message that this /etc/group isn't really
Corinna Vinschen [Tue, 29 Jul 2014 13:29:54 +0000 (13:29 +0000)]
* mkgroup.c (usage): Move info message that this /etc/group isn't really
required anymore more to the top of the usage output.
* mkpasswd.c (usage): Ditto for /etc/passwd.  Drop old text from output.

10 years ago * cygheap.h (class cygheap_domain_info): Remove lowest_tdo_posix_offset.
Corinna Vinschen [Tue, 29 Jul 2014 08:53:13 +0000 (08:53 +0000)]
* cygheap.h (class cygheap_domain_info): Remove lowest_tdo_posix_offset.
* 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.

10 years agoFix typo in previous commit
Anthony Green [Mon, 28 Jul 2014 05:23:30 +0000 (05:23 +0000)]
Fix typo in previous commit

10 years agoAdd moxiebox support.
Anthony Green [Sun, 27 Jul 2014 14:37:10 +0000 (14:37 +0000)]
Add moxiebox support.

10 years ago * fhandler_socket.cc (fhandler_socket::send_internal): Fix value of
Corinna Vinschen [Thu, 24 Jul 2014 13:21:02 +0000 (13:21 +0000)]
* fhandler_socket.cc (fhandler_socket::send_internal): Fix value of
out_len when tweaking the last buffer so out_len is correct in a
subsequent if expression.

10 years ago2014-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
Joel Sherrill [Tue, 22 Jul 2014 19:30:00 +0000 (19:30 +0000)]
2014-07-22  Joel Sherrill <joel.sherrill@oarcorp.com>

* libc/include/sys/time.h: Add prototype for adjtime() and
wrap it and settimeofday() prototype with __BSD_VISIBLE.

10 years ago * thread.cc (pthread::init_mainthread): Initialize thread mutex to
Corinna Vinschen [Mon, 21 Jul 2014 16:32:09 +0000 (16:32 +0000)]
* thread.cc (pthread::init_mainthread): Initialize thread mutex to
type PTHREAD_MUTEX_RECURSIVE, just as for any other thread.

10 years agobump to 32
Corinna Vinschen [Mon, 21 Jul 2014 11:08:07 +0000 (11:08 +0000)]
bump to 32

10 years ago * uinfo.cc: Fix typo in comment.
Corinna Vinschen [Mon, 21 Jul 2014 09:55:52 +0000 (09:55 +0000)]
   * uinfo.cc: Fix typo in comment.

10 years ago * new-features.xml: (ov-new1.7.31): Add new section.
Corinna Vinschen [Mon, 21 Jul 2014 09:47:05 +0000 (09:47 +0000)]
* new-features.xml: (ov-new1.7.31): Add new section.

10 years ago*** empty log message ***
Corinna Vinschen [Fri, 18 Jul 2014 12:28:00 +0000 (12:28 +0000)]
*** empty log message ***

10 years agoFix missing generated files
Corinna Vinschen [Thu, 17 Jul 2014 18:43:55 +0000 (18:43 +0000)]
Fix missing generated files

10 years ago * configure.host: Remove or16 and or32 targets and add or1k.
Corinna Vinschen [Thu, 17 Jul 2014 18:43:05 +0000 (18:43 +0000)]
* configure.host: Remove or16 and or32 targets and add or1k.
* 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.

10 years ago.
Christopher Faylor [Wed, 16 Jul 2014 14:30:56 +0000 (14:30 +0000)]
.

This page took 0.063539 seconds and 5 git commands to generate.