[Ftp-release] [ANNOUNCE] libbsd 0.6.0 released

Guillem Jover guillem at hadrons.org
Sun Jul 14 05:28:52 PDT 2013


This release should finally fix all issues created with the introduction
of the setproctitle() implementation, by moving the automatic constructor
from the main libbsd library to a new libbsd-ctor static library. As
using the automatic constructor support in combination with dlopen() and
threaded programs or libraries is not safe at all, and this was causing
segfaults with samba NSS modules for example. Upgrading is strongly

There's now two methods to initialize the setproctitle machinery, either
implicitly like before but by using «pkg-config --libs libbsd-ctor» or by
explicitly calling setproctitle_init() (or the sendmail compatible
initsetproctitle()), although these need to get the source code modified
and are not portable to the BSDs.

A helpful warning will also be issued by setproctitle() when called prior
to any initialization to help spot that situation.

Git tag: 0.6.0

Source tarball:

GPG signature:

Checksums (MD5 and SHA1):
  f6c75f0a9818e323a589bcbd560a0eb4  libbsd-0.6.0.tar.xz
  1c52cda755f184f4a1f41b2e35a5f9b57300fbfd  libbsd-0.6.0.tar.xz

Changes since 0.5.2:

Guillem Jover (4):
      build: Move version ABI from Makefile to configure.ac
      Move setproctitle() automatic initialization to its own library
      Warn when setproctitle() gets called before initialization
      Release libbsd 0.6.0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/ftp-release/attachments/20130714/fb7252a3/attachment.pgp>

More information about the Ftp-release mailing list