Easy DoS

Csaba Henk csaba-ml at creo.hu
Fri Dec 16 05:37:43 PST 2005


echo 'main() { write(1, 0, 1); }' > edos.c
gcc -o edos edos.c
./edos | cat

... and now the edos process gets stuck in the write syscall, unkillably,
keeping the CPU spinning. (Seen on my 6.0-RELEASE and 7.0-CURRENT boxen.)

Is it a bug or a feature?


More information about the freebsd-current mailing list