summaryrefslogtreecommitdiff
path: root/src/shared/selinux-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-10-23 17:34:30 +0200
committerAnthony G. Basile <blueness@gentoo.org>2014-10-25 14:03:47 -0400
commitd9c4f21a139e999f25a68ec9742350efe6d1ad06 (patch)
treeed4e460bf9a44989158651403fcbde13f768bdd0 /src/shared/selinux-util.h
parent538bf2441fa44b423c8bdf9d9c70b021c3f3334f (diff)
mac: also rename use_{smack,selinux,apparmor}() calls so that they share the new mac_{smack,selinux,apparmor}_xyz() convention
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/selinux-util.h')
-rw-r--r--src/shared/selinux-util.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/shared/selinux-util.h b/src/shared/selinux-util.h
index e6637f3fe5..d34efb977e 100644
--- a/src/shared/selinux-util.h
+++ b/src/shared/selinux-util.h
@@ -23,13 +23,14 @@
#include <stdio.h>
#include <stdbool.h>
-bool use_selinux(void);
-void retest_selinux(void);
+bool mac_selinux_use(void);
+void mac_selinux_retest(void);
int mac_selinux_init(const char *prefix);
-int mac_selinux_fix(const char *path, bool ignore_enoent, bool ignore_erofs);
void mac_selinux_finish(void);
+int mac_selinux_fix(const char *path, bool ignore_enoent, bool ignore_erofs);
+
int mac_selinux_socket_set(const char *label);
void mac_selinux_socket_clear(void);