You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Paul Querna <ch...@force-elite.com> on 2008/11/03 03:47:38 UTC

Re: svn commit: r709993 - in /httpd/httpd/trunk: include/ modules/arch/unix/ server/ server/mpm/experimental/event/ server/mpm/prefork/ server/mpm/simple/ server/mpm/worker/

niq@apache.org wrote:
> Author: niq
> Date: Sun Nov  2 16:46:54 2008
> New Revision: 709993
> 
> URL: http://svn.apache.org/viewvc?rev=709993&view=rev
> Log:
> Switch all unix MPMs to use drop_privileges hook (mod_unixd) for startup
> and add a flag to prevent running without any module taking responsibility
> for managing system privileges!
....
> +/* register modules that undertake to manage system security */
> +extern int sys_privileges;
.....
> +    ++sys_privileges;
>      return OK;

-0.9999999998

No more global variables :(

-Paul

Re: svn commit: r709993 - in /httpd/httpd/trunk: include/ modules/arch/unix/ server/ server/mpm/experimental/event/ server/mpm/prefork/ server/mpm/simple/ server/mpm/worker/

Posted by Jim Jagielski <ji...@jaguNET.com>.
On Nov 2, 2008, at 9:47 PM, Paul Querna wrote:

> niq@apache.org wrote:
>> Author: niq
>> Date: Sun Nov  2 16:46:54 2008
>> New Revision: 709993
>> URL: http://svn.apache.org/viewvc?rev=709993&view=rev
>> Log:
>> Switch all unix MPMs to use drop_privileges hook (mod_unixd) for  
>> startup
>> and add a flag to prevent running without any module taking  
>> responsibility
>> for managing system privileges!
> ....
>> +/* register modules that undertake to manage system security */
>> +extern int sys_privileges;
> .....
>> +    ++sys_privileges;
>>     return OK;
>
> -0.9999999998
>
> No more global variables :(
>

+1 on the -0.9999999998