mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-02-01 07:33:36 +00:00
Added surfaceflinger.te and domain.te to expand policy coverage.
Added access to diag_device for userdebug/eng builds in domain.te under the expectation that a good number of other types might need it as access. Also added access to search persist_file directories in surfaceflinger.te to address selinux denials. Bug: 34784662 Test: surfaceflinger search denials absent from boot logs Change-Id: I5546f6204bbe4ce2cbd26b9a9269aa9bb33d9508
This commit is contained in:
3
sepolicy/domain.te
Normal file
3
sepolicy/domain.te
Normal file
@@ -0,0 +1,3 @@
|
||||
userdebug_or_eng(`
|
||||
allow domain diag_device:chr_file rw_file_perms;
|
||||
')
|
||||
2
sepolicy/surfaceflinger.te
Normal file
2
sepolicy/surfaceflinger.te
Normal file
@@ -0,0 +1,2 @@
|
||||
# persist
|
||||
allow surfaceflinger persist_file:dir search;
|
||||
Reference in New Issue
Block a user