summaryrefslogtreecommitdiff
path: root/src/selinux-setup.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-27 05:47:02 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-27 05:47:02 +0200
commitc4dcdb9f4785937f2b73700e66b8cafa452f60a7 (patch)
tree6f4fc5d360c6ffff57f911e580c6747800958baa /src/selinux-setup.h
parentade509ce73ba1de3bcda8b012961a3045f721df7 (diff)
selinux: automatically load policy if the initrd hasn't done this for us yet
Diffstat (limited to 'src/selinux-setup.h')
-rw-r--r--src/selinux-setup.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/selinux-setup.h b/src/selinux-setup.h
new file mode 100644
index 0000000000..53dbb65f3e
--- /dev/null
+++ b/src/selinux-setup.h
@@ -0,0 +1,27 @@
+/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
+
+#ifndef fooselinuxsetuphfoo
+#define fooselinuxsetuphfoo
+
+/***
+ This file is part of systemd.
+
+ Copyright 2010 Lennart Poettering
+
+ systemd is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ systemd is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with systemd; If not, see <http://www.gnu.org/licenses/>.
+***/
+
+int selinux_setup(char *const argv[]);
+
+#endif