summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bb24d9a)
raw | patch | inline | side by side (parent: bb24d9a)
author | Florian Forster <octo@verplant.org> | |
Wed, 12 Jul 2006 06:50:23 +0000 (08:50 +0200) | ||
committer | Florian Forster <octo@verplant.org> | |
Wed, 12 Jul 2006 06:50:23 +0000 (08:50 +0200) |
src/oping.c | patch | blob | history |
diff --git a/src/oping.c b/src/oping.c
index d4469a8f94f4744a4f5e77c8e40f62c44354b39a..3201e85dc0f8808268f467d4337ae9a137d7ee64 100644 (file)
--- a/src/oping.c
+++ b/src/oping.c
}
}
+ /* Drop root privileges if we're setuid-root. */
+ setuid (getuid ());
+
i = 0;
for (iter = ping_iterator_get (ping);
iter != NULL;