Source is x_domain and not xserver_t. Moving to x_domain local policy.
This commit is contained in:
parent
568349bd70
commit
e2d9aa29c5
@ -877,10 +877,6 @@ allow xserver_t self:udp_socket create_socket_perms;
|
||||
allow xserver_t self:netlink_selinux_socket create_socket_perms;
|
||||
allow xserver_t self:netlink_kobject_uevent_socket create_socket_perms;
|
||||
|
||||
# Device rules
|
||||
allow x_domain xserver_t:x_device { read getattr use setattr setfocus grab bell };
|
||||
allow x_domain xserver_t:x_screen getattr;
|
||||
|
||||
allow xserver_t { input_xevent_t input_xevent_type }:x_event send;
|
||||
|
||||
domtrans_pattern(xserver_t, xauth_exec_t, xauth_t)
|
||||
@ -1276,6 +1272,10 @@ allow x_domain self:x_resource { read write };
|
||||
# can mess with the screensaver
|
||||
allow x_domain xserver_t:x_screen { getattr saver_getattr };
|
||||
|
||||
# Device rules
|
||||
allow x_domain xserver_t:x_device { read getattr use setattr setfocus grab bell };
|
||||
allow x_domain xserver_t:x_screen getattr;
|
||||
|
||||
########################################
|
||||
#
|
||||
# Rules for unconfined access to this module
|
||||
|
Loading…
Reference in New Issue
Block a user