summaryrefslogtreecommitdiffstats
path: root/support-files/policy/selinux/mariadb.te
diff options
context:
space:
mode:
Diffstat (limited to 'support-files/policy/selinux/mariadb.te')
-rw-r--r--support-files/policy/selinux/mariadb.te9
1 files changed, 9 insertions, 0 deletions
diff --git a/support-files/policy/selinux/mariadb.te b/support-files/policy/selinux/mariadb.te
new file mode 100644
index 00000000..1d3de52c
--- /dev/null
+++ b/support-files/policy/selinux/mariadb.te
@@ -0,0 +1,9 @@
+module mariadb 1.0;
+
+require {
+ type mysqld_safe_t;
+ class capability { setuid setgid };
+}
+
+#============= mysqld_safe_t ==============
+allow mysqld_safe_t self:capability { setuid setgid };