Merge "Add selinux permissions to r/w sysfs st33spi_state" into tm-dev am: e910a12468
am: 5389123249
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/17988448 Change-Id: Iae98aba8421ca1264e642a3e20968b52eed337d4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
44f06f26eb
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
|
# Access to directly upgrade firmware on st33spi_device used for engineering devices
|
||||||
typeattribute st33spi_device mlstrustedobject;
|
typeattribute st33spi_device mlstrustedobject;
|
||||||
allow euiccpixel_app st33spi_device:chr_file rw_file_perms;
|
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
|
# SecureElement
|
||||||
type sysfs_st33spi, sysfs_type, fs_type;
|
type sysfs_st33spi, sysfs_type, fs_type;
|
||||||
|
userdebug_or_eng(`
|
||||||
|
typeattribute sysfs_st33spi mlstrustedobject;
|
||||||
|
')
|
||||||
|
|
||||||
# Trusty
|
# Trusty
|
||||||
type sysfs_trusty, sysfs_type, fs_type;
|
type sysfs_trusty, sysfs_type, fs_type;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue