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

This commit is contained in:
Lily Lin 2022-05-11 01:22:36 +00:00 committed by Android (Google) Code Review
commit e910a12468
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 # 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;
') ')

View file

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