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:58:09 +0000 (09:58 -0400)
commit8aadb54abbf7c13e8eb8f0554c517c6bfbc9ea0c
treeede62331c4a3688a91212398ca738b6ce4cbd53d
parent664ccf245fcb343e1ea10e145bab3749423e9d0f
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.027561 seconds and 4 git commands to generate.