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 <[email protected]>
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 <[email protected]>
+
+ * src/traceroute.c (main): Remove test on geteuid().
+
2011-01-25 Mats Erik Andersson <[email protected]>
* 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
_______________________________________________
Commit-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-inetutils