Merge "Add selinux permissions to r/w sysfs st33spi_state" into tm-dev am: e910a12468
am: 5389123249
am: ca85474dbe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/17988448 Change-Id: I5efebd5a566f22de040bcd5b640b319cee12be72 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
e33265324f
2 changed files with 7 additions and 0 deletions
4
whitechapel/vendor/google/euiccpixel_app.te
vendored
4
whitechapel/vendor/google/euiccpixel_app.te
vendored
|
@ -21,5 +21,9 @@ userdebug_or_eng(`
|
|||
# Access to directly upgrade firmware on st33spi_device used for engineering devices
|
||||
typeattribute st33spi_device mlstrustedobject;
|
||||
allow euiccpixel_app st33spi_device:chr_file rw_file_perms;
|
||||
|
||||
allow euiccpixel_app sysfs_st33spi:dir search;
|
||||
allow euiccpixel_app sysfs_st33spi:file rw_file_perms;
|
||||
allow euiccpixel_app sysfs_touch:dir search;
|
||||
')
|
||||
|
||||
|
|
3
whitechapel/vendor/google/file.te
vendored
3
whitechapel/vendor/google/file.te
vendored
|
@ -203,6 +203,9 @@ userdebug_or_eng(`
|
|||
|
||||
# SecureElement
|
||||
type sysfs_st33spi, sysfs_type, fs_type;
|
||||
userdebug_or_eng(`
|
||||
typeattribute sysfs_st33spi mlstrustedobject;
|
||||
')
|
||||
|
||||
# Trusty
|
||||
type sysfs_trusty, sysfs_type, fs_type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue