Blame policy/modules/services/consolekit.te
|
Chris PeBenito |
c224d9 |
|
|
Chris PeBenito |
a5f5eb |
policy_module(consolekit,1.0.1)
|
|
Chris PeBenito |
c224d9 |
|
|
Chris PeBenito |
c224d9 |
########################################
|
|
Chris PeBenito |
c224d9 |
#
|
|
Chris PeBenito |
c224d9 |
# Declarations
|
|
Chris PeBenito |
c224d9 |
#
|
|
Chris PeBenito |
c224d9 |
|
|
Chris PeBenito |
c224d9 |
type consolekit_t;
|
|
Chris PeBenito |
c224d9 |
type consolekit_exec_t;
|
|
Chris PeBenito |
c224d9 |
init_daemon_domain(consolekit_t, consolekit_exec_t)
|
|
Chris PeBenito |
c224d9 |
|
|
Chris PeBenito |
c224d9 |
########################################
|
|
Chris PeBenito |
c224d9 |
#
|
|
Chris PeBenito |
c224d9 |
# consolekit local policy
|
|
Chris PeBenito |
c224d9 |
#
|
|
Chris PeBenito |
c224d9 |
|
|
Chris PeBenito |
c224d9 |
allow consolekit_t self:capability { sys_tty_config dac_override sys_nice sys_ptrace };
|
|
Chris PeBenito |
c224d9 |
allow consolekit_t self:process getsched;
|
|
Chris PeBenito |
c224d9 |
allow consolekit_t self:fifo_file rw_fifo_file_perms;
|
|
Chris PeBenito |
c224d9 |
allow consolekit_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
c224d9 |
|
|
Chris PeBenito |
c224d9 |
dev_read_urand(consolekit_t)
|
|
Chris PeBenito |
c224d9 |
dev_read_sysfs(consolekit_t)
|
|
Chris PeBenito |
c224d9 |
|
|
Chris PeBenito |
c224d9 |
domain_read_all_domains_state(consolekit_t)
|
|
Chris PeBenito |
c224d9 |
domain_use_interactive_fds(consolekit_t)
|
|
Chris PeBenito |
c224d9 |
|
|
Chris PeBenito |
c224d9 |
files_read_etc_files(consolekit_t)
|
|
Chris PeBenito |
c224d9 |
|
|
Chris PeBenito |
c224d9 |
libs_use_ld_so(consolekit_t)
|
|
Chris PeBenito |
c224d9 |
libs_use_shared_libs(consolekit_t)
|
|
Chris PeBenito |
c224d9 |
|
|
Chris PeBenito |
c224d9 |
miscfiles_read_localization(consolekit_t)
|
|
Chris PeBenito |
c224d9 |
|
|
Chris PeBenito |
c224d9 |
ifdef(`targeted_policy',`
|
|
Chris PeBenito |
c224d9 |
term_dontaudit_use_unallocated_ttys(consolekit_t)
|
|
Chris PeBenito |
c224d9 |
term_dontaudit_use_generic_ptys(consolekit_t)
|
|
Chris PeBenito |
c224d9 |
')
|
|
Chris PeBenito |
c224d9 |
|
|
Chris PeBenito |
c224d9 |
optional_policy(`
|
|
Chris PeBenito |
c224d9 |
dbus_system_bus_client_template(consolekit, consolekit_t)
|
|
Chris PeBenito |
c224d9 |
dbus_send_system_bus(consolekit_t)
|
|
Chris PeBenito |
c224d9 |
dbus_connect_system_bus(consolekit_t)
|
|
Chris PeBenito |
c224d9 |
|
|
Chris PeBenito |
c224d9 |
hal_dbus_chat(consolekit_t)
|
|
Chris PeBenito |
c224d9 |
')
|