summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTri Vo <trong@google.com>2018-03-21 10:45:17 -0700
committerTri Vo <trong@google.com>2018-03-21 10:45:23 -0700
commite64e239b4c0d3446b9cdf15de203ae64db4c6265 (patch)
tree6789479b66201ff3f252abf4155e2e0f9e1c886c
parent6fe1a7951b1c69d488872e442a514a4bf2c8767b (diff)
downloadbullhead-e64e239b4c0d3446b9cdf15de203ae64db4c6265.tar.gz
Correctly apply fs_type to sysfs types.
Test: build bullhead sepolicy Change-Id: If5fc0397ccb3e86c9ba08d268377985423710425
-rw-r--r--sepolicy/file.te8
1 files changed, 4 insertions, 4 deletions
diff --git a/sepolicy/file.te b/sepolicy/file.te
index 2dddda5..fb8636c 100644
--- a/sepolicy/file.te
+++ b/sepolicy/file.te
@@ -36,9 +36,9 @@ type nfc_vendor_data_file, file_type, data_file_type;
type sysfs_smdcntl_open_timeout, fs_type, sysfs_type;
-type sysfs_devices_fingerprint, sysfs_type, file_type;
+type sysfs_devices_fingerprint, sysfs_type, fs_type;
-type sysfs_camera, sysfs_type, file_type;
+type sysfs_camera, sysfs_type, fs_type;
# type for persist partition
type persist_file, file_type;
@@ -50,9 +50,9 @@ type persist_camera_file, file_type;
# File types required by mdm-helper
type sysfs_ssr, sysfs_type, fs_type;
-type sysfs_ssr_toggle, sysfs_type, file_type;
+type sysfs_ssr_toggle, sysfs_type, fs_type;
type sysfs_hsic, sysfs_type, fs_type;
-type sysfs_hsic_host_rdy, sysfs_type, file_type;
+type sysfs_hsic_host_rdy, sysfs_type, fs_type;
# File types required by dumpstate implementation
type sysfs_hwmon, fs_type, sysfs_type;