summaryrefslogtreecommitdiff
path: root/legacy/vendor/common/hal_graphics_composer.te
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/vendor/common/hal_graphics_composer.te')
-rw-r--r--legacy/vendor/common/hal_graphics_composer.te6
1 files changed, 5 insertions, 1 deletions
diff --git a/legacy/vendor/common/hal_graphics_composer.te b/legacy/vendor/common/hal_graphics_composer.te
index fb330a1b..51281969 100644
--- a/legacy/vendor/common/hal_graphics_composer.te
+++ b/legacy/vendor/common/hal_graphics_composer.te
@@ -1,4 +1,4 @@
-# Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
+# Copyright (c) 2017-2019, 2021, The Linux Foundation. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
@@ -69,6 +69,10 @@ allow hal_graphics_composer_default mnt_vendor_file:dir search;
# Allow dir search in '/oem'
allow hal_graphics_composer oemfs:dir r_dir_perms;
+# Rule for bootanim_system_prop
+allow hal_graphics_composer_default bootanim_system_prop:file { getattr open read };
+allow hal_graphics_composer_default sysfs_graphics:file { getattr open read };
+
# Allow pps socket access
unix_socket_connect(hal_graphics_composer_default, pps, mm-pp-daemon)