I just tried (2.1.125 SMP):
$ rm -rf /proc (four times), and I got:
test 29341 0.1 0.2 1044 436 ? D 20:18 0:00 rm -rf /proc
test 29343 0.1 0.2 1044 436 ? D 20:18 0:00 rm -rf /proc
test 29344 0.2 0.2 1044 436 ? D 20:18 0:00 rm -rf /proc
They all hang (unkillable & eating cpu) in getdents (the first rm -rf got a
segmentation fault):
lstat("/proc/net/ip_masq", {st_mode=0, st_size=0, ...}) = 0
open("/proc/net/ip_masq", O_RDONLY|O_NONBLOCK) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fstat(3, {st_mode=0, st_size=0, ...}) = 0
lseek(3, 0, SEEK_CUR) = 0
getdents(3,
So somewhere there is still a bug (its a nice DoS)
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@goof.com |e|
-=====/_/_//_/\_,_/ /_/\_\ --+
The choice of a GNU generation |
|
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/