platform_system_sepolicy/private
wescande 4b6a6aa861 Allow Bluetooth to access system config
The removing of getSystemConfigEnabledProfilesForPackage
hidden api for mainline project triggered a SEDenial:
```
avc: denied { read } for comm="droid.bluetooth" name="u:object_r:incremental_prop:s0" dev="tmpfs" ino=20229 scontext=u:r:bluetooth:s0 tcontext=u:object_r:incremental_prop:s0 tclass=file permissive=0
avc: denied { open } for comm="droid.bluetooth" path="/dev/__properties__/u:object_r:incremental_prop:s0" dev="tmpfs" ino=180 scontext=u:r:bluetooth:s0 tcontext=u:object_r:incremental_prop:s0 tclass=file permissive=0
avc: denied { getattr } for comm="droid.bluetooth" path="/dev/__properties__/u:object_r:incremental_prop:s0" dev="tmpfs" ino=180 scontext=u:r:bluetooth:s0 tcontext=u:object_r:incremental_prop:s0 tclass=file permissive=0
avc: denied { map } for comm="droid.bluetooth" path="/dev/__properties__/u:object_r:incremental_prop:s0" dev="tmpfs" ino=180 scontext=u:r:bluetooth:s0 tcontext=u:object_r:incremental_prop:s0 tclass=file permissive=0

avc: denied { read } for comm="droid.bluetooth" name="filesystems" dev="proc" ino=4026532079 scontext=u:r:bluetooth:s0 tcontext=u:object_r:proc_filesystems:s0 tclass=file permissive=0
avc: denied { open } for comm="droid.bluetooth" path="/proc/filesystems" dev="proc" ino=4026532079 scontext=u:r:bluetooth:s0 tcontext=u:object_r:proc_filesystems:s0 tclass=file permissive=0
avc: denied { getattr } for comm="droid.bluetooth" path="/proc/filesystems" dev="proc" ino=4026532079 scontext=u:r:bluetooth:s0 tcontext=u:object_r:proc_filesystems:s0 tclass=file permissive=0
```

