Search parent directory to be able to interact with targets content.

Search parent directory to be able to interact with targets content.

Search parent directory to be able to interact with targets content.

Search parent directory to be able to interact with targets content.

Search parent directory to be able to interact with targets content.

Search parent directory to be able to interact with targets content.

Search parent directory to be able to interact with targets content.

Search parent directory to be able to interact with targets content.

Fix typo.
Squash me with f7691806b4a54f3debfabaa403e1472acc17427e
This commit is contained in:
Dominick Grift 2010-09-20 11:59:51 +02:00
parent dc47bf2b65
commit ce87242fca
8 changed files with 15 additions and 0 deletions

View File

@ -16,6 +16,7 @@ interface(`gpm_stream_connect',`
type gpmctl_t, gpm_t;
')
dev_list_all_dev_nodes($1)
stream_connect_pattern($1, gpmctl_t, gpmctl_t, gpm_t)
')

View File

@ -93,6 +93,7 @@ interface(`inn_read_config',`
type innd_etc_t;
')
files_search_etc($1)
allow $1 innd_etc_t:dir list_dir_perms;
allow $1 innd_etc_t:file read_file_perms;
allow $1 innd_etc_t:lnk_file read_lnk_file_perms;
@ -113,6 +114,7 @@ interface(`inn_read_news_lib',`
type innd_var_lib_t;
')
files_search_var_lib($1)
allow $1 innd_var_lib_t:dir list_dir_perms;
allow $1 innd_var_lib_t:file read_file_perms;
allow $1 innd_var_lib_t:lnk_file read_lnk_file_perms;
@ -133,6 +135,7 @@ interface(`inn_read_news_spool',`
type news_spool_t;
')
files_search_spool($1)
allow $1 news_spool_t:dir list_dir_perms;
allow $1 news_spool_t:file read_file_perms;
allow $1 news_spool_t:lnk_file read_lnk_file_perms;

View File

@ -111,5 +111,6 @@ interface(`kerneloops_admin',`
role_transition $2 kerneloops_initrc_exec_t system_r;
allow $2 system_r;
files_search_tmp($1)
admin_pattern($1, kerneloops_tmp_t)
')

View File

@ -187,6 +187,7 @@ interface(`ldap_admin',`
admin_pattern($1, slapd_lock_t)
files_list_var_lib($1)
admin_pattern($1, slapd_replog_t)
files_list_tmp($1)

View File

@ -59,6 +59,7 @@ interface(`milter_stream_connect_all',`
attribute milter_data_type, milter_domains;
')
files_search_pids($1)
stream_connect_pattern($1, milter_data_type, milter_data_type, milter_domains)
')

View File

@ -197,6 +197,7 @@ interface(`mpd_var_lib_filetrans',`
type mpd_var_lib_t;
')
files_search_var_lib($1)
filetrans_pattern($1, mpd_var_lib_t, $2, $3)
')

View File

@ -344,13 +344,17 @@ interface(`mysql_admin',`
role_transition $2 mysqld_initrc_exec_t system_r;
allow $2 system_r;
files_list_pids($1)
admin_pattern($1, mysqld_var_run_t)
admin_pattern($1, mysqld_db_t)
files_list_etc($1)
admin_pattern($1, mysqld_etc_t)
logging_list_logs($1)
admin_pattern($1, mysqld_log_t)
files_list_tmp($1)
admin_pattern($1, mysqld_tmp_t)
')

View File

@ -33,6 +33,7 @@ interface(`nx_read_home_files',`
type nx_server_home_ssh_t, nx_server_var_lib_t;
')
files_search_var_lib($1)
allow $1 nx_server_var_lib_t:dir search_dir_perms;
read_files_pattern($1, nx_server_home_ssh_t, nx_server_home_ssh_t)
read_lnk_files_pattern($1, nx_server_home_ssh_t, nx_server_home_ssh_t)
@ -53,6 +54,7 @@ interface(`nx_search_var_lib',`
type nx_server_var_lib_t;
')
files_search_var_lib($1)
allow $1 nx_server_var_lib_t:dir search_dir_perms;
')
@ -82,5 +84,6 @@ interface(`nx_var_lib_filetrans',`
type nx_server_var_lib_t;
')
files_search_var_lib($1)
filetrans_pattern($1, nx_server_var_lib_t, $2, $3)
')