Merge "Allow dumpsys to read total DMA-BUF heap pool size" am: efef83f745
am: 672b014e90
am: 58575e4faf
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1566386 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I19f54e60bc61a0575c0e041ebc60ae6ab247e5eb
This commit is contained in:
commit
d2c4732350
4 changed files with 6 additions and 0 deletions
|
@ -87,6 +87,7 @@
|
|||
soc_prop
|
||||
speech_recognition_service
|
||||
sysfs_devices_cs_etm
|
||||
sysfs_dma_heap
|
||||
sysfs_dmabuf_stats
|
||||
sysfs_uhid
|
||||
system_server_dumper_service
|
||||
|
|
|
@ -148,6 +148,7 @@ genfscon sysfs /power/wakeup_count u:object_r:sysfs_power:s0
|
|||
genfscon sysfs /power/wake_lock u:object_r:sysfs_wake_lock:s0
|
||||
genfscon sysfs /power/wake_unlock u:object_r:sysfs_wake_lock:s0
|
||||
genfscon sysfs /kernel/memory_state_time u:object_r:sysfs_power:s0
|
||||
genfscon sysfs /kernel/dma_heap u:object_r:sysfs_dma_heap:s0
|
||||
genfscon sysfs /kernel/ion u:object_r:sysfs_ion:s0
|
||||
genfscon sysfs /kernel/ipv4 u:object_r:sysfs_ipv4:s0
|
||||
genfscon sysfs /kernel/mm/transparent_hugepage u:object_r:sysfs_transparent_hugepage:s0
|
||||
|
|
|
@ -189,6 +189,9 @@ allow system_server debugfs_wakeup_sources:file r_file_perms;
|
|||
# Read /sys/kernel/ion/*.
|
||||
allow system_server sysfs_ion:file r_file_perms;
|
||||
|
||||
# Read /sys/kernel/dma_heap/*.
|
||||
allow system_server sysfs_dma_heap:file r_file_perms;
|
||||
|
||||
# The DhcpClient and WifiWatchdog use packet_sockets
|
||||
allow system_server self:packet_socket create_socket_perms_no_ioctl;
|
||||
|
||||
|
|
|
@ -88,6 +88,7 @@ type sysfs_bluetooth_writable, fs_type, sysfs_type, mlstrustedobject;
|
|||
type sysfs_devices_block, fs_type, sysfs_type;
|
||||
type sysfs_dm, fs_type, sysfs_type;
|
||||
type sysfs_dm_verity, fs_type, sysfs_type;
|
||||
type sysfs_dma_heap, fs_type, sysfs_type;
|
||||
type sysfs_dmabuf_stats, fs_type, sysfs_type;
|
||||
type sysfs_dt_firmware_android, fs_type, sysfs_type;
|
||||
type sysfs_extcon, fs_type, sysfs_type;
|
||||
|
|
Loading…
Reference in a new issue