diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2014-02-12 01:29:54 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-02-12 18:30:36 +0100 |
commit | c0467cf387548dc98c0254f63553d862b35a84e5 (patch) | |
tree | 6ea69e522b79a81e5d7f1685ddbe50675ec0137c /src/core/build.h | |
parent | c6f7b693fedfd822febc219868fc810c32d458c5 (diff) |
syscallfilter: port to libseccomp
Diffstat (limited to 'src/core/build.h')
-rw-r--r-- | src/core/build.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/build.h b/src/core/build.h index 4513a0bad7..f04f03f60d 100644 --- a/src/core/build.h +++ b/src/core/build.h @@ -81,4 +81,10 @@ #define _XZ_FEATURE_ "-XZ" #endif -#define SYSTEMD_FEATURES _PAM_FEATURE_ " " _LIBWRAP_FEATURE_ " " _AUDIT_FEATURE_ " " _SELINUX_FEATURE_ " " _IMA_FEATURE_ " " _SYSVINIT_FEATURE_ " " _LIBCRYPTSETUP_FEATURE_ " " _GCRYPT_FEATURE_ " " _ACL_FEATURE_ " " _XZ_FEATURE_ +#ifdef HAVE_SECCOMP +#define _SECCOMP_FEATURE_ "+SECCOMP" +#else +#define _SECCOMP_FEATURE_ "-SECCOMP" +#endif + +#define SYSTEMD_FEATURES _PAM_FEATURE_ " " _LIBWRAP_FEATURE_ " " _AUDIT_FEATURE_ " " _SELINUX_FEATURE_ " " _IMA_FEATURE_ " " _SYSVINIT_FEATURE_ " " _LIBCRYPTSETUP_FEATURE_ " " _GCRYPT_FEATURE_ " " _ACL_FEATURE_ " " _XZ_FEATURE_ _SECCOMP_FEATURE_ |