Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2012 15:51:37 -0400
From:      Dan Langille <dan@langille.org>
To:        freebsd-apache@freebsd.org
Subject:   apr_global_mutex_child_init() fails with permission denied
Message-ID:  <065ED0F4-C02C-4B37-91DF-C5CCE91BF91C@langille.org>

next in thread | raw e-mail | index | archive | help
Folks,

I'm trying to get some software running with FreeBSD.  I have this =
function in the third party code:

      rc =3D apr_global_mutex_child_init((apr_global_mutex_t **) =
&tp->mutex, tp->lockfile, p);

Which always results in: Permission denied

It is created with:

rc =3D apr_global_mutex_create((apr_global_mutex_t **) &tp->mutex, =
tp->lockfile, shMutexMech, p);

followed by:

unixd_set_global_mutex_perms((apr_global_mutex_t *) tp->mutex);

Which should set things up properly

I have found similar problems, which relate to this issue, but don't =
know how to resolve it.

Anyone have experience in this area?

--=20
Dan Langille - http://langille.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?065ED0F4-C02C-4B37-91DF-C5CCE91BF91C>