Skip to contentSkip to conversation

logwatch sends syslog messages and reads netlink_route_socket.

PATCH Daniel J Walsh 2 participants 2 messages Mar 23, 2007 – Apr 10, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw
policy/modules/admin/logwatch.te +2 -0
@@ -30,6 +30,7 @@
 allow logwatch_t self:process signal;
 allow logwatch_t self:fifo_file rw_file_perms;
 allow logwatch_t self:unix_stream_socket create_stream_socket_perms;
+allow logwatch_t self:netlink_route_socket r_netlink_socket_perms; 
 
 manage_dirs_pattern(logwatch_t,logwatch_cache_t,logwatch_cache_t)
 manage_files_pattern(logwatch_t,logwatch_cache_t,logwatch_cache_t)
@@ -80,6 +81,7 @@
 libs_read_lib_files(logwatch_t)
 
 logging_read_all_logs(logwatch_t)
+logging_send_syslog_msg(logwatch_t) 
 
 miscfiles_read_localization(logwatch_t)
 
#1 lore raw
Quoted 11 lines · Daniel J Walsh
policy/modules/admin/logwatch.te 2007-03-22 15:06:58.000000000 -0400 renamed from policy/modules/admin/logwatch.te 2007-02-19 11:32:54.000000000 -0500 +1 -0
@@ -30,6 +30,7 @@
 allow logwatch_t self:process signal;
 allow logwatch_t self:fifo_file rw_file_perms;
 allow logwatch_t self:unix_stream_socket create_stream_socket_perms;
+allow logwatch_t self:netlink_route_socket r_netlink_socket_perms; 
 
 manage_dirs_pattern(logwatch_t,logwatch_cache_t,logwatch_cache_t)
 manage_files_pattern(logwatch_t,logwatch_cache_t,logwatch_cache_t)

policy/modules/admin/logwatch.te 2007-03-22 15:06:58.000000000 -0400 line 86

Quoted 6 lines
policy/modules/admin/logwatch.te 2007-03-22 15:06:58.000000000 -0400 renamed from policy/modules/admin/logwatch.te 2007-02-19 11:32:54.000000000 -0500 +1 -0
@@ -80,6 +81,7 @@
 libs_read_lib_files(logwatch_t)
 
 logging_read_all_logs(logwatch_t)
+logging_send_syslog_msg(logwatch_t) 
 
 miscfiles_read_localization(logwatch_t)

Merged.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.