]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Unix: Handle permissions settings for flock-based mutexes in
authorJeff Trawick <trawick@apache.org>
Sat, 7 Jun 2003 19:50:01 +0000 (19:50 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 7 Jun 2003 19:50:01 +0000 (19:50 +0000)
commit4f1d91103317586cfd1ec8a5dd25156745b30ba0
treef93ea1fd48c84ec09f14a8bfa96f8bd0cded9eb5
parent31864b8885115cc391eef12952f3d213441ab25c
Unix: Handle permissions settings for flock-based mutexes in
unixd_set_global|proc_mutex_perms().  Allow the functions to be
called for any type of mutex.

This resolves a fatal problem with mod_rewrite on systems where
APR uses flock-based mutex.

It simplifies mod_ssl as well, which had special logic to perform
the chown().  It fixed an init error with mod_ssl on systems where
flock is used when the user had no SSLMutex directive.

The Unix MPMs continue to call unixd_set_global|proc_mutex_perms()
only for SysV sems.  There is no permission problem with flock-based
accept mutexes since the child init logic for the MPMs is done
prior to switching identity.

PR:              20312

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@100189 13f79535-47bb-0310-9956-ffa450edef68
mod_ssl.h
ssl_engine_config.c
ssl_engine_mutex.c