2005-12-01 18:50:00 +00:00
|
|
|
|
2007-06-29 14:48:13 +00:00
|
|
|
policy_module(i18n_input,1.4.0)
|
2005-12-01 18:50:00 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type i18n_input_t;
|
|
|
|
type i18n_input_exec_t;
|
|
|
|
init_daemon_domain(i18n_input_t,i18n_input_exec_t)
|
|
|
|
|
|
|
|
type i18n_input_var_run_t;
|
|
|
|
files_pid_file(i18n_input_var_run_t)
|
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# i18n_input local policy
|
|
|
|
#
|
|
|
|
|
|
|
|
allow i18n_input_t self:capability { kill setgid setuid };
|
|
|
|
dontaudit i18n_input_t self:capability sys_tty_config;
|
|
|
|
allow i18n_input_t self:process { signal_perms setsched setpgid };
|
2006-12-12 20:08:08 +00:00
|
|
|
allow i18n_input_t self:fifo_file rw_fifo_file_perms;
|
2005-12-01 18:50:00 +00:00
|
|
|
allow i18n_input_t self:unix_dgram_socket create_socket_perms;
|
|
|
|
allow i18n_input_t self:unix_stream_socket create_stream_socket_perms;
|
|
|
|
allow i18n_input_t self:tcp_socket create_stream_socket_perms;
|
|
|
|
allow i18n_input_t self:udp_socket create_socket_perms;
|
|
|
|
|
2006-12-12 20:08:08 +00:00
|
|
|
manage_dirs_pattern(i18n_input_t,i18n_input_var_run_t,i18n_input_var_run_t)
|
|
|
|
manage_files_pattern(i18n_input_t,i18n_input_var_run_t,i18n_input_var_run_t)
|
|
|
|
manage_sock_files_pattern(i18n_input_t,i18n_input_var_run_t,i18n_input_var_run_t)
|
2006-03-02 23:41:11 +00:00
|
|
|
files_pid_filetrans(i18n_input_t,i18n_input_var_run_t,file)
|
2005-12-01 18:50:00 +00:00
|
|
|
|
|
|
|
can_exec(i18n_input_t, i18n_input_exec_t)
|
|
|
|
|
2006-01-31 16:49:43 +00:00
|
|
|
kernel_read_kernel_sysctls(i18n_input_t)
|
2005-12-01 18:50:00 +00:00
|
|
|
kernel_read_system_state(i18n_input_t)
|
|
|
|
|
2007-06-27 15:23:21 +00:00
|
|
|
corenet_all_recvfrom_unlabeled(i18n_input_t)
|
|
|
|
corenet_all_recvfrom_netlabel(i18n_input_t)
|
2005-12-01 18:50:00 +00:00
|
|
|
corenet_tcp_sendrecv_generic_if(i18n_input_t)
|
|
|
|
corenet_udp_sendrecv_generic_if(i18n_input_t)
|
|
|
|
corenet_tcp_sendrecv_all_nodes(i18n_input_t)
|
|
|
|
corenet_udp_sendrecv_all_nodes(i18n_input_t)
|
|
|
|
corenet_tcp_sendrecv_all_ports(i18n_input_t)
|
|
|
|
corenet_udp_sendrecv_all_ports(i18n_input_t)
|
|
|
|
corenet_tcp_bind_all_nodes(i18n_input_t)
|
|
|
|
corenet_tcp_bind_i18n_input_port(i18n_input_t)
|
|
|
|
corenet_tcp_connect_all_ports(i18n_input_t)
|
2006-05-30 19:46:34 +00:00
|
|
|
corenet_sendrecv_i18n_input_server_packets(i18n_input_t)
|
|
|
|
corenet_sendrecv_all_client_packets(i18n_input_t)
|
2005-12-01 18:50:00 +00:00
|
|
|
|
|
|
|
dev_read_sysfs(i18n_input_t)
|
|
|
|
|
|
|
|
fs_getattr_all_fs(i18n_input_t)
|
|
|
|
fs_search_auto_mountpoints(i18n_input_t)
|
|
|
|
|
|
|
|
corecmd_search_bin(i18n_input_t)
|
|
|
|
corecmd_exec_bin(i18n_input_t)
|
|
|
|
|
2006-02-20 21:33:25 +00:00
|
|
|
domain_use_interactive_fds(i18n_input_t)
|
2005-12-01 18:50:00 +00:00
|
|
|
|
|
|
|
files_read_etc_files(i18n_input_t)
|
|
|
|
files_read_etc_runtime_files(i18n_input_t)
|
|
|
|
files_read_usr_files(i18n_input_t)
|
|
|
|
|
2006-02-02 21:08:12 +00:00
|
|
|
init_stream_connect_script(i18n_input_t)
|
2005-12-01 18:50:00 +00:00
|
|
|
|
|
|
|
libs_use_ld_so(i18n_input_t)
|
|
|
|
libs_use_shared_libs(i18n_input_t)
|
|
|
|
|
|
|
|
logging_send_syslog_msg(i18n_input_t)
|
|
|
|
|
|
|
|
miscfiles_read_localization(i18n_input_t)
|
|
|
|
|
|
|
|
sysnet_read_config(i18n_input_t)
|
|
|
|
|
2006-02-20 21:33:25 +00:00
|
|
|
userdom_dontaudit_use_unpriv_user_fds(i18n_input_t)
|
2006-02-21 18:40:44 +00:00
|
|
|
userdom_dontaudit_search_sysadm_home_dirs(i18n_input_t)
|
|
|
|
userdom_read_unpriv_users_home_content_files(i18n_input_t)
|
2005-12-01 18:50:00 +00:00
|
|
|
|
|
|
|
ifdef(`targeted_policy',`
|
2006-02-02 21:08:12 +00:00
|
|
|
term_dontaudit_use_unallocated_ttys(i18n_input_t)
|
|
|
|
term_dontaudit_use_generic_ptys(i18n_input_t)
|
2006-01-31 19:21:01 +00:00
|
|
|
files_dontaudit_read_root_files(i18n_input_t)
|
2005-12-01 18:50:00 +00:00
|
|
|
')
|
|
|
|
|
|
|
|
tunable_policy(`use_nfs_home_dirs',`
|
|
|
|
fs_read_nfs_files(i18n_input_t)
|
|
|
|
fs_read_nfs_symlinks(i18n_input_t)
|
|
|
|
')
|
|
|
|
|
|
|
|
tunable_policy(`use_samba_home_dirs',`
|
|
|
|
fs_read_cifs_files(i18n_input_t)
|
|
|
|
fs_read_cifs_symlinks(i18n_input_t)
|
|
|
|
')
|
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2005-12-01 18:50:00 +00:00
|
|
|
canna_stream_connect(i18n_input_t)
|
|
|
|
')
|
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2005-12-01 18:50:00 +00:00
|
|
|
nis_use_ypbind(i18n_input_t)
|
|
|
|
')
|
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2005-12-01 18:50:00 +00:00
|
|
|
seutil_sigchld_newrole(i18n_input_t)
|
|
|
|
')
|
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2005-12-01 18:50:00 +00:00
|
|
|
udev_read_db(i18n_input_t)
|
|
|
|
')
|