universal7580: address hal_graphics_composer denials
authorDanny Wood <danwood76@gmail.com>
Sat, 9 May 2020 14:14:58 +0000 (15:14 +0100)
committerDanny Wood <danwood76@gmail.com>
Wed, 13 May 2020 08:00:15 +0000 (09:00 +0100)
Change-Id: I16cc41927d7c5b16bc7474860683ebdb219727bc

sepolicy/hal_graphics_composer.te [new file with mode: 0644]

diff --git a/sepolicy/hal_graphics_composer.te b/sepolicy/hal_graphics_composer.te
new file mode 100644 (file)
index 0000000..1916c0a
--- /dev/null
@@ -0,0 +1,7 @@
+# Graphics sysfs
+allow hal_graphics_composer_default sysfs_graphics:dir  search;
+allow hal_graphics_composer_default sysfs_graphics:file rw_file_perms;
+
+# uevent socket
+allow hal_graphics_composer_default self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
+