Re: max directory depth in 2.2.15? Bug?

From: Jesse Pollard (pollard@tomcat.admin.navo.hpc.mil)
Date: Tue May 30 2000 - 16:07:33 EST


"Kenneth C. Arnold" <kcarnold@yahoo.com>:
> > not by problems in implementation. Nice local DoS :-/ Unfrtunatelly there are
> > quite a few other local DoS attacks so I'm not sure if someone will try to fix
> > it soon. You can use quota to limit problems: just not allow to create more
> > then 1000 files per user and raise inode-max to 1000000 :-)
>
> Local DoS? How about forkbomb, e.g.,
>
> #include <unistd.h>
> void main (void)
> { while (1) fork(); }
>
> Has this been fixed since pre8? ( I'm not trying it again :/ )How about a
> /proc/<whatever>/max-non-root-forks? (and the previously mentioned
> "echo 1 > /proc/<whatever>/disable-non-root-fork" could be mapped
> to echoing a zero there)

Sounds more like another request for resource quotas :).

-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@navo.hpc.mil

Any opinions expressed are solely my own.

-
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/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:25 EST