Bug: 190440540
Test: Manual
Tag: #refactor
Change-Id: I86c77e540d783a4286a15cdf66b083aae1a55589
2021-08-25 12:33:00 +00:00
..
compat Allow init to execute extra_free_kbytes.sh script 2021-08-17 17:02:38 +00:00
access_vectors Allow vold to deleteAllKeys in Keystore 2021-08-10 21:51:09 -07:00
adbd.te Add fusefs_type for FUSE filesystems 2021-06-28 13:18:46 +02:00
aidl_lazy_test_server.te
apex_test_prepostinstall.te
apexd.te Allow the init and apexd processes to read all block device properties 2021-08-09 13:46:41 -07:00
app.te Add rules for virtualizationservice and crosvm 2021-07-26 10:45:08 +09:00
app_neverallows.te Add rules for virtualizationservice and crosvm 2021-07-26 10:45:08 +09:00
app_zygote.te Merge "Allow app_zygote to read zygote_tmpfs." 2021-07-05 09:10:23 +00:00
artd.te Enable ART properties modularization 2021-06-01 16:14:55 -07:00
asan_extract.te
atrace.te Ensure that only desired processes can access TracingServiceProxy 2021-06-24 08:24:20 +00:00
attributes Add expandattribute to system_and_vendor_property_type 2020-12-01 19:58:02 +09:00
audioserver.te Add fusefs_type for FUSE filesystems 2021-06-28 13:18:46 +02:00
auditctl.te
automotive_display_service.te Update automotive_display_service selinux policy 2021-06-19 03:00:25 +00:00
binderservicedomain.te Move list permission from keystore2_key to keystore class. 2020-10-01 05:33:31 +00:00
blank_screen.te
blkid.te
blkid_untrusted.te
bluetooth.te Allow Bluetooth to access system config 2021-08-25 12:33:00 +00:00
bluetoothdomain.te
bootanim.te Allow boot animation to update boot status. 2021-04-28 15:17:09 +01:00
bootstat.te
boringssl_self_test.te
bpfloader.te sepolicy: Allow lmkd to access bpf map to read GPU allocation statistics 2021-06-11 20:59:53 +00:00
bufferhubd.te
bug_map Track system_server->apex_art_data_file denial. 2021-07-24 09:42:03 +08:00
cameraserver.te
canhalconfigurator.te Revert "Revert "hal_can_*: use hal_attribute_service"" 2021-01-11 18:25:51 +00:00
charger.te Fix broken neverallow rules 2021-03-10 10:44:22 +09:00
clatd.te
compos.te Remove compos_key_cmd from policy 2021-07-28 14:36:50 +01:00
coredomain.te Revert "Revert "Add neverallows for debugfs access"" 2021-05-04 22:06:46 -07:00
cppreopts.te
crash_dump.te Allowing userdebug/eng builds crash dump access to ks 2021-04-30 18:50:54 +00:00
credstore.te Keystore 2.0: Remove keystore2.enable property. 2021-03-19 10:07:49 -07:00
crosvm.te Merge "crosvm now takes all files by FD." 2021-08-12 16:25:50 +00:00
derive_classpath.te Add support for invoking derive_classpath from otadexopt 2021-04-27 14:31:54 -07:00
derive_sdk.te
dex2oat.te Fix braino in dexoptanalyzer policy and add dex2oat postinstall rule. 2021-06-29 12:57:14 +01:00
dexoptanalyzer.te Fix braino in dexoptanalyzer policy and add dex2oat postinstall rule. 2021-06-29 12:57:14 +01:00
dhcp.te
dnsmasq.te
domain.te Don't prevent crosvm from accessing vendor-owned VM disk images 2021-08-09 11:13:54 +09:00
drmserver.te Relabel drm related props from exported*_prop 2020-06-19 10:52:10 +09:00
dumpstate.te Merge changes If26ba23d,Ibea38822 2021-05-05 17:31:35 +00:00
ephemeral_app.te Add fusefs_type for FUSE filesystems 2021-06-28 13:18:46 +02:00
extra_free_kbytes.te Allow init to execute extra_free_kbytes.sh script 2021-08-17 17:02:38 +00:00
fastbootd.te Allow update_engine, recovery, and fastbootd to read snapuserd properties. 2021-07-28 22:30:22 -07:00
file.te Add policy for CompOS APEX data files. 2021-07-13 15:35:53 +01:00
file_contexts Allow init to execute extra_free_kbytes.sh script 2021-08-17 17:02:38 +00:00
file_contexts_asan Fix data/asan/system/system_ext/lib selinux rule for file_contexts_asan 2020-06-08 10:05:07 +00:00
file_contexts_overlayfs
fingerprintd.te
flags_health_check.te sepolicy updates for adding native flag namespace for lmkd 2021-08-09 17:35:09 -07:00
fs_use
fsck.te Remove microdroid specific rules and files 2021-06-07 19:22:18 +09:00
fsck_untrusted.te
fsverity_init.te Don't audit fsverity_init's view to domain:key 2021-07-21 14:51:00 +00:00
fwk_bufferhub.te
gatekeeperd.te
genfs_contexts Allow init to execute extra_free_kbytes.sh script 2021-08-17 17:02:38 +00:00
gki_apex_prepostinstall.te Allow GKI APEX to use apexd:fd 2020-08-28 17:29:58 -07:00
gmscore_app.te Add DCK eligibility properties 2021-05-21 23:31:09 +00:00
gpuservice.te Move more properties out of exported3_default_prop 2020-07-21 13:11:57 +09:00
gsid.te Add fusefs_type for FUSE filesystems 2021-06-28 13:18:46 +02:00
hal_allocator_default.te
hal_lazy_test.te
halclientdomain.te
halserverdomain.te
healthd.te Remove exported2_system_prop 2020-08-06 12:52:32 +09:00
heapprofd.te Allow heapprofd to read shell_test_data_file. 2021-02-09 13:28:49 +00:00
hidl_lazy_test_server.te
hwservice.te
hwservice_contexts SELinux policy for lazy AIDL/HIDL testing services. 2021-07-21 12:24:43 -07:00
hwservicemanager.te
idmap.te
incident.te
incident_helper.te
incidentd.te Add get_prop(odsign_prop) to incidentd.te 2021-07-09 14:54:27 +01:00
init.te Allow the init and apexd processes to read all block device properties 2021-08-09 13:46:41 -07:00
initial_sid_contexts
initial_sids
inputflinger.te
installd.te Allow zygotes and installd to read odsign properties 2021-07-01 14:18:51 +01:00
iorap_inode2filename.te Permissions for odrefresh and /data/misc/apexdata/com.android.art 2021-01-13 10:38:22 +00:00
iorap_prefecherd.te
iorapd.te
isolated_app.te Add fusefs_type for FUSE filesystems 2021-06-28 13:18:46 +02:00
iw.te
kernel.te Add permissions required to install the DSU to a SD card 2021-01-27 06:36:12 +00:00
keys.conf
keystore.te Allow keystore to read and write keystore.crash_count system property. 2021-07-08 17:54:58 +00:00
keystore2_key_contexts Add keystore2 namespace for LocksettingsService. 2021-04-14 16:03:13 -07:00
keystore_keys.te Add keystore2 namespace for LocksettingsService. 2021-04-14 16:03:13 -07:00
linkerconfig.te Use postinstall file_contexts 2021-03-24 17:00:35 -07:00
llkd.te Allow llkd to stat() /proc/sysrq-trigger 2021-07-02 15:55:38 +02:00
lmkd.te sepolicy updates for adding native flag namespace for lmkd 2021-08-09 17:35:09 -07:00
logd.te
logpersist.te sepolicy: rules for uid/pid cgroups v2 hierarchy 2021-02-11 23:40:38 +00:00
lpdumpd.te Add rules for calling ReadDefaultFstab() 2021-03-29 15:23:29 +08:00
mac_permissions.xml
mdnsd.te
mediadrmserver.te
mediaextractor.te Add sepolicy swcodec native flag namespace. 2021-02-16 09:22:16 -08:00
mediametrics.te Allow communication between mediametrics & statsd 2021-03-12 04:06:23 -08:00
mediaprovider.te Add FUNCTIONFS_ENDPOINT_ALLOC to ioctl_defines and mediaprovider.te 2021-07-13 09:33:15 +08:00
mediaprovider_app.te Move mediaprovider_app to common code 2021-08-12 17:04:30 +08:00
mediaserver.te Allow mediaserver start transcoding service. 2021-05-17 13:52:38 -07:00
mediaswcodec.te Add sepolicy swcodec native flag namespace. 2021-02-16 09:22:16 -08:00
mediatranscoding.te Allow binder services to r/w su:tcp_socket 2021-06-08 10:39:02 -07:00
mediatuner.te Allow TunerService to find and call native Package Manager Service 2021-03-01 16:48:02 -08:00
migrate_legacy_obb_data.te
mls Add SELinux policy for using userfaultfd 2021-03-17 04:57:22 -07:00
mls_decl
mls_macros
mlstrustedsubject.te Remove app_data_file:dir access from dexoptanalyzer. 2020-09-22 15:54:02 +01:00
mm_events.te Sepolicy for mm_events 2021-04-06 22:46:32 -04:00
modprobe.te
mtp.te
netd.te Fix sepolicy to netd. 2021-01-27 17:34:01 +08:00
netutils_wrapper.te
network_stack.te Amend networkstack sepolicy for testing 2021-04-15 00:06:05 +08:00
nfc.te Add sepolicy to allow read/write nfc snoop log data 2020-09-24 17:36:07 +08:00
odrefresh.te odrefresh: add permission to sigkill child processes 2021-08-17 19:08:08 +01:00
odsign.te Allow odsign to rename & unlink CompOS files. 2021-07-30 15:00:28 +01:00
otapreopt_chroot.te Revert "Allow otapreopt_chroot to call otadexopt binder service" 2021-07-06 17:06:22 +00:00
otapreopt_slot.te
perfetto.te Sepolicy for mm_events 2021-04-06 22:46:32 -04:00
performanced.te
permissioncontroller_app.te Add missing permissions for Cuttlefish to support GSI testing 2021-05-03 16:49:07 -07:00
platform_app.te Add SELinux policy to allow testing of artd 2021-06-16 15:54:28 -07:00
policy_capabilities
port_contexts
postinstall.te Use postinstall file_contexts 2021-03-24 17:00:35 -07:00
postinstall_dexopt.te postinstall_dexopt: allow reading odsign.verification.status 2021-07-19 20:37:20 +01:00
ppp.te
preloads_copy.te
preopt2cachename.te
priv_app.te Allow priv_app to run the renderscript compiler. 2021-06-15 09:51:05 -07:00
profcollectd.te Add permissions in profcollectd to parse kernel etm data. 2021-04-08 16:03:59 -07:00
profman.te
property.te sepolicy updates for adding native flag namespace for lmkd 2021-08-09 17:35:09 -07:00
property_contexts Merge "Allow vold to deleteAllKeys in Keystore" 2021-08-11 17:39:55 +00:00
racoon.te
radio.te Remove exported3_radio_prop 2020-08-03 09:23:39 +00:00
recovery.te Allow update_engine, recovery, and fastbootd to read snapuserd properties. 2021-07-28 22:30:22 -07:00
recovery_persist.te
recovery_refresh.te
remote_prov_app.te Allow remote_prov_app to find app_api_service 2021-03-23 14:00:28 -07:00
roles_decl
rs.te Allow priv_app to run the renderscript compiler. 2021-06-15 09:51:05 -07:00
rss_hwm_reset.te
runas.te
runas_app.te
sdcardd.te
seapp_contexts untrusted_app_30: add new targetSdk domain 2021-07-05 11:42:31 +02:00
secure_element.te
security_classes Add SELinux policy for using userfaultfd 2021-03-17 04:57:22 -07:00
service.te Configure sepolicy for TracingServiceProxy 2021-02-05 11:04:11 -08:00
service_contexts Context Hub stable AIDL sepolicy 2021-08-10 22:06:43 +00:00
servicemanager.te
sgdisk.te
shared_relro.te Make shared_relro policy private. 2021-01-05 09:48:10 +00:00
shell.te Merge "Allow shell to read odsign properties." 2021-08-09 06:45:56 +00:00
simpleperf.te allow simpleperf to profile more app types. 2021-06-30 17:24:05 -07:00
simpleperf_app_runner.te allow simpleperf to profile more app types. 2021-06-30 17:24:05 -07:00
slideshow.te
snapshotctl.te
snapuserd.te Merge "Allow snapuserd to inotify watch /dev/socket." 2021-08-05 16:40:57 +00:00
stats.te Enable pull metrics from keystore 2021-04-13 22:45:01 +00:00
statsd.te Selinux changes for statsd flags 2020-11-17 19:28:41 -08:00
storaged.te Revert "Revert "Add neverallows for debugfs access"" 2021-05-04 22:06:46 -07:00
su.te Permissions for odrefresh and /data/misc/apexdata/com.android.art 2021-01-13 10:38:22 +00:00
surfaceflinger.te Fix sepolicy get_prop for SF namespace. 2021-07-02 16:31:13 -07:00
system_app.te Ensure that only desired processes can access TracingServiceProxy 2021-06-24 08:24:20 +00:00
system_server.te sepolicy updates for adding native flag namespace for lmkd 2021-08-09 17:35:09 -07:00
system_server_startup.te Allow system_server_startup to load system server odex files 2021-06-24 09:02:56 +01:00
system_suspend.te sepolicy: Serve suspend AIDL hal from system_suspend 2021-07-20 18:54:55 +00:00
technical_debt.cil Use attributes for exclusive property owners 2020-11-30 18:34:30 +09:00
tombstoned.te Fix broken neverallow rules 2021-03-10 10:44:22 +09:00
toolbox.te virtualizationservice will clear its own temporary directory. 2021-07-14 16:56:51 +00:00
traced.te Ensure that only desired processes can access TracingServiceProxy 2021-06-24 08:24:20 +00:00
traced_perf.te traced_perf: allow RO tracefs access + fix neverallow 2021-01-31 16:44:00 +00:00
traced_probes.te sepolicy: allow traced_probes to access statsd socket 2021-04-30 12:16:04 +01:00
traceur_app.te Cleanup mechanism for enabling perfetto daemon. 2020-06-01 11:56:03 -07:00
tzdatacheck.te
ueventd.te
uncrypt.te
untrusted_app.te untrusted_app_30: add new targetSdk domain 2021-07-05 11:42:31 +02:00
untrusted_app_25.te untrusted_app_30: add new targetSdk domain 2021-07-05 11:42:31 +02:00
untrusted_app_27.te untrusted_app_30: add new targetSdk domain 2021-07-05 11:42:31 +02:00
untrusted_app_29.te untrusted_app_30: add new targetSdk domain 2021-07-05 11:42:31 +02:00
untrusted_app_30.te untrusted_app_30: add new targetSdk domain 2021-07-05 11:42:31 +02:00
untrusted_app_all.te allow simpleperf to profile more app types. 2021-06-30 17:24:05 -07:00
update_engine.te Allow update_engine, recovery, and fastbootd to read snapuserd properties. 2021-07-28 22:30:22 -07:00
update_engine_common.te Use postinstall file_contexts 2021-03-24 17:00:35 -07:00
update_verifier.te
usbd.te
users
vdc.te Add vehicle_binding_util SELinux context 2021-06-28 22:17:50 +00:00
vehicle_binding_util.te Add vehicle_binding_util SELinux context 2021-06-28 22:17:50 +00:00
vendor_init.te Add crosvm domain and give virtmanager and crosvm necessary permissions. 2021-04-13 09:30:20 +00:00
viewcompiler.te
virtual_touchpad.te
virtualizationservice.te crosvm now takes all files by FD. 2021-08-06 13:57:17 +00:00
vold.te Allow vold to deleteAllKeys in Keystore 2021-08-10 21:51:09 -07:00
vold_prepare_subdirs.te Refactor apex data file types. 2021-07-12 14:41:04 +01:00
vr_hwc.te
vzwomatrigger_app.te
wait_for_keymaster.te Remove wait_for_keymaster and references 2021-06-17 11:12:16 -07:00
watchdogd.te
webview_zygote.te Allow zygotes and installd to read odsign properties 2021-07-01 14:18:51 +01:00
wificond.te Rename vpnprofilestore to legacykeystore. 2021-06-30 12:40:39 -07:00
wpantund.te
zygote.te Allow Zygote to unmount labeledfs 2021-07-14 10:09:20 +08:00