fix: pthread_setname_np fails on longer tread names
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 16 Oct 2020 19:44:36 +0000 (15:44 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 16 Oct 2020 20:28:02 +0000 (16:28 -0400)
commitf2db7517e508d970c8a5bebfb05334dc5ee72b87
tree2c31da26907e02e893e66f07c45684c2a5c939c3
parentb72687b85f4f07a9b63be329ad1fe95b36d24900
fix: pthread_setname_np fails on longer tread names

When supplied with a thread name of more than 16 bytes including the
null terminating byte pthread_setname_np will fail with ERANGE,
replicate this behavior in the compat wrappers.

Change-Id: I91ac35a400a39c297e49fcab83b4f345b7ad92d0
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/compat.h
This page took 0.024487 seconds and 5 git commands to generate.