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_SYSV_COMPAT
61 #define _SYSVINIT_FEATURE_ "+SYSVINIT"
63 #define _SYSVINIT_FEATURE_ "-SYSVINIT"
67 #define _UTMP_FEATURE_ "+UTMP"
69 #define _UTMP_FEATURE_ "-UTMP"
72 #ifdef HAVE_LIBCRYPTSETUP
73 #define _LIBCRYPTSETUP_FEATURE_ "+LIBCRYPTSETUP"
75 #define _LIBCRYPTSETUP_FEATURE_ "-LIBCRYPTSETUP"
79 #define _GCRYPT_FEATURE_ "+GCRYPT"
81 #define _GCRYPT_FEATURE_ "-GCRYPT"
85 #define _GNUTLS_FEATURE_ "+GNUTLS"
87 #define _GNUTLS_FEATURE_ "-GNUTLS"
91 #define _ACL_FEATURE_ "+ACL"
93 #define _ACL_FEATURE_ "-ACL"
97 #define _XZ_FEATURE_ "+XZ"
99 #define _XZ_FEATURE_ "-XZ"
103 #define _LZ4_FEATURE_ "+LZ4"
105 #define _LZ4_FEATURE_ "-LZ4"
109 #define _SECCOMP_FEATURE_ "+SECCOMP"
111 #define _SECCOMP_FEATURE_ "-SECCOMP"
115 #define _BLKID_FEATURE_ "+BLKID"
117 #define _BLKID_FEATURE_ "-BLKID"
121 #define _ELFUTILS_FEATURE_ "+ELFUTILS"
123 #define _ELFUTILS_FEATURE_ "-ELFUTILS"
127 #define _KMOD_FEATURE_ "+KMOD"
129 #define _KMOD_FEATURE_ "-KMOD"
133 #define _IDN_FEATURE_ "+IDN"
135 #define _IDN_FEATURE_ "-IDN"
138 #define SYSTEMD_FEATURES \
140 _AUDIT_FEATURE_ " " \
141 _SELINUX_FEATURE_ " " \
143 _APPARMOR_FEATURE_ " " \
144 _SMACK_FEATURE_ " " \
145 _SYSVINIT_FEATURE_ " " \
147 _LIBCRYPTSETUP_FEATURE_ " " \
148 _GCRYPT_FEATURE_ " " \
149 _GNUTLS_FEATURE_ " " \
153 _SECCOMP_FEATURE_ " " \
154 _BLKID_FEATURE_ " " \
155 _ELFUTILS_FEATURE_ " " \