* [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.5.0-0.7
@ 2016-03-15 11:42 Corinna Vinschen
2016-03-17 15:27 ` Achim Gratz
0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2016-03-15 11:42 UTC (permalink / raw)
To: cygwin
Hi Cygwin friends and users,
I released a new Cygwin TEST version 2.5.0-0.7.
Refresh with the following changes:
- Preliminary patch to fix the getaddrinfo issue reported in
https://cygwin.com/ml/cygwin/2015-07/msg00350.html. Patch
outlined in https://cygwin.com/ml/cygwin/2016-03/msg00211.html.
- Don't write the NULL SID deny ACE if the ACL is a simple POSIX ACL
which is easy to handle. I.e.:
- Simple ACL with only three ACEs for owner, group and other
(6 for a directory)
- Owner permissions >= group permissions
- Group permissions >= other permissions
- No explicit mask value
- No special POSIX permission bits (S_ISUID, S_ISGID, S_ISVTX).
Other 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.
- 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.
- 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
Have fun,
Corinna
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.5.0-0.7
2016-03-15 11:42 [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.5.0-0.7 Corinna Vinschen
@ 2016-03-17 15:27 ` Achim Gratz
2016-03-17 16:48 ` Corinna Vinschen
0 siblings, 1 reply; 3+ messages in thread
From: Achim Gratz @ 2016-03-17 15:27 UTC (permalink / raw)
To: cygwin
Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> I released a new Cygwin TEST version 2.5.0-0.7.
While testing this I got the following from tcsh:
> touch permtest
> chmod 0 permtest
> ./permtest
./permtest: Bad file descriptor.
I would have expected
$ ./permtest
./permtest: Permission denied.
which is what I indeed get with bash/dash.
I can't test at the moment if that was happening with 2.4.1 also.
Regards,
Achim.
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.5.0-0.7
2016-03-17 15:27 ` Achim Gratz
@ 2016-03-17 16:48 ` Corinna Vinschen
0 siblings, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2016-03-17 16:48 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 911 bytes --]
On Mar 17 15:27, Achim Gratz wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> > I released a new Cygwin TEST version 2.5.0-0.7.
>
> While testing this I got the following from tcsh:
>
> > touch permtest
> > chmod 0 permtest
> > ./permtest
> ./permtest: Bad file descriptor.
>
> I would have expected
>
> $ ./permtest
> ./permtest: Permission denied.
>
> which is what I indeed get with bash/dash.
>
> I can't test at the moment if that was happening with 2.4.1 also.
During execve the file is opened to check if it's a scrip or a real
executable. If opening the file fails, Cygwin neglects to set the
correct error code so you just get the previous errno value.
Fixed in the git repo.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-03-17 16:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-15 11:42 [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.5.0-0.7 Corinna Vinschen
2016-03-17 15:27 ` Achim Gratz
2016-03-17 16:48 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).