summaryrefslogtreecommitdiff
path: root/ecos/packages/net/autotest/current/host/_suping.c
blob: 6689f2e1e8ee715cc6fb6b35aa7f79a4a37ec3a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// _suping.c

#include <unistd.h>

// This a piece of lameness to convince ping to do a floodping.
int main( int argc, char **argv )
{
    setuid( 0 );
    execvp( "ping", argv );
    perror( "What, no ping?" );
    exit( 1 );
}

// EOF