diff options
author | John Stultz <john.stultz@linaro.org> | 2020-09-18 20:54:06 +0000 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2021-07-13 19:07:55 +0000 |
commit | 26f5a0dceb025ba5312047fc7f4684953e0451e2 (patch) | |
tree | 3c4725a0bbc291ce5db256b50cfa238ff8655b4c /sepolicy/te_macros | |
parent | e4b2cbd62723f711e40761c43d5b5f710a0a7d79 (diff) |
db845c: Switch gralloc to use gralloc.minigbm_msm instead of gralloc_gbm
Instead of carying our own copy of gralloc_gbm, try to utilize
the minigbm gralloc as it implements gralloc4
Change-Id: I628ff76d3ef7cf441b122bc6f2e49f662b0c7ed5
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'sepolicy/te_macros')
-rw-r--r-- | sepolicy/te_macros | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sepolicy/te_macros b/sepolicy/te_macros index 3123f6b..a50bec1 100644 --- a/sepolicy/te_macros +++ b/sepolicy/te_macros @@ -4,6 +4,7 @@ define(`gpu_access', ` allow $1 dri_device:dir { open read search }; allow $1 sysfs_gpu:dir search; +allow $1 gpu_device:chr_file { getattr ioctl map open read write }; +allow $1 graphics_device:chr_file { getattr }; allow $1 sysfs_gpu:file { getattr open read }; -dontaudit $1 graphics_device:chr_file getattr; ') |