Add file_contexts entries for socket files.
So that we do not relabel them on a restorecon -R /data.
Change-Id: I6306a1e77922731a8f8d380345cefe6851bbc91c
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index dd37820..87a1d27 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -81,6 +81,9 @@
# Block labeling
/dev/block/mmcblk0p[89] u:object_r:efs_block_device:s0
+/data/cam_socket[0-9] u:object_r:camera_socket:s0
+/data/app/sensor_ctl_socket u:object_r:sensors_socket:s0
+
/data/nfc(/.*)? u:object_r:nfc_data_file:s0
/data/qcks(/.*)? u:object_r:kickstart_data_file:s0
/data/misc/sensors(/.*)? u:object_r:sensors_data_file:s0