diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2018-01-30 13:55:47 -0800 |
---|---|---|
committer | Jeff Vander Stoep <jeffv@google.com> | 2018-01-30 13:55:47 -0800 |
commit | 4907bd5b777976d61004f28bff50d03ac30cca4c (patch) | |
tree | eca9286d7c0b193db87a1ccea32c538677dc257c | |
parent | e24f2ae4f46494d5e12b7d4243a7500db067882b (diff) | |
download | angler-4907bd5b777976d61004f28bff50d03ac30cca4c.tar.gz |
Correctly label data typesandroid-p-preview-1android-o-mr1-iot-preview-7o-mr1-iot-preview-7
Data outside /data/vendor must have the core_data_file_type
attribute.
Test: build (this is a build time test)
Bug: 34980020
Change-Id: I1a26587e5c71e6e6d077eef1a43a4274493f77db
-rw-r--r-- | sepolicy/file.te | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sepolicy/file.te b/sepolicy/file.te index 1b98df5..bea5bf6 100644 --- a/sepolicy/file.te +++ b/sepolicy/file.te @@ -1,12 +1,12 @@ type cnd_socket, file_type; -type diag_logs, file_type, data_file_type, mlstrustedobject; +type diag_logs, file_type, data_file_type, core_data_file_type, mlstrustedobject; # Default type for anything under /firmware type firmware_file, fs_type, contextmount_type; type ims_socket, file_type; type irqbalance_socket, file_type; -type perfd_data_file, file_type, data_file_type; +type perfd_data_file, file_type, data_file_type, core_data_file_type; type persist_file, file_type; type persist_audio_file, file_type; type persist_data_file, file_type; @@ -16,7 +16,7 @@ type postprocd_socket, file_type; type proc_irq, fs_type; type proc_kernel_sched, fs_type; type qmuxd_socket, file_type; -type ssr_data_file, file_type, data_file_type; +type ssr_data_file, file_type, data_file_type, core_data_file_type; type sysfs_gpu_tuning, sysfs_type, fs_type; type sysfs_hal_gralloc, sysfs_type, fs_type; type sysfs_fingerprintd, sysfs_type, fs_type; @@ -29,9 +29,9 @@ type sysfs_prox_snsr, sysfs_type, fs_type; type sysfs_smdcntl_open_timeout, sysfs_type, fs_type; type sysfs_surfaceflinger, fs_type, sysfs_type; type thermald_socket, file_type; -type time_data_file, file_type, data_file_type; -type display_data_file, file_type, data_file_type; -type cnd_data_file, file_type, data_file_type; +type time_data_file, file_type, data_file_type, core_data_file_type; +type display_data_file, file_type, data_file_type, core_data_file_type; +type cnd_data_file, file_type, data_file_type, core_data_file_type; type sysfs_wifi_sar, fs_type, sysfs_type; type sysfs_lcd_mipi, fs_type, sysfs_type; |