>From 0f1a605b1b7838749f2dd315c588b939380ccbd0 Mon Sep 17 00:00:00 2001 From: "Yuriy M. Kaminskiy" Date: Wed, 2 Jan 2013 01:46:44 +0400 Subject: [PATCH 3/7] arping: use seteuid for temporal uid changes --- arping.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arping.c b/arping.c index bdf81e9..a35fafd 100644 --- a/arping.c +++ b/arping.c @@ -228,7 +228,7 @@ int modify_capability_raw(int on) cap_free(cap_p); #else - if (setuid(on ? euid : getuid())) { + if (seteuid(on ? euid : getuid())) { perror("arping: setuid"); return -1; } -- 1.7.6.3