wings/selinux/wings.te

32 lines
581 B
Plaintext
Raw Normal View History

2022-10-06 15:35:41 +00:00
policy_module(wings, 1.0.0)
########################################
#
# Declarations
#
type wings_t;
type wings_exec_t;
2022-10-06 15:51:03 +00:00
type wings_etc_t;
init_daemon_domain(wings_t, wings_exec_t, wings_etc_t)
2022-10-06 15:35:41 +00:00
permissive wings_t;
########################################
#
# wings local policy
#
allow wings_t self:fifo_file rw_fifo_file_perms;
allow wings_t self:unix_stream_socket create_stream_socket_perms;
domain_use_interactive_fds(wings_t)
files_read_etc_files(wings_t)
miscfiles_read_localization(wings_t)
2022-10-06 15:51:03 +00:00
require {
type wings_exec_t;
2022-10-06 15:59:02 +00:00
class file { execmod map };
2022-10-06 15:51:03 +00:00
}