smokeping patch from Dan Walsh
"smokeping tries to read shadow"
This commit is contained in:
parent
781393fbe9
commit
820ba61d9b
@ -23,6 +23,7 @@ files_type(smokeping_var_lib_t)
|
||||
# smokeping local policy
|
||||
#
|
||||
|
||||
dontaudit smokeping_t self:capability { dac_read_search dac_override };
|
||||
allow smokeping_t self:fifo_file rw_fifo_file_perms;
|
||||
allow smokeping_t self:udp_socket create_socket_perms;
|
||||
allow smokeping_t self:unix_stream_socket create_stream_socket_perms;
|
||||
@ -44,6 +45,7 @@ files_read_usr_files(smokeping_t)
|
||||
files_search_tmp(smokeping_t)
|
||||
|
||||
auth_use_nsswitch(smokeping_t)
|
||||
auth_dontaudit_read_shadow(smokeping_t)
|
||||
|
||||
logging_send_syslog_msg(smokeping_t)
|
||||
|
||||
@ -63,6 +65,7 @@ optional_policy(`
|
||||
|
||||
allow httpd_smokeping_cgi_script_t self:udp_socket create_socket_perms;
|
||||
|
||||
manage_dirs_pattern(httpd_smokeping_cgi_script_t, smokeping_var_lib_t, smokeping_var_lib_t)
|
||||
manage_files_pattern(httpd_smokeping_cgi_script_t, smokeping_var_lib_t, smokeping_var_lib_t)
|
||||
|
||||
getattr_files_pattern(httpd_smokeping_cgi_script_t, smokeping_var_run_t, smokeping_var_run_t)
|
||||
|
Loading…
Reference in New Issue
Block a user