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