apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: apr_global_mutex_child_init & mod_watch
Date Mon, 08 Sep 2003 11:35:04 GMT
Anthony Howe wrote:

>> flock is used on FreeBSD by default...  flock requires that chmod be 
>> done on the lock in the child init
>>
>> if you look at Apache 2.1-dev, unixd_set_global_mutex_perms() has been 
>> changed to handle the chmod() for you
> 
> 
> You mean chown() right?  Or do you mean both chmod() and chown()?

oops, I meant chown()...  maybe you want to have a look at unixd.c
(http://cvs.apache.org/viewcvs.cgi/httpd-2.0/os/unix/unixd.c?annotate=1.58)
to see special handling required for flock and sysvsem mutexes...




Mime
View raw message