Chris PeBenito 4093c2
Chris PeBenito 5ea24b
policy_module(i18n_input,1.1.0)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
########################################
Chris PeBenito 4093c2
#
Chris PeBenito 4093c2
# Declarations
Chris PeBenito 4093c2
#
Chris PeBenito 4093c2
Chris PeBenito 4093c2
type i18n_input_t;
Chris PeBenito 4093c2
type i18n_input_exec_t;
Chris PeBenito 4093c2
init_daemon_domain(i18n_input_t,i18n_input_exec_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
type i18n_input_var_run_t;
Chris PeBenito 4093c2
files_pid_file(i18n_input_var_run_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
########################################
Chris PeBenito 4093c2
#
Chris PeBenito 4093c2
# i18n_input local policy
Chris PeBenito 4093c2
#
Chris PeBenito 4093c2
Chris PeBenito 4093c2
allow i18n_input_t self:capability { kill setgid setuid };
Chris PeBenito 4093c2
dontaudit i18n_input_t self:capability sys_tty_config;
Chris PeBenito 4093c2
allow i18n_input_t self:process { signal_perms setsched setpgid };
Chris PeBenito 4093c2
allow i18n_input_t self:fifo_file rw_file_perms;
Chris PeBenito 4093c2
allow i18n_input_t self:unix_dgram_socket create_socket_perms;
Chris PeBenito 4093c2
allow i18n_input_t self:unix_stream_socket create_stream_socket_perms;
Chris PeBenito 4093c2
allow i18n_input_t self:tcp_socket create_stream_socket_perms;
Chris PeBenito 4093c2
allow i18n_input_t self:udp_socket create_socket_perms;
Chris PeBenito 4093c2
Chris PeBenito 4093c2
allow i18n_input_t i18n_input_var_run_t:dir create_dir_perms;
Chris PeBenito 4093c2
allow i18n_input_t i18n_input_var_run_t:file create_file_perms;
Chris PeBenito 4093c2
allow i18n_input_t i18n_input_var_run_t:sock_file create_file_perms;
Chris PeBenito 9d5949
files_filetrans_pid(i18n_input_t,i18n_input_var_run_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
can_exec(i18n_input_t, i18n_input_exec_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
kernel_read_kernel_sysctl(i18n_input_t)
Chris PeBenito 4093c2
kernel_read_system_state(i18n_input_t)
Chris PeBenito 4093c2
kernel_tcp_recvfrom(i18n_input_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
corenet_tcp_sendrecv_generic_if(i18n_input_t)
Chris PeBenito 4093c2
corenet_udp_sendrecv_generic_if(i18n_input_t)
Chris PeBenito 4093c2
corenet_raw_sendrecv_generic_if(i18n_input_t)
Chris PeBenito 4093c2
corenet_tcp_sendrecv_all_nodes(i18n_input_t)
Chris PeBenito 4093c2
corenet_udp_sendrecv_all_nodes(i18n_input_t)
Chris PeBenito 4093c2
corenet_raw_sendrecv_all_nodes(i18n_input_t)
Chris PeBenito 4093c2
corenet_tcp_sendrecv_all_ports(i18n_input_t)
Chris PeBenito 4093c2
corenet_udp_sendrecv_all_ports(i18n_input_t)
Chris PeBenito bd7037
corenet_non_ipsec_sendrecv(i18n_input_t)
Chris PeBenito 4093c2
corenet_tcp_bind_all_nodes(i18n_input_t)
Chris PeBenito 4093c2
corenet_udp_bind_all_nodes(i18n_input_t)
Chris PeBenito 4093c2
corenet_tcp_bind_i18n_input_port(i18n_input_t)
Chris PeBenito 4093c2
corenet_tcp_connect_all_ports(i18n_input_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
dev_read_sysfs(i18n_input_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
fs_getattr_all_fs(i18n_input_t)
Chris PeBenito 4093c2
fs_search_auto_mountpoints(i18n_input_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
term_dontaudit_use_console(i18n_input_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
corecmd_search_sbin(i18n_input_t)
Chris PeBenito 4093c2
corecmd_search_bin(i18n_input_t)
Chris PeBenito 4093c2
corecmd_exec_bin(i18n_input_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
domain_use_wide_inherit_fd(i18n_input_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
files_read_etc_files(i18n_input_t)
Chris PeBenito 4093c2
files_read_etc_runtime_files(i18n_input_t)
Chris PeBenito 4093c2
files_read_usr_files(i18n_input_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
init_use_fd(i18n_input_t)
Chris PeBenito 4093c2
init_use_script_pty(i18n_input_t)
Chris PeBenito 4093c2
init_unix_connect_script(i18n_input_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
libs_use_ld_so(i18n_input_t)
Chris PeBenito 4093c2
libs_use_shared_libs(i18n_input_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
logging_send_syslog_msg(i18n_input_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
miscfiles_read_localization(i18n_input_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
sysnet_read_config(i18n_input_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
userdom_dontaudit_use_unpriv_user_fd(i18n_input_t)
Chris PeBenito 4093c2
userdom_dontaudit_search_sysadm_home_dir(i18n_input_t)
Chris PeBenito 4093c2
userdom_read_unpriv_user_home_files(i18n_input_t)
Chris PeBenito 4093c2
Chris PeBenito 4093c2
ifdef(`targeted_policy',`
Chris PeBenito 4093c2
	term_dontaudit_use_unallocated_tty(i18n_input_t)
Chris PeBenito 4093c2
	term_dontaudit_use_generic_pty(i18n_input_t)
Chris PeBenito 4093c2
	files_dontaudit_read_root_file(i18n_input_t)
Chris PeBenito 4093c2
')
Chris PeBenito 4093c2
Chris PeBenito 4093c2
tunable_policy(`use_nfs_home_dirs',`
Chris PeBenito 4093c2
	fs_read_nfs_files(i18n_input_t)
Chris PeBenito 4093c2
	fs_read_nfs_symlinks(i18n_input_t)
Chris PeBenito 4093c2
')
Chris PeBenito 4093c2
Chris PeBenito 4093c2
tunable_policy(`use_samba_home_dirs',`
Chris PeBenito 4093c2
	fs_read_cifs_files(i18n_input_t)
Chris PeBenito 4093c2
	fs_read_cifs_symlinks(i18n_input_t)
Chris PeBenito 4093c2
')
Chris PeBenito 4093c2
Chris PeBenito 4093c2
optional_policy(`canna',`
Chris PeBenito 4093c2
	canna_stream_connect(i18n_input_t)
Chris PeBenito 4093c2
')
Chris PeBenito 4093c2
Chris PeBenito 4093c2
optional_policy(`mount',`
Chris PeBenito 4093c2
	mount_send_nfs_client_request(i18n_input_t)
Chris PeBenito 4093c2
')
Chris PeBenito 4093c2
Chris PeBenito 4093c2
optional_policy(`nis',`
Chris PeBenito 4093c2
	nis_use_ypbind(i18n_input_t)
Chris PeBenito 4093c2
')
Chris PeBenito 4093c2
Chris PeBenito 4093c2
optional_policy(`selinuxutil',`
Chris PeBenito 4093c2
	seutil_sigchld_newrole(i18n_input_t)
Chris PeBenito 4093c2
')
Chris PeBenito 4093c2
Chris PeBenito 4093c2
optional_policy(`udev',`
Chris PeBenito 4093c2
	udev_read_db(i18n_input_t)
Chris PeBenito 4093c2
')