Merge "Add selinux permissions to r/w sysfs st33spi_state" into tm-dev am: e910a12468

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/17988448

Change-Id: I79e9df18cd659cb9d5377d8aef7c333def38123e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Lily Lin 2022-05-11 01:56:49 +00:00 committed by Automerger Merge Worker
commit 4c32542348
2 changed files with 7 additions and 0 deletions

View file

@ -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;
')

View file

@ -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;