display-dump: sepolicy for new 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: I5186dfa9de755caa5023d159cb3cc1601268aa6a
This commit is contained in:
parent
c980a0a5c1
commit
0dcf585cd6
2 changed files with 11 additions and 0 deletions
|
@ -0,0 +1,9 @@
|
|||
pixel_bugreport(dump_pixel_second_display)
|
||||
|
||||
allow dump_pixel_second_display sysfs_display:file r_file_perms;
|
||||
|
||||
userdebug_or_eng(`
|
||||
allow dump_pixel_second_display vendor_dri_debugfs:dir r_dir_perms;
|
||||
allow dump_pixel_second_display vendor_dri_debugfs:file r_file_perms;
|
||||
')
|
||||
|
2
display/sepolicy_second_display/pixel/file_contexts
Normal file
2
display/sepolicy_second_display/pixel/file_contexts
Normal file
|
@ -0,0 +1,2 @@
|
|||
/vendor/bin/dump/dump_pixel_second_display u:object_r:dump_pixel_second_display_exec:s0
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue