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)
commitbee355bbdd590902e6f065bf50d56ac83e36677a
tree2da7517671f8e42bdc29ac12c0bdd895383b0b4e
parent4df30a16a895d8c9e83dcf0935fc21a1626a658f
Fix: remove assertions in lttng-ust-comm init

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>
liblttng-ust/lttng-ust-comm.c
This page took 0.024155 seconds and 4 git commands to generate.