Whitespace, newline and tab fixes.

Whitespace, newline and tab fixes.

Whitespace, newline and tab fixes.

Whitespace, newline and tab fixes.

Whitespace, newline and tab fixes.

Whitespace, newline and tab fixes.

Whitespace, newline and tab fixes.

Whitespace, newline and tab fixes.

Whitespace, newline and tab fixes.

Whitespace, newline and tab fixes.

Whitespace, newline and tab fixes.

Signed-off-by: Dominick Grift <domg472@gmail.com>

Whitespace, newline and tab fixes.

Whitespace, newline and tab fixes.

Whitespace, newline and tab fixes.

Whitespace, newline and tab fixes.

Whitespace, newline and tab fixes.
This commit is contained in:
Dominick Grift 2010-09-16 08:24:26 +02:00
parent 59c0340548
commit dcf87460eb
18 changed files with 74 additions and 84 deletions

View File

@ -722,6 +722,7 @@ template(`samba_helper_template',`
gen_require(` gen_require(`
type smbd_t; type smbd_t;
') ')
#This type is for samba helper scripts #This type is for samba helper scripts
type samba_$1_script_t; type samba_$1_script_t;
domain_type(samba_$1_script_t) domain_type(samba_$1_script_t)
@ -734,7 +735,6 @@ template(`samba_helper_template',`
domtrans_pattern(smbd_t, samba_$1_script_exec_t, samba_$1_script_t) domtrans_pattern(smbd_t, samba_$1_script_exec_t, samba_$1_script_t)
allow smbd_t samba_$1_script_exec_t:file ioctl; allow smbd_t samba_$1_script_exec_t:file ioctl;
') ')
######################################## ########################################
@ -760,16 +760,12 @@ interface(`samba_admin',`
type smbd_t, smbd_tmp_t; type smbd_t, smbd_tmp_t;
type smbd_var_run_t; type smbd_var_run_t;
type samba_initrc_exec_t; type samba_initrc_exec_t;
type samba_log_t, samba_var_t; type samba_log_t, samba_var_t;
type samba_etc_t, samba_share_t; type samba_etc_t, samba_share_t;
type samba_secrets_t; type samba_secrets_t;
type swat_var_run_t, swat_tmp_t; type swat_var_run_t, swat_tmp_t;
type winbind_var_run_t, winbind_tmp_t; type winbind_var_run_t, winbind_tmp_t;
type winbind_log_t; type winbind_log_t;
type samba_unconfined_script_t, samba_unconfined_script_exec_t; type samba_unconfined_script_t, samba_unconfined_script_exec_t;
') ')

View File

@ -63,7 +63,7 @@ interface(`sendmail_domtrans',`
## </summary> ## </summary>
## </param> ## </param>
# #
interface(`sendmail_initrc_domtrans', ` interface(`sendmail_initrc_domtrans',`
gen_require(` gen_require(`
type sendmail_initrc_exec_t; type sendmail_initrc_exec_t;
') ')

View File

@ -82,6 +82,7 @@ interface(`snmp_dontaudit_read_snmp_var_lib_files',`
gen_require(` gen_require(`
type snmpd_var_lib_t; type snmpd_var_lib_t;
') ')
dontaudit $1 snmpd_var_lib_t:dir list_dir_perms; dontaudit $1 snmpd_var_lib_t:dir list_dir_perms;
dontaudit $1 snmpd_var_lib_t:file read_file_perms; dontaudit $1 snmpd_var_lib_t:file read_file_perms;
dontaudit $1 snmpd_var_lib_t:lnk_file read_lnk_file_perms; dontaudit $1 snmpd_var_lib_t:lnk_file read_lnk_file_perms;

View File

@ -59,7 +59,6 @@ interface(`spamassassin_exec',`
') ')
can_exec($1, spamassassin_exec_t) can_exec($1, spamassassin_exec_t)
') ')
######################################## ########################################

View File

@ -32,7 +32,6 @@
## </param> ## </param>
# #
template(`ssh_basic_client_template',` template(`ssh_basic_client_template',`
gen_require(` gen_require(`
attribute ssh_server; attribute ssh_server;
type ssh_exec_t, sshd_key_t, sshd_tmp_t; type ssh_exec_t, sshd_key_t, sshd_tmp_t;
@ -167,7 +166,7 @@ template(`ssh_basic_client_template',`
## </summary> ## </summary>
## </param> ## </param>
# #
template(`ssh_server_template', ` template(`ssh_server_template',`
type $1_t, ssh_server; type $1_t, ssh_server;
auth_login_pgm_domain($1_t) auth_login_pgm_domain($1_t)
@ -305,7 +304,6 @@ template(`ssh_server_template', `
template(`ssh_role_template',` template(`ssh_role_template',`
gen_require(` gen_require(`
attribute ssh_server, ssh_agent_type; attribute ssh_server, ssh_agent_type;
type ssh_t, ssh_exec_t, ssh_tmpfs_t, ssh_home_t; type ssh_t, ssh_exec_t, ssh_tmpfs_t, ssh_home_t;
type ssh_agent_exec_t, ssh_keysign_t, ssh_tmpfs_t; type ssh_agent_exec_t, ssh_keysign_t, ssh_tmpfs_t;
type ssh_agent_tmp_t; type ssh_agent_tmp_t;
@ -487,6 +485,7 @@ interface(`ssh_read_pipes',`
allow $1 sshd_t:fifo_file read_fifo_file_perms; allow $1 sshd_t:fifo_file read_fifo_file_perms;
') ')
######################################## ########################################
## <summary> ## <summary>
## Read and write a ssh server unnamed pipe. ## Read and write a ssh server unnamed pipe.
@ -592,7 +591,6 @@ interface(`ssh_domtrans',`
domtrans_pattern($1, sshd_exec_t, sshd_t) domtrans_pattern($1, sshd_exec_t, sshd_t)
') ')
######################################## ########################################
## <summary> ## <summary>
## Execute sshd server in the sshd domain. ## Execute sshd server in the sshd domain.
@ -780,4 +778,3 @@ interface(`ssh_signull',`
allow $1 sshd_t:process signull; allow $1 sshd_t:process signull;
') ')

View File

@ -20,6 +20,6 @@ interface(`stunnel_service_domain',`
type stunnel_t; type stunnel_t;
') ')
domtrans_pattern(stunnel_t,$2,$1) domtrans_pattern(stunnel_t, $2, $1)
allow $1 stunnel_t:tcp_socket rw_socket_perms; allow $1 stunnel_t:tcp_socket rw_socket_perms;
') ')

View File

@ -20,7 +20,7 @@
## </summary> ## </summary>
## </param> ## </param>
# #
interface(`ucspitcp_service_domain', ` interface(`ucspitcp_service_domain',`
gen_require(` gen_require(`
type ucspitcp_t; type ucspitcp_t;
role system_r; role system_r;

View File

@ -169,7 +169,6 @@ interface(`varnishd_admin_varnishlog',`
logging_list_logs($1) logging_list_logs($1)
admin_pattern($1, varnishlog_log_t) admin_pattern($1, varnishlog_log_t)
') ')
####################################### #######################################
@ -215,5 +214,4 @@ interface(`varnishd_admin',`
files_search_tmp($1) files_search_tmp($1)
admin_pattern($1, varnishd_tmp_t) admin_pattern($1, varnishd_tmp_t)
') ')

View File

@ -221,5 +221,4 @@ interface(`vhostmd_admin',`
vhostmd_manage_tmpfs_files($1) vhostmd_manage_tmpfs_files($1)
vhostmd_manage_pid_files($1) vhostmd_manage_pid_files($1)
') ')