2 * netsniff-ng - the packet sniffing beast
3 * By Daniel Borkmann <daniel@netsniff-ng.org>
4 * Copyright 2011 Daniel Borkmann.
5 * Subject to the GPL, version 2.
14 void check_for_root_maybe_die(void)
16 if (geteuid() != 0 || geteuid() != getuid())
17 panic("Uhhuh, not root?!\n");