platform_system_sepolicy/public
Alex Klyubin 6e4508e625 Restrict access to Bluetooth system properties
This removes access to Bluetooth system properties from arbitrary
SELinux domains. Access remains granted to init, bluetooth, and
system_app domains. neverallow rules / CTS enforce that access is not
granted to Zygote and processes spawned from Zygote expcept for
system_app and bluetooth.

The reason is that some of these properties may leak persistent
identifiers not resettable by the user.

Test: Bluetooth pairing and data transfer works
Bug: 33700679
Change-Id: Icdcb3927a423c4011a62942340a498cc1b302472
2016-12-27 18:08:13 -08:00
..
adbd.te Restrict access to ro.serialno and ro.boot.serialno 2016-12-22 11:38:29 -08:00
app.te Restrict access to Bluetooth system properties 2016-12-27 18:08:13 -08:00
atrace.te Fix build. 2016-12-06 16:49:25 -08:00
attributes SEPolicy changes for BT SAP hal. 2016-12-27 23:52:58 +00:00
audioserver.te clean up hal types 2016-10-26 09:50:04 -07:00
binderservicedomain.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
blkid.te remove more domain_deprecated 2016-12-09 19:57:43 -08:00
blkid_untrusted.te remove more domain_deprecated 2016-12-09 19:57:43 -08:00
bluetooth.te SEPolicy changes for BT SAP hal. 2016-12-27 23:52:58 +00:00
bluetoothdomain.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
boot_control_hal.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
bootanim.te Add sepolicy for hwcomposer HAL 2016-11-14 01:54:33 +00:00
bootstat.te Assign a label to the ro.boottime.* properties 2016-12-14 13:45:01 -08:00
cameraserver.te Add sepolicy for gralloc-alloc HAL 2016-11-14 01:09:51 +00:00
charger.te healthd: create SEPolicy for 'charger' and reduce healthd's scope 2016-12-15 18:17:13 -08:00
clatd.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
cppreopts.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
debuggerd.te debuggerd.te: remove domain_deprecated 2016-12-09 19:17:16 -08:00
device.te /dev/port does not seem to be used, adding in rules to confirm. 2016-12-04 16:46:11 -08:00
dex2oat.te Label ephemeral APKs and handle their install/uninstall 2016-11-12 00:27:28 +00:00
dhcp.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
dnsmasq.te remove more domain_deprecated 2016-12-09 19:57:43 -08:00
domain.te Remove access to ro.runtime.firstboot from apps 2016-12-27 14:18:47 -08:00
domain_deprecated.te domain_deprecated.te: remove /proc/net access 2016-11-30 15:23:26 -08:00
drmserver.te sepolicy: add version_policy tool and version non-platform policy. 2016-12-06 08:56:02 -08:00
dumpstate.te Restrict access to ro.serialno and ro.boot.serialno 2016-12-22 11:38:29 -08:00
ephemeral_app.te Allow binder IPC between ephemeral app and appdomain 2016-12-14 21:06:57 +00:00
file.te Move MediaProvider to its own domain, add new MtpServer permissions 2016-12-12 11:05:33 -08:00
fingerprintd.te Add directory read permissions to certain domains. 2016-11-28 17:03:41 +00:00
fsck.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
fsck_untrusted.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
gatekeeperd.te Add directory read permissions to certain domains. 2016-11-28 17:03:41 +00:00
global_macros Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
hal_allocator.te Sepolicy for allocator hal. 2016-12-22 11:39:23 -08:00
hal_audio.te Allow hal_audio to set scheduling policy for its threads 2016-12-22 09:26:41 -08:00
hal_boot.te Add permissions for hal_boot 2016-11-21 10:09:40 -08:00
hal_dumpstate.te Add hal_dumpstate attribute. 2016-12-16 10:48:32 -08:00
hal_graphics_allocator.te All hal policies expressed as attributes. 2016-12-13 17:18:27 -08:00
hal_graphics_composer.te All hal policies expressed as attributes. 2016-12-13 17:18:27 -08:00
hal_health.te hal_health: express the sepolicy as attribute 2016-12-17 16:17:36 +00:00
hal_ir.te Add sepolicy for consumerir HIDL HAL 2016-12-13 15:23:13 -08:00
hal_light.te Move hal_light to attribute. 2016-11-18 08:40:04 -08:00
hal_memtrack.te All hal policies expressed as attributes. 2016-12-13 17:18:27 -08:00
hal_nfc.te All hal policies expressed as attributes. 2016-12-13 17:18:27 -08:00
hal_power.te All hal policies expressed as attributes. 2016-12-13 17:18:27 -08:00
hal_telephony.te SEPolicy changes for BT SAP hal. 2016-12-27 23:52:58 +00:00
hal_thermal.te All hal policies expressed as attributes. 2016-12-13 17:18:27 -08:00
hal_vibrator.te All hal policies expressed as attributes. 2016-12-13 17:18:27 -08:00
hal_vr.te All hal policies expressed as attributes. 2016-12-13 17:18:27 -08:00
hal_wifi.te All hal policies expressed as attributes. 2016-12-13 17:18:27 -08:00
healthd.te Remove 'net_admin' capability from healthd 2016-12-16 11:45:22 -08:00
hostapd.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
hwservicemanager.te hwbinder_use: allow for hwservicemanager callbacks. 2016-12-15 14:17:27 -08:00
idmap.te remove more domain_deprecated 2016-12-09 19:57:43 -08:00
init.te logcat: introduce split to logd and logpersist domains 2016-12-20 20:31:03 +00:00
inputflinger.te Remove domain_deprecated from some domains. 2016-11-25 17:37:30 -08:00
install_recovery.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
installd.te Allow installd to measure size of dexopt links. 2016-12-16 15:05:03 -07:00
ioctl_defines Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
ioctl_macros Add TCSETS to unpriv_tty_ioctls 2016-12-07 15:59:34 -08:00
isolated_app.te isolated_app.te: Give permissions for using sdcardfs 2016-12-12 13:16:24 -08:00
kernel.te kernel.te: tighten entrypoint / execute_no_trans neverallow 2016-10-30 18:46:44 -07:00
keystore.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
lmkd.te Remove domain_deprecated from some domains. 2016-11-25 17:37:30 -08:00
logd.te init: only allowed to transition to logpersist or logd 2016-12-21 07:40:30 -08:00
logpersist.te init: permit logpersist transition for the time being (STOPSHIP) 2016-12-21 14:37:24 -08:00
mdnsd.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
mediaanalytics.te Allow access to mediaanalytics service 2016-12-03 00:06:20 +00:00
mediacodec.te Allow access to mediaanalytics service 2016-12-03 00:06:20 +00:00
mediadrmserver.te Restrict access to ro.serialno and ro.boot.serialno 2016-12-22 11:38:29 -08:00
mediaextractor.te Allow access to mediaanalytics service 2016-12-03 00:06:20 +00:00
mediaserver.te Allow access to mediaanalytics service 2016-12-03 00:06:20 +00:00
mtp.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
net.te Allow ephemeral apps network connections 2016-11-14 12:24:51 -08:00
netd.te domain_deprecated.te: remove /proc/net access 2016-11-30 15:23:26 -08:00
neverallow_macros Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
nfc.te remove more domain_deprecated 2016-12-09 19:57:43 -08:00
otapreopt_chroot.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
otapreopt_slot.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
perfprofd.te Fix build. 2016-12-06 16:49:25 -08:00
platform_app.te Restore app_domain macro and move to private use. 2016-12-08 14:42:43 -08:00
postinstall.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
postinstall_dexopt.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
ppp.te domain_deprecated.te: remove /proc/net access 2016-11-30 15:23:26 -08:00
preopt2cachename.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
priv_app.te priv_app.te: drop app_data_file:file execute_no_trans; 2016-12-19 13:48:50 -08:00
profman.te profman/debuggerd: allow libart_file:file r_file_perms 2016-11-08 09:28:28 -08:00
property.te Restrict access to Bluetooth system properties 2016-12-27 18:08:13 -08:00
racoon.te racoon: remove domain_deprecated attribute 2016-10-15 17:15:25 -07:00
radio.te SEPolicy changes for BT SAP hal. 2016-12-27 23:52:58 +00:00
recovery.te Fix warning in recovery.te 2016-12-27 12:38:07 -08:00
recovery_persist.te sepolicy: add version_policy tool and version non-platform policy. 2016-12-06 08:56:02 -08:00
recovery_refresh.te sepolicy: add version_policy tool and version non-platform policy. 2016-12-06 08:56:02 -08:00
rild.te SEPolicy changes for BT SAP hal. 2016-12-27 23:52:58 +00:00
roles sepolicy: add version_policy tool and version non-platform policy. 2016-12-06 08:56:02 -08:00
runas.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
sdcardd.te Allow sdcardd to remount sdcardfs 2016-11-28 16:10:27 -08:00
service.te Add coverage service. 2016-12-19 11:04:33 -08:00
servicemanager.te Remove domain_deprecated from some domains. 2016-11-25 17:37:30 -08:00
sgdisk.te remove more domain_deprecated 2016-12-09 19:57:43 -08:00
shared_relro.te Restore app_domain macro and move to private use. 2016-12-08 14:42:43 -08:00
shell.te logcat: introduce split to logd and logpersist domains 2016-12-20 20:31:03 +00:00
slideshow.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
su.te Restore app_domain macro and move to private use. 2016-12-08 14:42:43 -08:00
surfaceflinger.te remove more domain_deprecated 2016-12-09 19:57:43 -08:00
system_app.te Restore app_domain macro and move to private use. 2016-12-08 14:42:43 -08:00
system_server.te Remove access to ro.runtime.firstboot from apps 2016-12-27 14:18:47 -08:00
te_macros Sepolicy for allocator hal. 2016-12-22 11:39:23 -08:00
tee.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
toolbox.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
tzdatacheck.te remove more domain_deprecated 2016-12-09 19:57:43 -08:00
ueventd.te Revert "ueventd.te: auditallow device:chr_file" 2016-12-05 17:29:25 +00:00
uncrypt.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
untrusted_app.te Restore app_domain macro and move to private use. 2016-12-08 14:42:43 -08:00
update_engine.te Add permissions for hal_boot 2016-11-21 10:09:40 -08:00
update_engine_common.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
update_verifier.te Add permissions for hal_boot 2016-11-21 10:09:40 -08:00
vdc.te remove more domain_deprecated 2016-12-09 19:57:43 -08:00
vold.te Removing file system remount permission from vold 2016-12-13 15:37:33 -08:00
watchdogd.te Split general policy into public and private components. 2016-10-06 13:09:06 -07:00
webview_zygote.te Restrict access to Bluetooth system properties 2016-12-27 18:08:13 -08:00
wificond.te hal_wifi: Allow system_server to access wifi HIDL services 2016-12-12 10:40:14 -08:00
wpa.te hal_wifi: Allow system_server to access wifi HIDL services 2016-12-12 10:40:14 -08:00
zygote.te Restrict access to Bluetooth system properties 2016-12-27 18:08:13 -08:00