This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: apache-1.3.22-4 no-detach patch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]