display-dump: sepolicy for legacy secondary display dump
Bug: 376426334 Test: adb bugreport Test: adb shell /vendor/bin/dump/dump_*_display Test: adb shell /vendor/bin/dump/dump_*_second_display Flag: EXEMPT bugfix Change-Id: I903eb0d954f18b1501787d1292497696f1886437
This commit is contained in:
parent
19268ffb20
commit
c980a0a5c1
4 changed files with 11 additions and 11 deletions
|
@ -1,9 +0,0 @@
|
|||
pixel_bugreport(dump_second_display)
|
||||
|
||||
allow dump_second_display sysfs_display:file r_file_perms;
|
||||
|
||||
userdebug_or_eng(`
|
||||
allow dump_second_display vendor_dri_debugfs:dir r_dir_perms;
|
||||
allow dump_second_display vendor_dri_debugfs:file r_file_perms;
|
||||
')
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
pixel_bugreport(dump_exynos_second_display)
|
||||
|
||||
allow dump_exynos_second_display sysfs_display:file r_file_perms;
|
||||
|
||||
userdebug_or_eng(`
|
||||
allow dump_exynos_second_display vendor_dri_debugfs:dir r_dir_perms;
|
||||
allow dump_exynos_second_display vendor_dri_debugfs:file r_file_perms;
|
||||
')
|
||||
|
2
display/sepolicy_second_display/exynos/file_contexts
Normal file
2
display/sepolicy_second_display/exynos/file_contexts
Normal file
|
@ -0,0 +1,2 @@
|
|||
/vendor/bin/dump/dump_exynos_second_display u:object_r:dump_exynos_second_display_exec:s0
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
/vendor/bin/dump/dump_second_display u:object_r:dump_second_display_exec:s0
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue