author | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 17 May 2016 05:36:34 +0000 (07:36 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 10 Aug 2016 06:07:33 +0000 (08:07 +0200) | ||
commit | 448627953cde2f7b3b138f53f4f2c62f0d48b726 | |
tree | c195f21c7bd508f515164efc6cccf0ed2d062eee | tree | snapshot |
parent | 43954e07f30d05b2da8319749400c9bf4d01c23c | commit | diff |
check_capability: explicitly target recent linux implementations
There are several, incompatible, capabilities implementations, all
exposed through `<sys/capability.h>`. Currently only Linux's V3
function and capability sets are supported.
This patch guards against using Linux-specific functions & capabilities
on other implementations, while structring the code to allow adding
support for them.
There are several, incompatible, capabilities implementations, all
exposed through `<sys/capability.h>`. Currently only Linux's V3
function and capability sets are supported.
This patch guards against using Linux-specific functions & capabilities
on other implementations, while structring the code to allow adding
support for them.
src/ceph.c | diff | blob | history | |
src/daemon/common.c | diff | blob | history | |
src/dns.c | diff | blob | history | |
src/exec.c | diff | blob | history | |
src/iptables.c | diff | blob | history | |
src/ping.c | diff | blob | history | |
src/turbostat.c | diff | blob | history |