Blame policy/modules/apps/loadkeys.te
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c90440 |
policy_module(loadkeys, 1.5.1)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Declarations
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
350b6a |
# cjp: this should probably be rewritten
|
|
Chris PeBenito |
350b6a |
# per user domain, since it can rw
|
|
Chris PeBenito |
350b6a |
# all user domain ttys
|
|
Chris PeBenito |
350b6a |
type loadkeys_t;
|
|
Chris PeBenito |
350b6a |
type loadkeys_exec_t;
|
|
Chris PeBenito |
0bfccd |
init_system_domain(loadkeys_t, loadkeys_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
350b6a |
allow loadkeys_t self:capability { dac_override dac_read_search setuid sys_tty_config };
|
|
Chris PeBenito |
350b6a |
allow loadkeys_t self:fifo_file rw_fifo_file_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
350b6a |
kernel_read_system_state(loadkeys_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
350b6a |
corecmd_exec_bin(loadkeys_t)
|
|
Chris PeBenito |
350b6a |
corecmd_exec_shell(loadkeys_t)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
350b6a |
files_read_etc_files(loadkeys_t)
|
|
Chris PeBenito |
350b6a |
files_read_etc_runtime_files(loadkeys_t)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
350b6a |
term_dontaudit_use_console(loadkeys_t)
|
|
Chris PeBenito |
350b6a |
term_use_unallocated_ttys(loadkeys_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
737fcf |
init_dontaudit_use_fds(loadkeys_t)
|
|
Chris PeBenito |
350b6a |
init_dontaudit_use_script_ptys(loadkeys_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
350b6a |
locallogin_use_fds(loadkeys_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
350b6a |
miscfiles_read_localization(loadkeys_t)
|
|
Chris PeBenito |
0a0b80 |
|
|
Chris PeBenito |
296273 |
userdom_use_user_ttys(loadkeys_t)
|
|
Chris PeBenito |
c90440 |
userdom_list_user_home_dirs(loadkeys_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
350b6a |
optional_policy(`
|
|
Chris PeBenito |
350b6a |
nscd_dontaudit_search_pid(loadkeys_t)
|
|
Chris PeBenito |
17de1b |
')
|