summaryrefslogtreecommitdiffstats
path: root/plugins/omoracle
diff options
context:
space:
mode:
authorLuis Fernando Muñoz Mejías <Luis.Fernando.Munoz.Mejias@cern.ch>2009-03-30 10:39:37 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-04-01 18:20:30 +0200
commit56bf679723f2821d0f66339b95d847f1e4ddc17b (patch)
tree4de58a5942e725e903660394bcd88a4d997c7c4f /plugins/omoracle
parentd702d3f6ff1540691aae29012dd142212e0eb04c (diff)
downloadrsyslog-56bf679723f2821d0f66339b95d847f1e4ddc17b.tar.gz
rsyslog-56bf679723f2821d0f66339b95d847f1e4ddc17b.tar.xz
rsyslog-56bf679723f2821d0f66339b95d847f1e4ddc17b.zip
Add a SELinux policy that allows the module to load on RHEL5.
Diffstat (limited to 'plugins/omoracle')
-rw-r--r--plugins/omoracle/omoracle.te13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/omoracle/omoracle.te b/plugins/omoracle/omoracle.te
new file mode 100644
index 00000000..81eb6cf1
--- /dev/null
+++ b/plugins/omoracle/omoracle.te
@@ -0,0 +1,13 @@
+
+module omoracle 1.0;
+
+require {
+ type syslogd_t;
+ type port_t;
+ class process { execstack execmem };
+ class tcp_socket name_connect;
+}
+
+#============= syslogd_t ==============
+allow syslogd_t port_t:tcp_socket name_connect;
+allow syslogd_t self:process { execstack execmem };