diff options
author | Luis Fernando Muñoz Mejías <Luis.Fernando.Munoz.Mejias@cern.ch> | 2009-03-30 10:39:37 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-01 18:20:30 +0200 |
commit | 56bf679723f2821d0f66339b95d847f1e4ddc17b (patch) | |
tree | 4de58a5942e725e903660394bcd88a4d997c7c4f /plugins/omoracle | |
parent | d702d3f6ff1540691aae29012dd142212e0eb04c (diff) | |
download | rsyslog-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.te | 13 |
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 }; |