[ale] fork killer
    Geoffrey Myers 
    geof at abraxis.com
       
    Wed Nov 12 07:52:08 EST 1997
    
    
  
Christopher Fowler wrote:
> What can keep someone from running this program and taking down linux
> box
> ---- cut here ----
> #include <unistd.h>
> main()
> {
>         int X=0;
>         do
>                 fork();
>         while ( X == 0 )
>         return 0;
> }
> ---------------------
I don't have enough experience with Linux, but I do know that in
SVR3/SVR4 you could limit the maximum number of processes per user via
kernel tunables.  Is this possible under Linux?
--
Until later: Geoffrey           geof at abraxis.com
    
    
More information about the Ale
mailing list