summaryrefslogtreecommitdiff
path: root/support-files/SELinux/centos6-mariadb.te
diff options
context:
space:
mode:
Diffstat (limited to 'support-files/SELinux/centos6-mariadb.te')
-rw-r--r--support-files/SELinux/centos6-mariadb.te9
1 files changed, 9 insertions, 0 deletions
diff --git a/support-files/SELinux/centos6-mariadb.te b/support-files/SELinux/centos6-mariadb.te
new file mode 100644
index 00000000000..1d3de52c700
--- /dev/null
+++ b/support-files/SELinux/centos6-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 };