Corinna Vinschen corinna-cygwin@cygwin.com
Wed Mar 23 20:41:00 GMT 2016

Hi Cygwin friends and users,

I released a new Cygwin TEST version 2.5.0-0.9.

If things are not going very wrong, this is basically what you'll
get as 2.5.0-1 release.  Please, please test and report regressions.

Refresh with the following changes:

- Forgotten item in the 2.5.0-0.8 release text:

  Yaakov rewrote the feature test macro (FTM) handling in our header files
  almost from scratch.  The new FTMs now closely follow Glibc, thus
  much more correctly following different UNIX standards.  I recommend
  the developers among you to have a look into the comment at the
  start of /usr/include/sys/feature.h to learn about the full set of
  available FTMs:

- Various minor bugfixes.

User-visible changes compared to 2.4.1:

What's new:

- Full set of POSIX.1e ACL API functions now implemented.
  New APIs: acl_add_perm, acl_calc_mask, acl_clear_perms, acl_copy_entry,
  acl_copy_ext, acl_copy_int, acl_create_entry, acl_delete_def_file,
  acl_delete_entry, acl_delete_perm, acl_dup, acl_free, acl_from_text,
  acl_get_entry, acl_get_fd, acl_get_file, acl_get_permset, acl_get_qualifier,
  acl_get_tag_type, acl_init, acl_set_fd, acl_set_file, acl_set_permset,
  acl_set_qualifier, acl_set_tag_type, acl_size, acl_to_text, acl_valid.

- Most libacl extensions now implemented, too:
  New APIs: acl_check, acl_cmp, acl_entries, acl_equiv_mode, acl_error,
  acl_extended_fd, acl_extended_file, acl_extended_file_nofollow,
  acl_from_mode, acl_get_perm, acl_to_any_text.

- First implementation of pthread_barrier/pthread_barrierattr functions.
  New APIs: pthread_barrierattr_init, pthread_barrierattr_setpshared,
  pthread_barrierattr_getpshared, pthread_barrierattr_destroy,
  pthread_barrier_init, pthread_barrier_destroy, pthread_barrier_wait.

- Enabled console reports requested by escape sequences: Requesting primary
  and secondary device attributes, requesting cursor position report;
  see https://cygwin.com/ml/cygwin-patches/2012-q3/msg00019.html

- New APIs: clog10, clog10f.

What changed:

- Including <sys/acl.h> now *only* includes the POSIX ACL API.  To include
  the old Solaris API, include <cygwin/acl.h>.

- In calls to chmod treat ACLs with extra ACEs *only* for Admins and
  SYSTEM like a trivial ACL.

- Reworked feature test macros in the header files more closely following

- Bump POSIX option macros to POSIX.1-2008.

- Profiling data, specifically pc sampling, now covers all threads of a
  program and not just the main thread.  Environment variable GMON_OUT_PREFIX
  enables multiple gmon.out files to preserve profiling data after fork or
  from multiple program runs.

Bug Fixes

- Fix potential hang when using LoadLibraryEx(LOAD_LIBRARY_SEARCH_SYSTEM32).
  Reported and tested via IRC.

- Fix a bug in ACL handling which might result in a spurious extra entry
  for the primary group.  Self-observed.

- printf(3): Handle multibyte decimal point in field size computation.
  Addresses: https://cygwin.com/ml/cygwin/2016-02/msg00014.html

- cygwin_conv_path: Always preserve trailing backslashes in conversion
  to POSIX paths.
  Addresses: https://cygwin.com/ml/cygwin/2016-01/msg00480.html

- Make buffered console characters visible to select().
  Addresses: https://cygwin.com/ml/cygwin/2014-12/msg00118.html

- Always report relocation problems, not only in debug DLL.
  Addresses: https://cygwin.com/ml/cygwin/2016-02/msg00147.html

- Don't spill network credentials of privileged user changing the user
  context via setuid method 1
  (https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd1) into
  user session.
  Addresses: https://cygwin.com/ml/cygwin/2016-02/msg00101.html

- Fix bug in setvbuf resulting in overwriting data in line buffered IO
  when writing after reading.
  Addresses: https://cygwin.com/ml/cygwin/2016-03/msg00180.html

- Fix typo in code converting Windows ACL to POSIX ACL, potentially
  resulting in incorrect group permissions.  Self-observed.

- Fix reading/writing ACLs on Samba shares when using RFC2307 mapped uid/gid
  values.  Self-observed.

- Fix a wrong error code returned when trying to execute a file which can't
  be read for any reason.
  Addresses: https://cygwin.com/ml/cygwin/2016-03/msg00364.html

- Only allow enabled groups from the user token's group list as primary
  Addresses: https://cygwin.com/ml/cygwin/2016-03/msg00477.html

Have fun,

Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list