2008-06-17 14:07:44 +00:00
|
|
|
|
2008-12-10 19:38:10 +00:00
|
|
|
policy_module(podsleuth, 1.1.0)
|
2008-06-17 14:07:44 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type podsleuth_t;
|
|
|
|
type podsleuth_exec_t;
|
|
|
|
application_domain(podsleuth_t, podsleuth_exec_t)
|
|
|
|
role system_r types podsleuth_t;
|
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# podsleuth local policy
|
|
|
|
#
|
|
|
|
|
|
|
|
allow podsleuth_t self:process { signal getsched execheap execmem };
|
|
|
|
allow podsleuth_t self:fifo_file rw_file_perms;
|
|
|
|
allow podsleuth_t self:unix_stream_socket create_stream_socket_perms;
|
|
|
|
|
|
|
|
kernel_read_system_state(podsleuth_t)
|
|
|
|
|
|
|
|
dev_read_urand(podsleuth_t)
|
|
|
|
|
|
|
|
files_read_etc_files(podsleuth_t)
|
|
|
|
|
|
|
|
miscfiles_read_localization(podsleuth_t)
|
|
|
|
|
2008-11-05 16:10:46 +00:00
|
|
|
dbus_system_bus_client(podsleuth_t)
|
2008-06-17 14:07:44 +00:00
|
|
|
|
|
|
|
mono_exec(podsleuth_t)
|
|
|
|
|
|
|
|
hal_dbus_chat(podsleuth_t)
|