summaryrefslogtreecommitdiff
path: root/src/shared/tomoyo-util.h
diff options
context:
space:
mode:
authorShawn Landden <slandden@gmail.com>2017-11-07 08:12:36 -0800
committerLennart Poettering <lennart@poettering.net>2017-11-07 19:12:36 +0300
commited440f6be935faeea3192c9509ef262fddb3fc33 (patch)
treebe536fa8aa42930c75f401253ad57ccc0d5399bb /src/shared/tomoyo-util.h
parent4b742c8acdd0d6bf3f9e9664f22e355da762f49e (diff)
downloadsystemd-ed440f6be935faeea3192c9509ef262fddb3fc33.tar.gz
condition: detect TOMOYO MAC (#7249)
TOMOYO is a Mandatory Access Control security module for Linux. Rather than ship rules, TOMOYO features a learning mode. http://tomoyo.osdn.jp/ http://tomoyo.osdn.jp/2.5/index.html.en
Diffstat (limited to 'src/shared/tomoyo-util.h')
-rw-r--r--src/shared/tomoyo-util.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/shared/tomoyo-util.h b/src/shared/tomoyo-util.h
new file mode 100644
index 0000000000..746e97c256
--- /dev/null
+++ b/src/shared/tomoyo-util.h
@@ -0,0 +1,24 @@
+#pragma once
+
+/***
+ This file is part of systemd.
+
+ Copyright 2017 Shawn Landden
+
+ systemd is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with systemd; If not, see <http://www.gnu.org/licenses/>.
+***/
+
+#include <stdbool.h>
+
+bool mac_tomoyo_use(void);