2 policy_module(loadkeys, 1.7.0)
4 ########################################
9 # cjp: this should probably be rewritten
10 # per user domain, since it can rw
11 # all user domain ttys
14 init_system_domain(loadkeys_t, loadkeys_exec_t)
16 ########################################
21 allow loadkeys_t self:capability { dac_override dac_read_search setuid sys_tty_config };
22 allow loadkeys_t self:fifo_file rw_fifo_file_perms;
24 kernel_read_system_state(loadkeys_t)
26 corecmd_exec_bin(loadkeys_t)
27 corecmd_exec_shell(loadkeys_t)
29 files_read_etc_files(loadkeys_t)
30 files_read_etc_runtime_files(loadkeys_t)
32 term_dontaudit_use_console(loadkeys_t)
33 term_use_unallocated_ttys(loadkeys_t)
35 init_dontaudit_use_fds(loadkeys_t)
36 init_dontaudit_use_script_ptys(loadkeys_t)
38 locallogin_use_fds(loadkeys_t)
40 miscfiles_read_localization(loadkeys_t)
42 userdom_use_user_ttys(loadkeys_t)
43 userdom_list_user_home_content(loadkeys_t)
45 ifdef(`hide_broken_symptoms',`
46 dev_dontaudit_rw_lvm_control(loadkeys_t)
50 nscd_dontaudit_search_pid(loadkeys_t)