diff options
author | Shawn Landden <slandden@gmail.com> | 2017-11-07 08:12:36 -0800 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-11-07 19:12:36 +0300 |
commit | ed440f6be935faeea3192c9509ef262fddb3fc33 (patch) | |
tree | be536fa8aa42930c75f401253ad57ccc0d5399bb /src/shared/tomoyo-util.h | |
parent | 4b742c8acdd0d6bf3f9e9664f22e355da762f49e (diff) | |
download | systemd-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.h | 24 |
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); |