commit-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Inetutils branch, master, updated. inetutils-1_8-82-g82cafb9


From: Mats Erik Andersson
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_8-82-g82cafb9
Date: Wed, 26 Jan 2011 22:49:55 +0000

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 Inetutils ".

The branch, master has been updated
       via  82cafb9b3cd252c63c6d0d5ddf7bd0a087634edf (commit)
      from  0f4eb73a2f578cf73c7648181ed8aab927a8ecea (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://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=82cafb9b3cd252c63c6d0d5ddf7bd0a087634edf


commit 82cafb9b3cd252c63c6d0d5ddf7bd0a087634edf
Author: Mats Erik Andersson <address@hidden>
Date:   Wed Jan 26 23:40:00 2011 +0100

    traceroute: Do not test effective-UID of caller.
    
    The test effectively precludes the use of file capabilities.
    Identical messages are still given when privileges are missing.

diff --git a/ChangeLog b/ChangeLog
index b77093a..2ffc7e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-01-26  Mats Erik Andersson <address@hidden>
+
+       * src/traceroute.c (main): Remove test on geteuid().
+
 2011-01-25  Mats Erik Andersson <address@hidden>
 
        * src/logger.c (host_family) [HAVE_DECL_GETADDRINFO]: New variable.
diff --git a/src/traceroute.c b/src/traceroute.c
index 7605284..d585497 100644
--- a/src/traceroute.c
+++ b/src/traceroute.c
@@ -199,9 +199,6 @@ main (int argc, char **argv)
       || getaddrinfo (hostname, NULL, &hints, &res))
     error (EXIT_FAILURE, 0, "unknown host");
 
-  if (geteuid () != 0)
-    error (EXIT_FAILURE, EPERM, "insufficient permissions");
-
   memcpy (&dest, res->ai_addr, res->ai_addrlen);
   dest.sin_port = htons (opt_port);
 

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

Summary of changes:
 ChangeLog        |    4 ++++
 src/traceroute.c |    3 ---
 2 files changed, 4 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]