diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-11-30 00:41:05 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-11-30 00:41:05 +0100 |
commit | 8cb219bfdc0ae3763e19a0f96511f32f9b06e243 (patch) | |
tree | 1d4e6fc03a267b02e4e2df9257649dc099de628f /src/main.c | |
parent | c77bce46779cd2c9f25b7be78243f34a0ef1777e (diff) | |
download | connman-8cb219bfdc0ae3763e19a0f96511f32f9b06e243.tar.gz connman-8cb219bfdc0ae3763e19a0f96511f32f9b06e243.tar.bz2 connman-8cb219bfdc0ae3763e19a0f96511f32f9b06e243.zip |
Check for capabilities support via libcap-ng
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -34,6 +34,10 @@ #include <gdbus.h> +#ifdef HAVE_CAPNG +#include <cap-ng.h> +#endif + #include "connman.h" static GMainLoop *main_loop = NULL; @@ -109,6 +113,10 @@ int main(int argc, char *argv[]) struct sigaction sa; mode_t old_umask; +#ifdef HAVE_CAPNG + /* Drop capabilities */ +#endif + #ifdef NEED_THREADS if (g_thread_supported() == FALSE) g_thread_init(NULL); |