Merge changes I8de6132f,I2bc6057d into sc-dev

* changes:
  Remove dma_buf_heap tracking_denials
  Add missing permission to dmabuf_video_system_heap
This commit is contained in:
Charlie Chen 2021-03-09 04:58:08 +00:00 committed by Android (Google) Code Review
commit e265637395
7 changed files with 4 additions and 36 deletions

View file

@ -4,10 +4,3 @@ dontaudit mediacodec sysfs:file { open };
dontaudit mediacodec sysfs:file { read };
# b/176777184
dontaudit mediacodec default_android_vndservice:service_manager add ;
# b/182086552
dontaudit mediacodec dmabuf_heap_device:chr_file { open };
dontaudit mediacodec dmabuf_heap_device:chr_file { read };
dontaudit mediacodec dmabuf_heap_device:chr_file { ioctl };
dontaudit mediacodec dmabuf_heap_device:chr_file { read };
dontaudit mediacodec dmabuf_heap_device:chr_file { open };
dontaudit mediacodec dmabuf_heap_device:chr_file { ioctl };

View file

@ -1,10 +0,0 @@
# b/182086686
dontaudit mediaserver dmabuf_heap_device:chr_file { open };
dontaudit mediaserver dmabuf_heap_device:chr_file { ioctl };
dontaudit mediaserver dmabuf_heap_device:chr_file { ioctl };
dontaudit mediaserver dmabuf_heap_device:chr_file { read };
dontaudit mediaserver dmabuf_heap_device:chr_file { read };
dontaudit mediaserver dmabuf_heap_device:chr_file { open };
dontaudit mediaserver dmabuf_heap_device:chr_file { ioctl };
dontaudit mediaserver dmabuf_heap_device:chr_file { ioctl };
dontaudit mediaserver dmabuf_heap_device:chr_file { ioctl };

View file

@ -1,7 +0,0 @@
# b/182086550
dontaudit mediaswcodec dmabuf_heap_device:chr_file { open };
dontaudit mediaswcodec dmabuf_heap_device:chr_file { read };
dontaudit mediaswcodec dmabuf_heap_device:chr_file { read };
dontaudit mediaswcodec dmabuf_heap_device:chr_file { ioctl };
dontaudit mediaswcodec dmabuf_heap_device:chr_file { open };
dontaudit mediaswcodec dmabuf_heap_device:chr_file { ioctl };

View file

@ -1,4 +0,0 @@
# b/182086551
dontaudit nfc dmabuf_heap_device:chr_file { open };
dontaudit nfc dmabuf_heap_device:chr_file { ioctl };
dontaudit nfc dmabuf_heap_device:chr_file { read };

View file

@ -6,7 +6,3 @@ dontaudit platform_app hal_wlc:binder { call };
dontaudit platform_app hal_wlc_hwservice:hwservice_manager { find };
dontaudit platform_app hal_wlc:binder { call };
dontaudit platform_app hal_wlc:binder { transfer };
# b/182086482
dontaudit platform_app dmabuf_heap_device:chr_file { ioctl };
dontaudit platform_app dmabuf_heap_device:chr_file { read };
dontaudit platform_app dmabuf_heap_device:chr_file { open };

View file

@ -1,6 +1,2 @@
# b/178980142
dontaudit system_server property_type:file *;
# b/182086481
dontaudit system_server dmabuf_heap_device:chr_file { ioctl };
dontaudit system_server dmabuf_heap_device:chr_file { open };
dontaudit system_server dmabuf_heap_device:chr_file { read };

View file

@ -397,3 +397,7 @@
# vscaler-secure DMA-BUF heap
/dev/dma_heap/vscaler-secure u:object_r:vscaler_heap_device:s0
# video system DMA-BUF heap
/dev/dma_heap/video_system u:object_r:dmabuf_system_heap_device:s0
/dev/dma_heap/video_system-uncached u:object_r:dmabuf_system_heap_device:s0