This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc 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]

GNU C Library master sources branch master updated. glibc-2.16-ports-merge-277-g2923780


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  292378045ce335a3aabfc2724dbc499f026995f3 (commit)
      from  60160d83a09c659d8d9338b210ff92be77cc87d5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=292378045ce335a3aabfc2724dbc499f026995f3

commit 292378045ce335a3aabfc2724dbc499f026995f3
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue Sep 4 09:25:18 2012 +0200

    stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID failures

diff --git a/ChangeLog b/ChangeLog
index 9a041eb..9606f3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-04  Florian Weimer  <fweimer@redhat.com>
+
+	* stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
+	failures.
+
 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #9914]
diff --git a/stdlib/tst-secure-getenv.c b/stdlib/tst-secure-getenv.c
index 276b0af..b52aaf0 100644
--- a/stdlib/tst-secure-getenv.c
+++ b/stdlib/tst-secure-getenv.c
@@ -228,9 +228,10 @@ alternative_main (int argc, char **argv)
     {
       if (getgid () == getegid ())
 	{
-	  printf ("SGID failed: GID and EGID match (%jd)\n",
+	  /* This can happen if the file system is mounted nosuid. */
+	  fprintf (stderr, "SGID failed: GID and EGID match (%jd)\n",
 		  (intmax_t) getgid ());
-	  exit (2);
+	  exit (MAGIC_STATUS);
 	}
       if (getenv ("PATH") == NULL)
 	{

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    5 +++++
 stdlib/tst-secure-getenv.c |    5 +++--
 2 files changed, 8 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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