Fix: remove assertions in lttng-ust-comm init
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 16 Mar 2016 13:55:10 +0000 (09:55 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 16 Mar 2016 13:59:21 +0000 (09:59 -0400)
Assertions in the lttng-ust-comm init function are slightly too harsh
for their own good. In situations involving incoherent seccomp profiles
(e.g. accepting futex, poll, nanosleep, clock_nanosleep, but not
restart_syscall), unexpected errno values can be returned by
sem_timedwait.

Print an error in those situations, but let the application proceed.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.024799 seconds and 4 git commands to generate.