summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2018-04-20 19:05:26 +0300
committerMichael Bestas <mkbestas@lineageos.org>2018-04-20 19:08:26 +0300
commitbe4408870c61af148788f8c89a82023d154cb038 (patch)
tree1d05936279eb3012cee3a510999b4d9242c67f3d
parentfe8868aa913e137baa4ea5ff5b2eb51d5ed4d2c1 (diff)
downloadandroid_device_qcom_sepolicy-be4408870c61af148788f8c89a82023d154cb038.tar.gz
android_device_qcom_sepolicy-be4408870c61af148788f8c89a82023d154cb038.tar.bz2
android_device_qcom_sepolicy-be4408870c61af148788f8c89a82023d154cb038.zip
legacy: Consistent indentation
Change-Id: I44dcf57ec36e3ecd0674d84f8fe1f8a98ee71d28
-rw-r--r--legacy-common/bluetooth_loader.te2
-rw-r--r--legacy-common/file_contexts54
-rw-r--r--legacy-common/location.te2
-rw-r--r--legacy-common/mm-pp-daemon.te8
4 files changed, 33 insertions, 33 deletions
diff --git a/legacy-common/bluetooth_loader.te b/legacy-common/bluetooth_loader.te
index 9f69693e..aa3a8a74 100644
--- a/legacy-common/bluetooth_loader.te
+++ b/legacy-common/bluetooth_loader.te
@@ -21,5 +21,5 @@ allow bluetooth_loader qmuxd:unix_stream_socket connectto;
r_dir_file(bluetooth_loader, persist_file)
userdebug_or_eng(`
- diag_use(bluetooth_loader)
+ diag_use(bluetooth_loader)
')
diff --git a/legacy-common/file_contexts b/legacy-common/file_contexts
index c57d57e2..533290d0 100644
--- a/legacy-common/file_contexts
+++ b/legacy-common/file_contexts
@@ -1,34 +1,34 @@
# Perfd
-/(vendor|system/vendor)/bin/perfd u:object_r:perfd_exec:s0
-/data/system/perfd(/.*)? u:object_r:mpctl_data_file:s0
-/dev/socket/perfd u:object_r:mpctl_socket:s0
-/data/misc/perfd(/.*)? u:object_r:mpctl_socket:s0
+/(vendor|system/vendor)/bin/perfd u:object_r:perfd_exec:s0
+/data/system/perfd(/.*)? u:object_r:mpctl_data_file:s0
+/dev/socket/perfd u:object_r:mpctl_socket:s0
+/data/misc/perfd(/.*)? u:object_r:mpctl_socket:s0
# Location
-/data/misc/location(/.*)? u:object_r:location_data_file:s0
-/data/misc/location/mq/location-mq-s u:object_r:location_socket:s0
-/data/misc/location/mq/alarm_svc u:object_r:location_socket:s0
+/data/misc/location(/.*)? u:object_r:location_data_file:s0
+/data/misc/location/mq/location-mq-s u:object_r:location_socket:s0
+/data/misc/location/mq/alarm_svc u:object_r:location_socket:s0
# IMS
-/(vendor|system/vendor)/bin/imscmservice u:object_r:ims_exec:s0
-/dev/socket/ims_rtpd u:object_r:ims_socket:s0
+/(vendor|system/vendor)/bin/imscmservice u:object_r:ims_exec:s0
+/dev/socket/ims_rtpd u:object_r:ims_socket:s0
# Port bridge
-/data/misc/port_bridge(/.*)? u:object_r:port_bridge_data_file:s0
+/data/misc/port_bridge(/.*)? u:object_r:port_bridge_data_file:s0
# IPA
-/data/misc/ipa(/.*)? u:object_r:ipacm_data_file:s0
+/data/misc/ipa(/.*)? u:object_r:ipacm_data_file:s0
# IOP
-/data/misc/iop(/.*)? u:object_r:iop_data_file:s0
+/data/misc/iop(/.*)? u:object_r:iop_data_file:s0
# Battery
-/sys/devices(/platform)?/soc\.0/qpnp-linear-charger-[a-z0-9]+/power_supply/battery(/.*)? u:object_r:sysfs_battery_supply:s0
-/sys/devices(/platform)?/soc\.0/qpnp-vm-bms-[a-z0-9]+/power_supply/bms(/.*)? u:object_r:sysfs_battery_supply:s0
+/sys/devices(/platform)?/soc\.0/qpnp-linear-charger-[a-z0-9]+/power_supply/battery(/.*)? u:object_r:sysfs_battery_supply:s0
+/sys/devices(/platform)?/soc\.0/qpnp-vm-bms-[a-z0-9]+/power_supply/bms(/.*)? u:object_r:sysfs_battery_supply:s0
# Graphics
-/sys/devices(/platform)?/soc\.0/[a-z0-9]+.qcom,mdss_mdp/qcom,mdss_fb_primary\.[0-9]+/leds/lcd-backlight(/.*)? u:object_r:sysfs_graphics:s0
-/sys/devices(/platform)?/soc\.0/[a-z0-9]+.qcom,mdss_mdp/caps u:object_r:sysfs_graphics:s0
+/sys/devices(/platform)?/soc\.0/[a-z0-9]+.qcom,mdss_mdp/qcom,mdss_fb_primary\.[0-9]+/leds/lcd-backlight(/.*)? u:object_r:sysfs_graphics:s0
+/sys/devices(/platform)?/soc\.0/[a-z0-9]+.qcom,mdss_mdp/caps u:object_r:sysfs_graphics:s0
# Subsys restart
/sys/devices(/platform)?/soc\.0/[a-z0-9\.:]+,[a-z0-9\-]+/subsys[0-9]+/name u:object_r:sysfs_ssr:s0
@@ -38,19 +38,19 @@
/sys/devices/[0-9a-f]+\.qcom,venus/subsys[0-9]+/name u:object_r:sysfs_ssr:s0
# Camera
-/data/fdAlbum u:object_r:camera_data_file:s0
+/data/fdAlbum u:object_r:camera_data_file:s0
# UIO
-/sys/devices(/platform)?/soc\.0/[0-9a-f]+\.qcom,msm-core/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
-/sys/devices(/platform)?/soc\.0/[0-9a-f]+\.qcom,dsp_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
-/sys/devices(/platform)?/soc\.0/[0-9a-f]+\.qcom,mdm_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
-/sys/devices(/platform)?/soc\.0/[0-9a-f]+\.qcom,rmtfs_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
-/sys/devices(/platform)?/soc\.0/[0-9a-f]+\.qcom,sensors_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
-/sys/devices/[0-9a-f]+\.rmtfs_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
-/sys/devices/[0-9a-f]+\.dsp_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
-/sys/devices/[0-9a-f]+\.mdm_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
-/sys/devices/[0-9a-f]+\.bimc_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
-/sys/devices/[0-9a-f]+\.oem_data_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
+/sys/devices(/platform)?/soc\.0/[0-9a-f]+\.qcom,msm-core/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
+/sys/devices(/platform)?/soc\.0/[0-9a-f]+\.qcom,dsp_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
+/sys/devices(/platform)?/soc\.0/[0-9a-f]+\.qcom,mdm_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
+/sys/devices(/platform)?/soc\.0/[0-9a-f]+\.qcom,rmtfs_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
+/sys/devices(/platform)?/soc\.0/[0-9a-f]+\.qcom,sensors_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
+/sys/devices/[0-9a-f]+\.rmtfs_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
+/sys/devices/[0-9a-f]+\.dsp_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
+/sys/devices/[0-9a-f]+\.mdm_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
+/sys/devices/[0-9a-f]+\.bimc_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
+/sys/devices/[0-9a-f]+\.oem_data_sharedmem/uio/uio[0-9]+(/.*)? u:object_r:sysfs_uio_file:s0
# GPU
/sys/devices/[a-f0-9]+\.qcom,kgsl-3d0/kgsl/kgsl-3d0(/.*)? u:object_r:sysfs_kgsl:s0
diff --git a/legacy-common/location.te b/legacy-common/location.te
index 8f2228e9..03ea5142 100644
--- a/legacy-common/location.te
+++ b/legacy-common/location.te
@@ -7,4 +7,4 @@ allow location shell_exec:file rx_file_perms;
# Allow socket communication
allow location wifi_data_file:sock_file create_file_perms;
-allow location system_server:unix_stream_socket { read write connectto};
+allow location system_server:unix_stream_socket { read write connectto };
diff --git a/legacy-common/mm-pp-daemon.te b/legacy-common/mm-pp-daemon.te
index 09f17e04..13bbbcef 100644
--- a/legacy-common/mm-pp-daemon.te
+++ b/legacy-common/mm-pp-daemon.te
@@ -1,10 +1,10 @@
# Allow binder communication
binder_use(mm-pp-daemon)
allow mm-pp-daemon {
- surfaceflinger_service
- sensorservice_service
- permission_service
- power_service
+ surfaceflinger_service
+ sensorservice_service
+ permission_service
+ power_service
}:service_manager find;
allow mm-pp-daemon { shell_exec zygote_exec }:file rx_file_perms;