Code

src/daemon/common.c: Rewrite check_capability() using cap_get_bound().
authorFlorian Forster <octo@collectd.org>
Fri, 28 Oct 2016 13:04:11 +0000 (15:04 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 28 Oct 2016 13:04:11 +0000 (15:04 +0200)
commit58acba67f2a814698e7ebef1c00ec35fa21ef740
treefe6edad2c80ed8264b503eda0f9655cd7598e03f
parent893f08e3e00a142fc7f0670c7992ff72b54f30fb
src/daemon/common.c: Rewrite check_capability() using cap_get_bound().

capget(2) is Linux specific and the use of the raw syscalls is
discouraged. Also, there have been interesting crashes on some systems.

Issue: #2009
configure.ac
src/daemon/Makefile.am
src/daemon/common.c