Chris PeBenito fbc0a2
Chris PeBenito 12e9ea
policy_module(games,1.4.1)
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
########################################
Chris PeBenito fbc0a2
#
Chris PeBenito fbc0a2
# Declarations
Chris PeBenito fbc0a2
#
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
type games_data_t;
Chris PeBenito fbc0a2
files_type(games_data_t)
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
# games_t is for system operation of games, generic games daemons and
Chris PeBenito fbc0a2
# games recovery scripts
Chris PeBenito fbc0a2
type games_t;
Chris PeBenito fbc0a2
type games_exec_t;
Chris PeBenito fbc0a2
init_system_domain(games_t,games_exec_t)
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
type games_var_run_t;
Chris PeBenito fbc0a2
files_pid_file(games_var_run_t)
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
########################################
Chris PeBenito fbc0a2
#
Chris PeBenito fbc0a2
# Local policy
Chris PeBenito fbc0a2
#
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
dontaudit games_t self:capability sys_tty_config;
Chris PeBenito fbc0a2
allow games_t self:process signal_perms;
Chris PeBenito fbc0a2
Chris PeBenito c0868a
manage_files_pattern(games_t,games_data_t,games_data_t)
Chris PeBenito c0868a
manage_lnk_files_pattern(games_t,games_data_t,games_data_t)
Chris PeBenito fbc0a2
Chris PeBenito c0868a
manage_files_pattern(games_t,games_var_run_t,games_var_run_t)
Chris PeBenito fbc0a2
files_pid_filetrans(games_t,games_var_run_t,file)
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
can_exec(games_t,games_exec_t)
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
kernel_read_kernel_sysctls(games_t)
Chris PeBenito fbc0a2
kernel_list_proc(games_t)
Chris PeBenito fbc0a2
kernel_read_proc_symlinks(games_t)
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
dev_read_sysfs(games_t)
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
fs_getattr_all_fs(games_t)
Chris PeBenito fbc0a2
fs_search_auto_mountpoints(games_t)
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
term_dontaudit_use_console(games_t)
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
domain_use_interactive_fds(games_t)
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
init_use_fds(games_t)
Chris PeBenito fbc0a2
init_use_script_ptys(games_t)
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
libs_use_ld_so(games_t)
Chris PeBenito fbc0a2
libs_use_shared_libs(games_t)
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
logging_send_syslog_msg(games_t)
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
miscfiles_read_localization(games_t)
Chris PeBenito fbc0a2
Chris PeBenito fbc0a2
userdom_dontaudit_use_unpriv_user_fds(games_t)
Chris PeBenito fbc0a2
userdom_dontaudit_search_sysadm_home_dirs(games_t)
Chris PeBenito fbc0a2
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito fbc0a2
	seutil_sigchld_newrole(games_t)
Chris PeBenito fbc0a2
')
Chris PeBenito fbc0a2
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito fbc0a2
	udev_read_db(games_t)
Chris PeBenito fbc0a2
')