1 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
6 This file is part of systemd.
8 Copyright 2010 Lennart Poettering
10 systemd is free software; you can redistribute it and/or modify it
11 under the terms of the GNU Lesser General Public License as published by
12 the Free Software Foundation; either version 2.1 of the License, or
13 (at your option) any later version.
15 systemd is distributed in the hope that it will be useful, but
16 WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
20 You should have received a copy of the GNU Lesser General Public License
21 along with systemd; If not, see <http://www.gnu.org/licenses/>.
25 #define _PAM_FEATURE_ "+PAM"
27 #define _PAM_FEATURE_ "-PAM"
31 #define _AUDIT_FEATURE_ "+AUDIT"
33 #define _AUDIT_FEATURE_ "-AUDIT"
37 #define _SELINUX_FEATURE_ "+SELINUX"
39 #define _SELINUX_FEATURE_ "-SELINUX"
43 #define _APPARMOR_FEATURE_ "+APPARMOR"
45 #define _APPARMOR_FEATURE_ "-APPARMOR"
49 #define _IMA_FEATURE_ "+IMA"
51 #define _IMA_FEATURE_ "-IMA"
55 #define _SMACK_FEATURE_ "+SMACK"
57 #define _SMACK_FEATURE_ "-SMACK"
60 #ifdef HAVE_LIBCRYPTSETUP
61 #define _LIBCRYPTSETUP_FEATURE_ "+LIBCRYPTSETUP"
63 #define _LIBCRYPTSETUP_FEATURE_ "-LIBCRYPTSETUP"
67 #define _GCRYPT_FEATURE_ "+GCRYPT"
69 #define _GCRYPT_FEATURE_ "-GCRYPT"
73 #define _GNUTLS_FEATURE_ "+GNUTLS"
75 #define _GNUTLS_FEATURE_ "-GNUTLS"
79 #define _ACL_FEATURE_ "+ACL"
81 #define _ACL_FEATURE_ "-ACL"
85 #define _XZ_FEATURE_ "+XZ"
87 #define _XZ_FEATURE_ "-XZ"
91 #define _LZ4_FEATURE_ "+LZ4"
93 #define _LZ4_FEATURE_ "-LZ4"
97 #define _SECCOMP_FEATURE_ "+SECCOMP"
99 #define _SECCOMP_FEATURE_ "-SECCOMP"
103 #define _BLKID_FEATURE_ "+BLKID"
105 #define _BLKID_FEATURE_ "-BLKID"
109 #define _ELFUTILS_FEATURE_ "+ELFUTILS"
111 #define _ELFUTILS_FEATURE_ "-ELFUTILS"
115 #define _KMOD_FEATURE_ "+KMOD"
117 #define _KMOD_FEATURE_ "-KMOD"
121 #define _IDN_FEATURE_ "+IDN"
123 #define _IDN_FEATURE_ "-IDN"
126 #define SYSTEMD_FEATURES \
128 _AUDIT_FEATURE_ " " \
129 _SELINUX_FEATURE_ " " \
131 _APPARMOR_FEATURE_ " " \
132 _SMACK_FEATURE_ " " \
133 _LIBCRYPTSETUP_FEATURE_ " " \
134 _GCRYPT_FEATURE_ " " \
135 _GNUTLS_FEATURE_ " " \
139 _SECCOMP_FEATURE_ " " \
140 _BLKID_FEATURE_ " " \
141 _ELFUTILS_FEATURE_ " " \