platform_system_sepolicy/private
JW Wang 65480a460f Relabel /data/rollback files as enabling rollback (4/n)
We will link files under /data/apex/active and /data/app to
/data/rollback when enabling rollbacks to avoid copy.

When creating hard links, we have to enusre source and target have the
same label to avoid subtle bugs.

We will assign apk_data_file to *.apk files and
staging_data_file to *.apex files under /data/rollback.

Also allow system_server to link /data/apex/active files.

Bug: 168562373
Test: m
Change-Id: I4be38cc8c84494c4ddfa03e37f2af3958bff5dfb
2021-01-07 11:11:54 +08:00
..
compat Add SELinux policy for legacy permission service. 2020-12-04 14:43:33 -08:00
access_vectors Move list permission from keystore2_key to keystore class. 2020-09-30 12:18:26 -07:00
adbd.te Let adbd set service.adb.tcp.port. 2020-11-06 13:08:04 -08:00
aidl_lazy_test_server.te Add aidl_lazy_test_server 2020-01-07 15:11:03 -08:00
apex_test_prepostinstall.te Sepolicy: Initial Apexd pre-/postinstall rules 2019-01-24 15:06:17 -08:00
apexd.te Allow apexd to read ro.cold_boot_done prop 2020-10-02 18:06:37 +01:00
app.te Add contexts for sqlite debug properties 2020-11-18 12:14:20 +09:00
app_neverallows.te Merge "Revert "sepolicy: rules for uid/pid cgroups v2 hierarchy"" 2020-12-04 04:47:39 +00:00
app_zygote.te Introduce app_data_file_type attribute. 2020-11-11 14:43:36 +00:00
asan_extract.te Move system property rules to private 2020-03-18 16:46:04 +00:00
atrace.te Make AIDL HAL client attribute an exclusive client. 2020-09-11 00:02:00 +00:00
attributes Add expandattribute to system_and_vendor_property_type 2020-12-01 19:58:02 +09:00
audioserver.te Move audio config props to audio_config_prop 2020-05-06 22:58:29 +09:00
auditctl.te Add policy for /system/bin/auditctl 2019-04-09 20:55:30 -07:00
automotive_display_service.te Update automotive display service rules 2020-02-29 11:01:26 -08:00
binderservicedomain.te Move list permission from keystore2_key to keystore class. 2020-09-30 12:18:26 -07:00
blank_screen.te Allow blank_screen to make binder calls to the servicemanager 2020-04-02 19:38:36 +00:00
blkid.te Introduce system_file_type 2018-09-27 12:52:09 -07:00
blkid_untrusted.te
bluetooth.te Allow Bluetooth to access SystemSuspend control service 2020-10-14 00:31:01 +00:00
bluetoothdomain.te
bootanim.te Reduce graphics logspam 2020-04-02 14:43:17 +02: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 Allow network_stack to update eBPF map 2020-12-02 00:38:25 +00:00
bufferhubd.te Remove unused bufferhub sepolicy 2018-12-10 13:36:11 -08:00
bug_map Re-audit SELinux denials for external storage. 2020-09-11 13:24:50 +00:00
cameraserver.te Abstract use of cameraserver behind an attribute 2019-03-01 14:02:59 -08:00
canhalconfigurator.te Enable CAN HAL Configuration Service 2020-07-24 14:43:31 -07:00
charger.te Allow charger to read minui properties 2020-07-14 18:06:54 +09:00
clatd.te sepolicy - move public clatd to private 2019-05-11 17:47:25 -07:00
coredomain.te Add contexts for sqlite debug properties 2020-11-18 12:14:20 +09:00
cppreopts.te Ignore the denial when system_other is erased 2020-03-31 20:10:26 +08:00
crash_dump.te crash_dump: suppress devpts denials 2019-03-19 04:05:51 +00:00
credstore.te Add SELinux policy for credstore and update for IC HAL port from HIDL to AIDL. 2020-02-19 13:46:45 -05:00
derive_sdk.te Rename sdkext sepolicy to sdkextensions 2020-01-08 11:41:18 +00:00
dex2oat.te Remove policy for deprecated ART apex update scripts 2020-09-30 16:14:41 +01:00
dexoptanalyzer.te Remove app_data_file:dir access from dexoptanalyzer. 2020-09-22 15:54:02 +01:00
dhcp.te Move system property rules to private 2020-03-18 16:46:04 +00:00
dnsmasq.te
domain.te Revert "sepolicy: rules for uid/pid cgroups v2 hierarchy" 2020-12-04 03:12:59 +00:00
drmserver.te Relabel drm related props from exported*_prop 2020-06-19 10:52:10 +09:00
dumpstate.te Fix pid_max denials from dumpstate, incidentd 2020-12-02 16:05:01 -08:00
ephemeral_app.te sepolicy: clean up redundant rules around gpuservice 2020-04-15 09:24:16 -07:00
fastbootd.te Support TCP based fastbootd in recovery mode. 2020-05-15 22:23:42 +00:00
file.te Create directory for shell<>perfetto interaction 2020-10-13 21:27:27 +00:00
file_contexts Relabel /data/rollback files as enabling rollback (4/n) 2021-01-07 11:11:54 +08: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 fs_mgr: add /mnt/scratch to possible overlayfs support directories 2018-10-08 14:23:01 +00:00
fingerprintd.te
flags_health_check.te Selinux changes for statsd flags 2020-11-17 19:28:41 -08:00
fs_use private/fs_use: Enable selinux for virtiofs 2020-03-06 17:19:04 +09:00
fsck.te Allow access to the metadata partition for metadata encryption. 2018-01-19 14:45:08 -08:00
fsck_untrusted.te
fsverity_init.te Remove unused sepolicy by fsverity_init 2020-05-29 10:04:47 -07:00
fwk_bufferhub.te Allow bufferhub service to allocate buffer 2018-11-07 13:57:55 -08:00
gatekeeperd.te Move system property rules to private 2020-03-18 16:46:04 +00:00
genfs_contexts Add sched_process_free to debugfs_tracing label 2020-12-03 16:47:30 -08:00
gki_apex_prepostinstall.te Allow GKI APEX to use apexd:fd 2020-08-28 17:29:58 -07:00
gmscore_app.te Grant gmscore permission to read virtual ab properties 2020-09-21 10:27:20 -04:00
gpuservice.te Move more properties out of exported3_default_prop 2020-07-21 13:11:57 +09:00
gsid.te Allow gsid to find and binder-call vold 2020-10-23 20:30:00 +08: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_data_file. 2020-10-08 12:49:06 +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 Add idmap2 and idmap2d 2018-11-15 14:42:10 +00:00
incident.te Allow dumpstate to call incident CLI 2019-08-21 16:10:39 -07:00
incident_helper.te Allow dumpstate to dump incidentd 2018-12-04 15:42:56 -08:00
incidentd.te Fix pid_max denials from dumpstate, incidentd 2020-12-02 16:05:01 -08:00
init.te init: Allow interacting with snapuserd and libsnapshot. 2020-10-30 00:17:37 -07:00
initial_sid_contexts
initial_sids
inputflinger.te
installd.te sepolicy: allow rules for apk verify system property 2019-12-03 10:09:35 -08:00
iorap_inode2filename.te sepolicy: policies for iorap.inode2filename 2020-02-20 16:38:17 -08: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 Merge "Revert "Prevent isolated_app from searching system_data_file."" 2020-10-20 10:06:54 +00:00
iw.te Allow iw to be run at init phase. 2018-11-14 19:10:12 +00:00
kernel.te Sepolicy: Move otapreopt_chroot to private 2019-03-18 10:54:42 -07:00
keys.conf Don't require seinfo for priv-apps 2019-11-06 08:37:03 -08:00
keystore.te Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709) 2020-08-29 01:45:24 -07:00
keystore2_key_contexts Add keystore2_key namespace shell_key for shell. 2020-08-05 21:58:04 +00:00
keystore_keys.te Add keystore2_key namespace shell_key for shell. 2020-08-05 21:58:04 +00:00
linkerconfig.te Allow linkerconfig to read apex-info-file.xml 2020-07-30 01:11:15 +09:00
llkd.te llkd: requires sys_admin permissions 2020-01-15 08:08:59 -08:00
lmkd.te Add lmkd. property policies 2020-05-08 15:35:16 +00:00
logd.te Move system property rules to private 2020-03-18 16:46:04 +00:00
logpersist.te Revert "sepolicy: rules for uid/pid cgroups v2 hierarchy" 2020-12-04 03:12:59 +00:00
lpdumpd.te binder_use: Allow servicemanager callbacks 2019-12-19 23:07:14 +00:00
mac_permissions.xml Don't require seinfo for priv-apps 2019-11-06 08:37:03 -08:00
mdnsd.te Introduce system_file_type 2018-09-27 12:52:09 -07:00
mediadrmserver.te
mediaextractor.te Move system property rules to private 2020-03-18 16:46:04 +00:00
mediametrics.te
mediaprovider.te Rename contexts of ffs props 2020-05-11 21:23:37 +09:00
mediaprovider_app.te Relabel drm related props from exported*_prop 2020-06-19 10:52:10 +09:00
mediaserver.te Relabel drm related props from exported*_prop 2020-06-19 10:52:10 +09:00
mediaswcodec.te Move system property rules to private 2020-03-18 16:46:04 +00:00
mediatranscoding.te Allow media.transcoding to access package manager native 2020-10-05 12:12:19 -07:00
migrate_legacy_obb_data.te sepolicy: Adjust policy for migrate_legacy_obb_data.sh 2019-07-16 02:55:25 +00:00
mls Exempt older vendor images from recent mls changes. 2020-11-17 17:30:10 +00:00
mls_decl
mls_macros
mlstrustedsubject.te Remove app_data_file:dir access from dexoptanalyzer. 2020-09-22 15:54:02 +01:00
modprobe.te
mtp.te
netd.te Move system property rules to private 2020-03-18 16:46:04 +00:00
netutils_wrapper.te Sepolicy for netutils_wrapper to use binder call 2019-04-26 02:46:39 +00:00
network_stack.te Allow network_stack to update eBPF map 2020-12-02 00:38:25 +00:00
nfc.te Add sepolicy to allow read/write nfc snoop log data 2020-09-24 17:36:07 +08:00
notify_traceur.te Allow the init process to execute the notify_traceur.sh script 2019-02-07 00:28:40 +00:00
otapreopt_chroot.te Temporarily allow otapreopt_chroot to query ro.cold_boot_done prop 2020-11-10 20:38:45 +00:00
otapreopt_slot.te Sepolicy: Clean up moved files 2019-02-22 08:36:41 -08:00
perfetto.te Create directory for shell<>perfetto interaction 2020-10-13 21:27:27 +00:00
performanced.te
permissioncontroller_app.te Add SELinux policy for legacy permission service. 2020-12-04 14:43:33 -08:00
platform_app.te Add keyguard_config_prop for keyguard property 2020-07-07 12:46:24 +09:00
policy_capabilities Add nnp_nosuid_transition policycap and related class/perm definitions. 2018-09-07 10:52:31 -07:00
port_contexts
postinstall.te
postinstall_dexopt.te Sepolicy: Allow otapreopt access to vendor overlay files 2019-03-22 12:13:53 -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 Sepolicy: Clean up moved files 2019-02-22 08:36:41 -08:00
priv_app.te Revert "sepolicy: rules for uid/pid cgroups v2 hierarchy" 2020-12-04 03:12:59 +00:00
profcollectd.te Configs for profcollect system properties 2020-10-27 03:46:31 +08:00
profman.te
property.te Use attributes for exclusive property owners 2020-11-30 18:34:30 +09:00
property_contexts Merge "Add ro.cpuvulkan.version to property_contexts" 2020-11-23 02:24:30 +00:00
racoon.te
radio.te Remove exported3_radio_prop 2020-08-03 09:23:39 +00:00
recovery.te Relabel minui properties as recovery_config_prop 2020-06-16 19:18:24 +09:00
recovery_persist.te In native coverage builds, allow all domains to access /data/misc/trace 2019-06-19 16:27:17 -07:00
recovery_refresh.te In native coverage builds, allow all domains to access /data/misc/trace 2019-06-19 16:27:17 -07:00
roles_decl
rs.te rs.te: Allow ephemeral_app FD use 2019-04-02 13:59:39 -07:00
rss_hwm_reset.te SELinux policy for rss_hwm_reset 2018-12-15 10:13:03 +00:00
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 Allow network_stack to update eBPF map 2020-12-02 00:38:25 +00:00
secure_element.te SE Policy for Secure Element app and Secure Element HAL 2018-01-29 21:31:42 +00:00
security_classes Add security class keystore2_key. 2020-08-05 16:11:48 +00:00
service.te Add sepolicy for profcollectd 2020-07-01 23:44:37 +08:00
service_contexts Add SELinux policy for legacy permission service. 2020-12-04 14:43:33 -08:00
servicemanager.te Allow servicemanager to start processes 2019-08-02 00:23:16 +00:00
sgdisk.te
shared_relro.te
shell.te Add sepolicy for starting the snapuserd daemon through init. 2020-11-19 21:03:30 +00:00
simpleperf.te perf_event: rules for system and simpleperf domain 2020-01-15 16:56:41 +00:00
simpleperf_app_runner.te Add sepolicy for simpleperf_app_runner. 2019-01-23 23:23:09 +00:00
slideshow.te
snapshotctl.te snapshotctl: allow to write stats 2020-02-14 20:51:53 +00:00
snapuserd.te Add sepolicy for starting the snapuserd daemon through init. 2020-11-19 21:03:30 +00:00
stats.te GpuStats: sepolicy change for using new statsd puller api 2020-02-04 15:55:59 -08:00
statsd.te Selinux changes for statsd flags 2020-11-17 19:28:41 -08:00
storaged.te Allow GMS core to call dumpsys storaged 2019-12-11 12:49:04 -08:00
su.te Add su_key, a keystore2_key namespace for su. 2020-08-05 16:11:48 +00:00
surfaceflinger.te Revert "sepolicy: rules for uid/pid cgroups v2 hierarchy" 2020-12-04 03:12:59 +00:00
system_app.te Revert "sepolicy: rules for uid/pid cgroups v2 hierarchy" 2020-12-04 03:12:59 +00:00
system_server.te Relabel /data/rollback files as enabling rollback (4/n) 2021-01-07 11:11:54 +08:00
system_server_startup.te Revert "Sepolicy: Allow system_server_startup to load dalvikcache artifacts" 2020-03-16 16:44:55 +00:00
system_suspend.te Sepolicy for dumsys suspend_control in bugreport 2020-11-23 19:04:04 -05:00
technical_debt.cil Use attributes for exclusive property owners 2020-11-30 18:34:30 +09:00
tombstoned.te Add tombstone_config_prop and move related prop 2020-07-07 14:17:40 +09:00
toolbox.te
traced.te Allow traced to create files within /data/misc/perfetto-traces 2020-04-20 16:16:58 +01:00
traced_perf.te userdebug_or_eng: allow traced_perf to read kallsyms. 2020-11-12 20:04:40 +00:00
traced_probes.te New type for printk_formats, allow traced_probes. 2020-11-05 12:55:50 +00: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 reland: untrusted_app_29: add new targetSdk domain 2020-01-22 09:47:53 +00:00
untrusted_app_25.te Revert^3 "Enforce RTM_GETLINK restrictions on all 3p apps" 2020-12-01 10:04:23 +00:00
untrusted_app_27.te Revert^3 "Enforce RTM_GETLINK restrictions on all 3p apps" 2020-12-01 10:04:23 +00:00
untrusted_app_29.te Revert^3 "Enforce RTM_GETLINK restrictions on all 3p apps" 2020-12-01 10:04:23 +00:00
untrusted_app_all.te Clarify comments on 3rd party app attributes. 2020-09-17 17:15:26 +00:00
update_engine.te Add sepolicy for starting the snapuserd daemon through init. 2020-11-19 21:03:30 +00:00
update_engine_common.te
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
vendor_init.te Let adbd set service.adb.tcp.port. 2020-11-06 13:08:04 -08:00
viewcompiler.te Give map permission to viewcompiler 2019-08-27 10:43:55 -07:00
virtual_touchpad.te
vold.te Allow gsid to find and binder-call vold 2020-10-23 20:30:00 +08:00
vold_prepare_subdirs.te Allow vold to set MLS level on per-user directories. 2020-10-02 13:39:59 +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 Introduce system_file_type 2018-09-27 12:52:09 -07:00
watchdogd.te Move watchdogd out of init and into its own domain 2018-08-03 19:28:05 +00:00
webview_zygote.te Introduce app_data_file_type attribute. 2020-11-11 14:43:36 +00:00
wificond.te Add wifi_hal_prop and remove exported_wifi_prop 2020-07-17 17:38:13 +09:00
wpantund.te lowpan: Add wpantund to SEPolicy 2017-10-16 14:10:40 -07:00
zygote.te Revert "sepolicy: rules for uid/pid cgroups v2 hierarchy" 2020-12-04 03:12:59 +00:00