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:48 +0000 (12:22 -0400)
commit18e3b2499220328c36db4ade4a6d28c283af1e88
tree4e02cc8fbed771f5d7b88d6c0ddd1c70b3980bb8
parentcb5925aaaf0950d2a14dd36da7e65b4049c18743
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.02477 seconds and 4 git commands to generate.