OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [net/] [autotest/] [current/] [host/] [_suping.c] - Blame information for rev 868

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
// _suping.c
2
 
3
#include <unistd.h>
4
 
5
// This a piece of lameness to convince ping to do a floodping.
6
int main( int argc, char **argv )
7
{
8
    setuid( 0 );
9
    execvp( "ping", argv );
10
    perror( "What, no ping?" );
11
    exit( 1 );
12
}
13
 
14
// EOF

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.