summaryrefslogtreecommitdiff
path: root/src/shared/selinux-util.h
diff options
context:
space:
mode:
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);