Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2005 14:34:48 +0100
From:      Csaba Henk <csaba-ml@creo.hu>
To:        freebsd-current@freebsd.org
Subject:   Easy DoS
Message-ID:  <20051216133448.GA10382@beastie.creo.hu>

next in thread | raw e-mail | index | archive | help
Do

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?

Csaba



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051216133448.GA10382>