This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin/rhcygwin-2.0] Prepare Cygwin 2.0.1rh release.


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=0bc5f267f67f597b83b9688c05ab62c8ae3b1191

commit 0bc5f267f67f597b83b9688c05ab62c8ae3b1191
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu Apr 30 10:31:39 2015 +0200

    Prepare Cygwin 2.0.1rh release.
    
    	* uname.cc (uname): Change release string to fixed string "rh".
    	* include/cygwin/version.h: Bump DLL version to 2.0.1.
    	* security.cc (get_attribute_from_acl): Disable spilling secondary
    	user and group perms into POSIX group attributes.
    	(alloc_sd): Disable tweaking secondary user and group permissions
    	according to POSIX group attributes.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/ChangeLog.RedHat         | 96 ++++++++++++++++++++++++++++++++++
 winsup/cygwin/include/cygwin/version.h |  2 +-
 winsup/cygwin/security.cc              |  4 ++
 winsup/cygwin/uname.cc                 |  2 +-
 4 files changed, 102 insertions(+), 2 deletions(-)

diff --git a/winsup/cygwin/ChangeLog.RedHat b/winsup/cygwin/ChangeLog.RedHat
new file mode 100644
index 0000000..ecd87ad
--- /dev/null
+++ b/winsup/cygwin/ChangeLog.RedHat
@@ -0,0 +1,96 @@
+2015-04-30  Corinna Vinschen  <vinschen@redhat.com>
+
+	* uname.cc (uname): Change release string to fixed string "rh".
+	* include/cygwin/version.h: Bump DLL version to 2.0.1.
+	* security.cc (get_attribute_from_acl): Disable spilling secondary
+	user and group perms into POSIX group attributes.
+	(alloc_sd): Disable tweaking secondary user and group permissions
+	according to POSIX group attributes.
+
+2014-10-20  Corinna Vinschen  <vinschen@redhat.com>
+
+	* uname.cc (uname): Change release string to start with a dash instead
+	of with an "r".
+
+2014-07-28  Corinna Vinschen  <vinschen@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.8.6.
+
+2013-08-07  Corinna Vinschen  <vinschen@redhat.com>
+
+	* uname.cc (uname): Revert accidentally dropped patch from 2012-04-04.
+	Set release string to "r1".
+
+2013-07-24  Corinna Vinschen  <vinschen@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.8.5.
+
+2012-04-04  Corinna Vinschen  <vinschen@redhat.com>
+
+	* uname.cc (uname): Add release string to allow to recognize
+	update releases.
+
+2012-04-03  Corinna Vinschen  <vinschen@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.8.4.
+
+2011-02-07  Corinna Vinschen  <vinschen@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.8.3.
+
+2010-07-13  Corinna Vinschen  <vinschen@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.8.2.
+
+2010-04-09  Corinna Vinschen  <vinschen@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.8.1.
+
+2009-04-01  Corinna Vinschen  <vinschen@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.8.0.
+
+2006-10-18  Corinna Vinschen  <vinschen@redhat.com>
+
+	* include/machine: Add missing directory.
+	* include/machine/stdlib.h: Add missing file.
+
+2006-01-16  Corinna Vinschen  <vinschen@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.6.9.
+
+2005-10-24  Corinna Vinschen  <vinschen@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.6.8.
+
+2005-07-04  Corinna Vinschen  <vinschen@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.6.7.
+
+2004-09-06  Corinna Vinschen  <vinschen@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.6.6.
+
+2004-05-07  Corinna Vinschen  <vinschen@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.6.5.
+
+2004-02-26  Christopher Faylor  <cgf@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.6.4.
+
+2004-02-17  Christopher Faylor  <cgf@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.6.3.
+
+2004-01-19  Corinna Vinschen  <vinschen@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.6.2.
+
+2003-11-24  Corinna Vinschen  <vinschen@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.6.1.
+
+2003-10-31  Corinna Vinschen  <vinschen@redhat.com>
+
+	* include/cygwin/version.h: Bump DLL version to 1.6.0.
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index 7734b12..1ac9e6e 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -43,7 +43,7 @@ details. */
 	 changes to the DLL and is mainly informative in nature. */
 
 #define CYGWIN_VERSION_DLL_MAJOR 2000
-#define CYGWIN_VERSION_DLL_MINOR 0
+#define CYGWIN_VERSION_DLL_MINOR 1
 
       /* Major numbers before CYGWIN_VERSION_DLL_EPOCH are
 	 incompatible. */
diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc
index 1bc0c50..00025ee 100644
--- a/winsup/cygwin/security.cc
+++ b/winsup/cygwin/security.cc
@@ -326,6 +326,7 @@ get_attribute_from_acl (mode_t *attribute, PACL acl, PSID owner_sid,
 	    *flags |= ((!(*anti & S_IXGRP)) ? S_IXGRP : 0)
 		      | ((grp_member && !(*anti & S_IXUSR)) ? S_IXUSR : 0);
 	}
+#if 0
       else if (flags == &allow)
 	{
 	  /* Simplified computation of additional group permissions based on
@@ -341,6 +342,7 @@ get_attribute_from_acl (mode_t *attribute, PACL acl, PSID owner_sid,
 	  if (ace->Mask & FILE_EXEC_BITS)
 	    *flags |= S_IXGRP;
 	}
+#endif
     }
   *attribute &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISVTX | S_ISGID | S_ISUID);
 #if 0
@@ -800,6 +802,7 @@ alloc_sd (path_conv &pc, uid_t uid, gid_t gid, int attribute,
 		ace->Header.AceFlags |= CONTAINER_INHERIT_ACE
 					| OBJECT_INHERIT_ACE;
 	    }
+#if 0
 	  else if (uid == ILLEGAL_UID && gid == ILLEGAL_UID
 		   && ace->Header.AceType == ACCESS_ALLOWED_ACE_TYPE
 		   && ace_sid != well_known_creator_group_sid
@@ -814,6 +817,7 @@ alloc_sd (path_conv &pc, uid_t uid, gid_t gid, int attribute,
 		 the primary group when writing a new ACL via chmod. */
 	      ace->Mask &= group_allow;
 	    }
+#endif
 	  /* Add unrelated ACCESS_DENIED_ACE to the beginning but behind
 	     the owner_deny, ACCESS_ALLOWED_ACE to the end.  FIXME: this
 	     would break the order of the inherit-only ACEs. */
diff --git a/winsup/cygwin/uname.cc b/winsup/cygwin/uname.cc
index 1aa7f73..ee8c649 100644
--- a/winsup/cygwin/uname.cc
+++ b/winsup/cygwin/uname.cc
@@ -45,7 +45,7 @@ uname (struct utsname *name)
 		       cygwin_version.dll_major / 1000,
 		       cygwin_version.dll_major % 1000,
 		       cygwin_version.dll_minor,
-		       snp ? "s" : "",
+		       snp ? "s" : "rh",
 		       cygwin_version.api_major,
 		       cygwin_version.api_minor,
 		       cygwin_version.shared_data,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]