From afb94ecf2bb6c53ce2a381d6ce45a426243c76d9 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 16 Jul 2006 08:06:34 +0000 Subject: Convert setuid/setgid users to xsetuid/xsetgid. --- networking/ether-wake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/ether-wake.c') diff --git a/networking/ether-wake.c b/networking/ether-wake.c index b4fb0c2d1..1803d2265 100644 --- a/networking/ether-wake.c +++ b/networking/ether-wake.c @@ -145,7 +145,7 @@ int etherwake_main(int argc, char *argv[]) s = make_socket(); /* now that we have a raw socket we can drop root */ - setuid(getuid()); + xsetuid(getuid()); /* look up the dest mac address */ get_dest_addr(argv[optind], &eaddr); -- cgit v1.2.3