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.

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

Search parent directory to be able to interact with targets content.
This commit is contained in:
Dominick Grift 2010-09-17 09:43:44 +02:00
parent 89bb445d84
commit 1e92803c62
9 changed files with 17 additions and 5 deletions

View File

@ -109,6 +109,7 @@ interface(`boinc_manage_var_lib',`
type boinc_var_lib_t;
')
files_search_var_lib($1)
manage_dirs_pattern($1, boinc_var_lib_t, boinc_var_lib_t)
manage_files_pattern($1, boinc_var_lib_t, boinc_var_lib_t)
manage_lnk_files_pattern($1, boinc_var_lib_t, boinc_var_lib_t)

View File

@ -33,6 +33,7 @@ interface(`clamav_stream_connect',`
type clamd_t, clamd_var_run_t;
')
files_search_pids($1)
stream_connect_pattern($1, clamd_var_run_t, clamd_var_run_t, clamd_t)
')

View File

@ -138,6 +138,7 @@ interface(`courier_read_config',`
type courier_etc_t;
')
files_search_etc($1)
read_files_pattern($1, courier_etc_t, courier_etc_t)
')
@ -157,6 +158,7 @@ interface(`courier_manage_spool_dirs',`
type courier_spool_t;
')
files_search_spool($1)
manage_dirs_pattern($1, courier_spool_t, courier_spool_t)
')
@ -176,6 +178,7 @@ interface(`courier_manage_spool_files',`
type courier_spool_t;
')
files_search_spool($1)
manage_files_pattern($1, courier_spool_t, courier_spool_t)
')
@ -194,6 +197,7 @@ interface(`courier_read_spool',`
type courier_spool_t;
')
files_search_spool($1)
read_files_pattern($1, courier_spool_t, courier_spool_t)
')

View File

@ -522,6 +522,7 @@ interface(`cron_manage_pid_files',`
type crond_var_run_t;
')
files_search_pids($1)
manage_files_pattern($1, crond_var_run_t, crond_var_run_t)
')
@ -693,6 +694,7 @@ interface(`cron_read_system_job_lib_files',`
type system_cronjob_var_lib_t;
')
files_search_var_lib($1)
read_files_pattern($1, system_cronjob_var_lib_t, system_cronjob_var_lib_t)
')
@ -711,5 +713,6 @@ interface(`cron_manage_system_job_lib_files',`
type system_cronjob_var_lib_t;
')
files_search_var_lib($1)
manage_files_pattern($1, system_cronjob_var_lib_t, system_cronjob_var_lib_t)
')

View File

@ -521,6 +521,7 @@ interface(`dbus_delete_pid_files',`
type system_dbusd_var_run_t;
')
files_search_pids($1)
delete_files_pattern($1, system_dbusd_var_run_t, system_dbusd_var_run_t)
')

View File

@ -168,6 +168,6 @@ interface(`dcc_stream_connect_dccifd',`
type dcc_var_t, dccifd_var_run_t, dccifd_t;
')
files_search_var($1)
files_search_pids($1)
stream_connect_pattern($1, dcc_var_t, dccifd_var_run_t, dccifd_t)
')

View File

@ -150,6 +150,7 @@ interface(`dnsmasq_delete_pid_files',`
type dnsmasq_var_run_t;
')
files_search_pids($1)
delete_files_pattern($1, dnsmasq_var_run_t, dnsmasq_var_run_t)
')
@ -169,6 +170,7 @@ interface(`dnsmasq_read_pid_files',`
type dnsmasq_var_run_t;
')
files_search_pids($1)
read_files_pattern($1, dnsmasq_var_run_t, dnsmasq_var_run_t)
')

View File

@ -15,6 +15,7 @@ interface(`dovecot_stream_connect_auth',`
type dovecot_auth_t, dovecot_var_run_t;
')
files_search_pids($1)
stream_connect_pattern($1, dovecot_var_run_t, dovecot_var_run_t, dovecot_auth_t)
')
@ -51,6 +52,7 @@ interface(`dovecot_manage_spool',`
type dovecot_spool_t;
')
files_search_spool($1)
manage_files_pattern($1, dovecot_spool_t, dovecot_spool_t)
manage_lnk_files_pattern($1, dovecot_spool_t, dovecot_spool_t)
')

View File

@ -62,14 +62,13 @@ interface(`qmail_domtrans_inject',`
type qmail_inject_t, qmail_inject_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, qmail_inject_exec_t, qmail_inject_t)
ifdef(`distro_debian',`
files_search_usr($1)
corecmd_search_bin($1)
',`
files_search_var($1)
corecmd_search_bin($1)
')
')
@ -88,14 +87,13 @@ interface(`qmail_domtrans_queue',`
type qmail_queue_t, qmail_queue_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, qmail_queue_exec_t, qmail_queue_t)
ifdef(`distro_debian',`
files_search_usr($1)
corecmd_search_bin($1)
',`
files_search_var($1)
corecmd_search_bin($1)
')
')