Fix: cleanup local_apps.allowed flag on lib cleanup
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 14 Jul 2016 16:21:13 +0000 (12:21 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 14 Jul 2016 16:22:46 +0000 (12:22 -0400)
commitce51a2bccc437266e81105b67769ec8feda45192
treea5cc29ee27d9d66275956633c4b7904cdc9aa9fe
parent8ec12503e335b8c3e9bfde94a77cbbe844ab978f
Fix: cleanup local_apps.allowed flag on lib cleanup

In case of applications using fork/clone, which drop their privileges,
we need to clear the local_apps.allowed flag, otherwise those
application get an assertion when using the liblttng-ust-fork helper:

e.g.
varnishd: lttng-ust-comm.c:423: setup_local_apps: Assertion `local_apps.allowed == 0' failed.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-ust-comm.c
This page took 0.030265 seconds and 4 git commands to generate.