summaryrefslogtreecommitdiffstats
path: root/hide_selinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'hide_selinux.c')
-rw-r--r--hide_selinux.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/hide_selinux.c b/hide_selinux.c
new file mode 100644
index 0000000..d34be1a
--- /dev/null
+++ b/hide_selinux.c
@@ -0,0 +1,8 @@
+/*
+ * make it possible to start a testing OpenSSH server with SELinux
+ * in the enforcing mode (#521087)
+ */
+int security_getenforce(void)
+{
+ return 0;
+}