platform_system_sepolicy/private
Alan Stokes fa10a14fac Refactor apex data file types.
We ended up with 4 labels for specific APEX files that were all
identical; I've replaced them with a single one
(apex_system_server_data_file).

Additionally I created an attribute to be applied to a "standard" APEX
module data file type that establishes the basics (it can be managed
by vold_prepare_subdirs and apexd), to make it easier to add new such
types - which I'm about to do.

Fix: 189415223
Test: Presubmits
Change-Id: I4406f6680aa8aa0e38afddb2f3ba75f8bfbb8c3c
2021-07-12 14:41:04 +01:00
..
compat Refactor apex data file types. 2021-07-12 14:41:04 +01:00
access_vectors untrusted_app_30: add new targetSdk domain 2021-07-05 11:42:31 +02:00
adbd.te Add fusefs_type for FUSE filesystems 2021-06-28 13:18:46 +02:00
aidl_lazy_test_server.te Add aidl_lazy_test_server 2020-01-07 15:11:03 -08:00
apex_test_prepostinstall.te
apexd.te Refactor apex data file types. 2021-07-12 14:41:04 +01:00
app.te Enable ART properties modularization 2021-06-01 16:14:55 -07:00
app_neverallows.te untrusted_app_30: add new targetSdk domain 2021-07-05 11:42:31 +02: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 Move system property rules to private 2020-03-18 16:46:04 +00:00
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 Allow blank_screen to make binder calls to the servicemanager 2020-04-02 19:38:36 +00:00
blkid.te
blkid_untrusted.te
bluetooth.te Allow Bluetooth to access SystemSuspend control service 2020-10-14 00:31:01 +00:00
bluetoothdomain.te
bootanim.te Allow boot animation to update boot status. 2021-04-28 15:17:09 +01:00
bootstat.te Enable incidentd access to ro.boot.bootreason 2020-04-09 15:57:06 -07:00
boringssl_self_test.te SEPolicy changes to allow vendor BoringSSL self test. 2019-10-01 14:14:36 +01:00
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 Merge "Revert "Add bug_map entry for unrelated SELinux denial to unblock IC."" 2021-01-20 07:54:34 +00: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
coredomain.te Revert "Revert "Add neverallows for debugfs access"" 2021-05-04 22:06:46 -07:00
cppreopts.te Ignore the denial when system_other is erased 2020-03-31 20:10:26 +08:00
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 Allow virtualizationservice and crosvm to access shell_data_file files. 2021-07-07 11:11:19 +00:00
derive_classpath.te Add support for invoking derive_classpath from otadexopt 2021-04-27 14:31:54 -07:00
derive_sdk.te Rename sdkext sepolicy to sdkextensions 2020-01-08 11:41:18 +00:00
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 Move system property rules to private 2020-03-18 16:46:04 +00:00
dnsmasq.te
domain.te Add fusefs_type for FUSE filesystems 2021-06-28 13:18:46 +02: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
fastbootd.te Fix fastbootd denials when using /proc/bootconfig. 2021-06-07 18:40:24 -07:00
file.te Refactor apex data file types. 2021-07-12 14:41:04 +01:00
file_contexts Refactor apex data file types. 2021-07-12 14:41:04 +01: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 Add sepolicy SF native boot namespace. 2021-06-30 14:07:44 -07:00
fs_use private/fs_use: Enable selinux for virtiofs 2020-03-06 17:19:04 +09:00
fsck.te Remove microdroid specific rules and files 2021-06-07 19:22:18 +09:00
fsck_untrusted.te
fsverity_init.te SELinux policy for on-device signing binary. 2021-02-03 16:15:48 +01:00
fwk_bufferhub.te
gatekeeperd.te Move system property rules to private 2020-03-18 16:46:04 +00:00
genfs_contexts allow init to access watermark_boost_factor 2021-07-01 12:24:52 +08: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 sepolicy: remove ashmemd 2019-09-27 17:43:53 +00:00
hal_lazy_test.te Add rules for hidl_lazy_test* 2020-04-24 14:09:41 -07:00
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 Add rules for hidl_lazy_test* 2020-04-24 14:09:41 -07:00
hwservice.te Add rules for hidl_lazy_test* 2020-04-24 14:09:41 -07:00
hwservice_contexts Remove thermalcallback_hwservice. 2020-09-16 21:57:05 +00:00
hwservicemanager.te Move system property rules to private 2020-03-18 16:46:04 +00:00
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 Merge "Add crosvm domain and give virtmanager and crosvm necessary permissions." 2021-04-22 18:57:15 +00: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 sepolicy: Add iorap_prefetcherd rules 2019-10-22 12:45:46 -07:00
iorapd.te sepolicy: policies for iorap.inode2filename 2020-02-20 16:38:17 -08:00
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 Don't require seinfo for priv-apps 2019-11-06 08:37:03 -08:00
keystore.te Remove wait_for_keymaster and references 2021-06-17 11:12:16 -07: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: Allow lmkd to access bpf map to read GPU allocation statistics 2021-06-11 20:59:53 +00:00
logd.te Move system property rules to private 2020-03-18 16:46:04 +00:00
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 Don't require seinfo for priv-apps 2019-11-06 08:37:03 -08:00
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 Allow mediaprovider to find the camera server. 2021-04-14 18:41:28 -07:00
mediaprovider_app.te Allow AudioServer find for mediaprovider_app 2021-07-02 10:23:04 +01: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 Enable ART properties modularization 2021-06-01 16:14:55 -07:00
odsign.te Allow odsign to rename apex_art_data_file:dir 2021-07-02 11:49:43 +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 Add support for invoking derive_classpath from otadexopt 2021-04-27 14:31:54 -07:00
ppp.te
preloads_copy.te Ignore the denial when system_other is erased 2020-03-31 20:10:26 +08:00
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 Add sepolicy SF native boot namespace. 2021-06-30 14:07:44 -07:00
property_contexts Merge "Add persist.nfc property" 2021-07-06 08:05:46 +00:00
racoon.te
radio.te Remove exported3_radio_prop 2020-08-03 09:23:39 +00:00
recovery.te Fix recovery denials when reading /proc/bootconfig 2021-06-23 14:11:48 -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 perf_event: rules for system and simpleperf domain 2020-01-15 16:56:41 +00:00
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 Add keystore permission for metrics re-routing. 2021-06-30 17:02:14 -07: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 /vendor/apex/*" 2021-06-14 13:20:30 +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 snapshotctl: allow to write stats 2020-02-14 20:51:53 +00:00
snapuserd.te Add a kernel transition to snapuserd. 2020-12-14 23:48:08 -08: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 Refactor apex data file types. 2021-07-12 14:41:04 +01: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: Create new attribute to serve ISuspendControlServiceInternal 2021-02-25 18:04:04 +08: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 Allow more permissions for removing VirtualizationService data directory. 2021-07-01 10:12:03 +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 Move system property rules to private 2020-03-18 16:46:04 +00:00
uncrypt.te Move system property rules to private 2020-03-18 16:46:04 +00:00
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 to communicate with apexd 2021-02-19 13:21:51 +00:00
update_engine_common.te Use postinstall file_contexts 2021-03-24 17:00:35 -07:00
update_verifier.te Move system property rules to private 2020-03-18 16:46:04 +00:00
usbd.te Move system property rules to private 2020-03-18 16:46:04 +00:00
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 Allow virtualizationservice and crosvm to access shell_data_file files. 2021-07-07 11:11:19 +00:00
vold.te Fix permissions for vold.post_fs_data_done 2021-04-26 12:43:05 -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 Don't run vzwomatrigger_app in permissive mode 2019-12-02 09:41:54 -08:00
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 zygotes and installd to read odsign properties 2021-07-01 14:18:51 +01:00