summaryrefslogtreecommitdiffstats
path: root/hide_selinux.c
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-07-24 17:06:51 +0200
committerRemi Collet <fedora@famillecollet.com>2011-07-24 17:06:51 +0200
commit8ab3fd7000cb3a2a291ddcac16992c2887b61c4e (patch)
tree34978d9f18f38127c07e98fb7b5af5205172470e /hide_selinux.c
import curl 7.21.7 from rawhide
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;
+}