diff options
Diffstat (limited to 'networking/arping.c')
-rw-r--r-- | networking/arping.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/arping.c b/networking/arping.c index 6cb6076..5665ddb 100644 --- a/networking/arping.c +++ b/networking/arping.c @@ -262,7 +262,8 @@ int arping_main(int argc, char **argv) s = socket(PF_PACKET, SOCK_DGRAM, 0); ifindex = errno; - setuid(getuid()); + // Drop suid root privileges + xsetuid(getuid()); { unsigned long opt; |