apache-1.3.22-4 no-detach patch

Stipe Tolj tolj@wapme-systems.de
Tue Jan 22 03:36:00 GMT 2002


Corinna Vinschen wrote:
> 
> Ok, as far as I can see, the problem is line 4136f. in http_main.c:
> 
>     /* Only try to switch if we're running as root */
>     if (!geteuid() && (
> 
> That could get changed to (just a draft):
> 
>   #ifdef CYGWIN
>     /* Only try to switch if we're running as SYSTEM */
>     #define SYSTEM_UID 18
>     if (geteuid() == SYSTEM_UID && (
>   #else
>     /* Only try to switch if we're running as root */
>     if (!geteuid() && (
>   #endif

thanks for that report Corinna. I'm fixing things up this evening and
preparing -4 for distribution.

Stipe

tolj@wapme-systems.de
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: info@wapme-systems.de
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are



More information about the Cygwin-apps mailing list