Update SecureElement sysfs_st33spi Sepolicy
Add rules for sysfs_st33spi Bug: 205250948 Test: check avc without secure_element Change-Id: I1ccf39ca09c6b19a597114f04803800d38fdf774
This commit is contained in:
parent
e5e4f9f2b7
commit
3dc2515efe
3 changed files with 9 additions and 0 deletions
|
@ -77,3 +77,7 @@ type vendor_dumpsys, vendor_file_type, file_type;
|
|||
# Modem
|
||||
type modem_efs_file, file_type;
|
||||
type modem_userdata_file, file_type;
|
||||
|
||||
# SecureElement
|
||||
type sysfs_st33spi, sysfs_type, fs_type;
|
||||
|
||||
|
|
|
@ -124,3 +124,7 @@ genfscon sysfs /devices/platform/gpio_keys/wakeup/wakeup u:object_r:sysfs_wakeup
|
|||
genfscon sysfs /devices/platform/odm/odm:btbcm/wakeup/wakeup u:object_r:sysfs_wakeup:s0
|
||||
genfscon sysfs /devices/platform/sound-aoc/wakeup/wakeup u:object_r:sysfs_wakeup:s0
|
||||
genfscon sysfs /devices/virtual/wakeup/wakeup u:object_r:sysfs_wakeup:s0
|
||||
|
||||
#SecureElement
|
||||
genfscon sysfs /devices/platform/181c0000.spi/spi_master/spi17/spi17.0/st33spi u:object_r:sysfs_st33spi:s0
|
||||
|
||||
|
|
|
@ -13,4 +13,5 @@ allow vendor_init proc_dirty:file w_file_perms;
|
|||
set_prop(vendor_init, vendor_nfc_prop)
|
||||
# SecureElement vendor property
|
||||
set_prop(vendor_init, vendor_secure_element_prop)
|
||||
allow vendor_init sysfs_st33spi:file w_file_perms;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue