projects
/
platform
/
upstream
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert setuid/setgid users to xsetuid/xsetgid.
[platform/upstream/busybox.git]
/
networking
/
ether-wake.c
diff --git
a/networking/ether-wake.c
b/networking/ether-wake.c
index
b4fb0c2
..
1803d22
100644
(file)
--- 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());
+
x
setuid(getuid());
/* look up the dest mac address */
get_dest_addr(argv[optind], &eaddr);