summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sepolicy/vendor/qcom/common/file.te1
-rw-r--r--sepolicy/vendor/qcom/common/genfs_contexts1
2 files changed, 2 insertions, 0 deletions
diff --git a/sepolicy/vendor/qcom/common/file.te b/sepolicy/vendor/qcom/common/file.te
index 5ca58bab..48047a39 100644
--- a/sepolicy/vendor/qcom/common/file.te
+++ b/sepolicy/vendor/qcom/common/file.te
@@ -13,6 +13,7 @@ type sysfs_msm_wlan, sysfs_type, fs_type;
type sysfs_poweroff, sysfs_type, fs_type;
type sysfs_rmtfs, sysfs_type, fs_type;
type sysfs_soc, sysfs_type, fs_type;
+type sysfs_soc_sensitive, sysfs_type, fs_type;
type sysfs_scsi_devices_0000, sysfs_type, fs_type;
type sysfs_scsi_devices_other, sysfs_type, fs_type;
type sysfs_mmc, sysfs_type, fs_type;
diff --git a/sepolicy/vendor/qcom/common/genfs_contexts b/sepolicy/vendor/qcom/common/genfs_contexts
index aa41aaba..cf789191 100644
--- a/sepolicy/vendor/qcom/common/genfs_contexts
+++ b/sepolicy/vendor/qcom/common/genfs_contexts
@@ -65,6 +65,7 @@ genfscon sysfs /module/diagchar/parameters/timestamp_switch u:object
genfscon sysfs /devices/virtual/graphics/fb0 u:object_r:sysfs_graphics:s0
genfscon sysfs /devices/virtual/graphics/fb1 u:object_r:sysfs_graphics:s0
genfscon sysfs /devices/soc0 u:object_r:sysfs_soc:s0
+genfscon sysfs /devices/soc0/serial_number u:object_r:sysfs_soc_sensitive:s0
genfscon sysfs /devices/virtual/misc/mnh_sm u:object_r:sysfs_easel:s0
genfscon sysfs /devices/platform/soc/a88000.i2c/i2c-0/0-0066 u:object_r:sysfs_easel:s0
genfscon sysfs /devices/platform/soc/ac5a000.qcom,fd u:object_r:sysfs_camera:s0