daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
36c356
policy_module(systemd_hs,0.0.1)
36c356
36c356
# systemd overrides for 247
36c356
gen_require(`
36c356
	type avahi_t;
7f0081
	type cgroup_t;
36c356
	type init_t;
36c356
	type init_var_run_t;
8e315d
	type initrc_t;
8e315d
	class dbus send_msg;
8e315d
	type install_t;
36c356
	type kmsg_device_t;
36c356
	type policykit_auth_t;
36c356
	type policykit_t;
36c356
	type proc_kmsg_t;
02e930
	type rpm_t;
36c356
	type system_dbusd_t;
8e315d
	type system_dbusd_var_run_t;
36c356
	type systemd_hostnamed_t;
36c356
	type systemd_localed_t;
36c356
	type systemd_logind_t;
36c356
	type systemd_machined_t;
02e930
	type systemd_resolved_t;
02e930
	type systemd_tmpfiles_t;
36c356
	type security_t;
7f0081
	type sssd_t;
36c356
	type syslogd_t;
7f0081
	type udev_var_run_t;
36c356
	type user_tmp_t;
8e315d
	type useradd_t;
36c356
	type xdm_t;
36c356
')
36c356
36c356
allow avahi_t init_var_run_t:dir read;
36c356
allow init_t kmsg_device_t:chr_file mounton;
36c356
allow init_t proc_kmsg_t:file { getattr mounton };
8e315d
allow init_t system_dbusd_var_run_t:sock_file read;
36c356
allow init_t systemd_machined_t:unix_stream_socket connectto;
36c356
allow policykit_auth_t init_var_run_t:dir read;
36c356
allow policykit_auth_t systemd_machined_t:unix_stream_socket connectto;
36c356
allow policykit_t systemd_machined_t:unix_stream_socket connectto;
7f0081
allow sssd_t cgroup_t:filesystem getattr;
36c356
allow syslogd_t user_tmp_t:lnk_file read;
36c356
allow system_dbusd_t systemd_machined_t:unix_stream_socket connectto;
8e315d
allow systemd_hostnamed_t init_var_run_t:dir write;
8e315d
allow systemd_hostnamed_t init_var_run_t:file { getattr ioctl open read };
8e315d
allow systemd_hostnamed_t initrc_t:dbus send_msg;
8e315d
allow systemd_hostnamed_t install_t:dbus send_msg;
7f0081
allow systemd_hostnamed_t udev_var_run_t:file getattr;
7f0081
allow systemd_hostnamed_t udev_var_run_t:file open;
7f0081
allow systemd_hostnamed_t udev_var_run_t:file read;
36c356
allow systemd_logind_t self:netlink_selinux_socket bind;
7f0081
allow systemd_logind_t self:netlink_selinux_socket create;
36c356
allow systemd_logind_t systemd_machined_t:unix_stream_socket connectto;
7f0081
allow systemd_logind_t user_tmp_t:chr_file unlink;
36c356
allow systemd_machined_t init_var_run_t:sock_file create;
7f0081
allow sssd_t cgroup_t:dir search;
7f0081
allow sssd_t cgroup_t:filesystem getattr;
8e315d
allow useradd_t init_var_run_t:dir read;
36c356
allow xdm_t systemd_machined_t:unix_stream_socket connectto;
02e930
02e930
selinux_use_status_page(init_t)
02e930
selinux_use_status_page(rpm_t)
02e930
selinux_use_status_page(systemd_hostnamed_t)
02e930
selinux_use_status_page(systemd_localed_t)
02e930
selinux_use_status_page(systemd_logind_t)
02e930
selinux_use_status_page(systemd_resolved_t)
02e930
selinux_use_status_page(systemd_tmpfiles_t)