Re: [PHP-DEV] Safe Mode

2002-05-14 Thread Slava Poliakov
Rasmus Lerdorf wrote: >> PHP being a web server scripting language is a unique case, for example >> consider that once apache 2.0 becomes stable, safe_mode will become >> obsolete, on the other hand the situation described here will become >> quite deadly if some sort of threaded mode is used. So

Re: [PHP-DEV] Safe Mode

2002-05-13 Thread Slava Poliakov
Jason Greene wrote: > >> while(1) fopen(rand(), "w"); >> >> After a few seconds depending on system speed system will run out of file >> pointers. I am sure you can see how that would be BAD. > > You are _extremely_ incorrect. The previously mentioned code would open > 1 file descriptor repeat

Re: [PHP-DEV] Safe Mode

2002-05-13 Thread Slava Poliakov
Rasmus Lerdorf wrote: >> Heh, I am certain that most ISPs admins are not subscribed to the >> development list of every software they are running, monitoring such >> lists would be near impossible due to large cumulative volume of email. I >> am sure some IPSs will do exactly what you suggest and