<<<<<<< HEAD policy_module(plymouthd, 1.0.1) ======= policy_module(plymouthd, 1.1.4) >>>>>>> 662a00bca8f52af8056f41abd0fdec77ea835b2a ######################################## # # Declarations # type plymouth_t; type plymouth_exec_t; application_domain(plymouth_t, plymouth_exec_t) role system_r types plymouth_t; type plymouthd_t; type plymouthd_exec_t; init_daemon_domain(plymouthd_t, plymouthd_exec_t) type plymouthd_spool_t; files_spool_file(plymouthd_spool_t) type plymouthd_var_lib_t; files_type(plymouthd_var_lib_t) type plymouthd_var_log_t; logging_log_file(plymouthd_var_log_t) type plymouthd_var_run_t; files_pid_file(plymouthd_var_run_t) ######################################## # # Daemon local policy # allow plymouthd_t self:capability { sys_admin sys_tty_config }; allow plymouthd_t self:capability2 block_suspend; dontaudit plymouthd_t self:capability dac_override; allow plymouthd_t self:capability2 block_suspend; allow plymouthd_t self:process { signal getsched }; allow plymouthd_t self:fifo_file rw_fifo_file_perms; allow plymouthd_t self:unix_stream_socket create_stream_socket_perms; manage_dirs_pattern(plymouthd_t, plymouthd_spool_t, plymouthd_spool_t) manage_files_pattern(plymouthd_t, plymouthd_spool_t, plymouthd_spool_t) manage_sock_files_pattern(plymouthd_t, plymouthd_spool_t, plymouthd_spool_t) files_spool_filetrans(plymouthd_t, plymouthd_spool_t, { file dir sock_file }) manage_dirs_pattern(plymouthd_t, plymouthd_var_lib_t, plymouthd_var_lib_t) manage_files_pattern(plymouthd_t, plymouthd_var_lib_t, plymouthd_var_lib_t) files_var_lib_filetrans(plymouthd_t, plymouthd_var_lib_t, { file dir }) manage_dirs_pattern(plymouthd_t, plymouthd_var_log_t, plymouthd_var_log_t) <<<<<<< HEAD manage_files_pattern(plymouthd_t, plymouthd_var_log_t, plymouthd_var_log_t) ======= append_files_pattern(plymouthd_t, plymouthd_var_log_t, plymouthd_var_log_t) create_files_pattern(plymouthd_t, plymouthd_var_log_t, plymouthd_var_log_t) setattr_files_pattern(plymouthd_t, plymouthd_var_log_t, plymouthd_var_log_t) >>>>>>> 662a00bca8f52af8056f41abd0fdec77ea835b2a logging_log_filetrans(plymouthd_t, plymouthd_var_log_t, { file dir }) manage_dirs_pattern(plymouthd_t, plymouthd_var_run_t, plymouthd_var_run_t) manage_files_pattern(plymouthd_t, plymouthd_var_run_t, plymouthd_var_run_t) files_pid_filetrans(plymouthd_t, plymouthd_var_run_t, { file dir }) kernel_read_system_state(plymouthd_t) kernel_request_load_module(plymouthd_t) kernel_change_ring_buffer_level(plymouthd_t) dev_rw_dri(plymouthd_t) dev_read_sysfs(plymouthd_t) dev_read_framebuffer(plymouthd_t) dev_write_framebuffer(plymouthd_t) domain_use_interactive_fds(plymouthd_t) fs_getattr_all_fs(plymouthd_t) files_read_etc_files(plymouthd_t) files_read_usr_files(plymouthd_t) term_getattr_pty_fs(plymouthd_t) term_use_all_terms(plymouthd_t) term_use_ptmx(plymouthd_t) <<<<<<< HEAD init_signal(plymouthd_t) logging_link_generic_logs(plymouthd_t) logging_delete_generic_logs(plymouthd_t) auth_read_passwd(plymouthd_t) miscfiles_read_fonts(plymouthd_t) miscfiles_manage_fonts_cache(plymouthd_t) userdom_read_admin_home_files(plymouthd_t) term_use_unallocated_ttys(plymouthd_t) optional_policy(` gnome_read_config(plymouthd_t) ======= miscfiles_read_localization(plymouthd_t) miscfiles_read_fonts(plymouthd_t) miscfiles_manage_fonts_cache(plymouthd_t) optional_policy(` gnome_read_generic_home_content(plymouthd_t) >>>>>>> 662a00bca8f52af8056f41abd0fdec77ea835b2a ') optional_policy(` sssd_stream_connect(plymouthd_t) ') optional_policy(` <<<<<<< HEAD xserver_xdm_manage_spool(plymouthd_t) xserver_read_state_xdm(plymouthd_t) ======= xserver_manage_xdm_spool_files(plymouthd_t) xserver_read_xdm_state(plymouthd_t) >>>>>>> 662a00bca8f52af8056f41abd0fdec77ea835b2a ') ######################################## # # Client local policy # allow plymouth_t self:process signal; allow plymouth_t self:fifo_file rw_fifo_file_perms; allow plymouth_t self:unix_stream_socket create_stream_socket_perms; stream_connect_pattern(plymouth_t, plymouthd_spool_t, plymouthd_spool_t, plymouthd_t) kernel_read_system_state(plymouth_t) kernel_stream_connect(plymouth_t) domain_use_interactive_fds(plymouth_t) files_read_etc_files(plymouth_t) term_use_ptmx(plymouth_t) sysnet_read_config(plymouth_t) ifdef(`hide_broken_symptoms',` optional_policy(` hal_dontaudit_write_log(plymouth_t) hal_dontaudit_rw_pipes(plymouth_t) ') ') optional_policy(` lvm_domtrans(plymouth_t) ')