blob: 2726d84a6005d5abd021549eefb05e8872a4765e [file] [log] [blame]
Stephen Smalley124720a2012-04-04 10:11:16 -04001##########################
2# property service keys
3#
4#
Stephen Smalleyfee49152014-06-19 10:27:02 -04005net.rmnet u:object_r:net_radio_prop:s0
6net.gprs u:object_r:net_radio_prop:s0
7net.ppp u:object_r:net_radio_prop:s0
8net.qmi u:object_r:net_radio_prop:s0
9net.lte u:object_r:net_radio_prop:s0
10net.cdma u:object_r:net_radio_prop:s0
Nick Kralevich4e404292017-02-09 16:08:11 -080011net.dns u:object_r:net_dns_prop:s0
Jaekyun Seokf9d27882018-01-12 10:19:48 +090012sys.usb.config u:object_r:system_radio_prop:s0
Stephen Smalleyfee49152014-06-19 10:27:02 -040013ril. u:object_r:radio_prop:s0
Tom Cherryf89847a2016-01-11 13:06:25 -080014ro.ril. u:object_r:radio_prop:s0
Stephen Smalley730957a2012-04-04 16:01:19 -040015gsm. u:object_r:radio_prop:s0
Stephen Smalley124720a2012-04-04 10:11:16 -040016persist.radio u:object_r:radio_prop:s0
Stephen Smalley124720a2012-04-04 10:11:16 -040017
18net. u:object_r:system_prop:s0
19dev. u:object_r:system_prop:s0
Tom Cherryf89847a2016-01-11 13:06:25 -080020ro.runtime. u:object_r:system_prop:s0
Alex Klyubin062236a2016-12-27 14:05:46 -080021ro.runtime.firstboot u:object_r:firstboot_prop:s0
Stephen Smalley124720a2012-04-04 10:11:16 -040022hw. u:object_r:system_prop:s0
Tom Cherryf89847a2016-01-11 13:06:25 -080023ro.hw. u:object_r:system_prop:s0
Stephen Smalley124720a2012-04-04 10:11:16 -040024sys. u:object_r:system_prop:s0
Alex Lightb7ebb322016-06-22 15:47:09 -070025sys.cppreopt u:object_r:cppreopt_prop:s0
Nick Kralevich7914a472013-06-28 20:15:37 -070026sys.powerctl u:object_r:powerctl_prop:s0
Nick Kralevichcaefbd72015-04-23 19:42:25 -070027sys.usb.ffs. u:object_r:ffs_prop:s0
Stephen Smalley124720a2012-04-04 10:11:16 -040028service. u:object_r:system_prop:s0
Stephen Smalleyfee49152014-06-19 10:27:02 -040029dhcp. u:object_r:dhcp_prop:s0
Paul Jensen97a2cfd2014-06-18 09:20:36 -040030dhcp.bt-pan.result u:object_r:pan_result_prop:s0
Alex Klyubin3123b1e2013-05-06 10:18:27 -070031bluetooth. u:object_r:bluetooth_prop:s0
Stephen Smalley124720a2012-04-04 10:11:16 -040032
Nick Kralevichdd1ec6d2013-11-01 10:45:03 -070033debug. u:object_r:debug_prop:s0
Nick Kralevich116a20f2014-02-05 16:36:25 -080034debug.db. u:object_r:debuggerd_prop:s0
Felipe Leme83fd8a52015-12-01 18:03:05 -080035dumpstate. u:object_r:dumpstate_prop:s0
Felipe Lemea5a80722016-09-21 10:44:11 -070036dumpstate.options u:object_r:dumpstate_options_prop:s0
mukesh agrawal84cfde22016-04-15 11:10:06 -070037log. u:object_r:log_prop:s0
Mark Salyzyn44c98bb2016-06-06 12:10:00 -070038log.tag u:object_r:log_tag_prop:s0
mukesh agrawale651f6f2016-04-15 11:10:39 -070039log.tag.WifiHAL u:object_r:wifi_log_prop:s0
Daniel Micay38ac77e2016-05-31 16:01:08 -040040security.perf_harden u:object_r:shell_prop:s0
Stephen Smalley124720a2012-04-04 10:11:16 -040041service.adb.root u:object_r:shell_prop:s0
42service.adb.tcp.port u:object_r:shell_prop:s0
43
William Robertse2ad3182012-11-27 17:34:54 -080044persist.audio. u:object_r:audio_prop:s0
Andre Eisenbacheebdb472016-02-08 15:39:00 -080045persist.bluetooth. u:object_r:bluetooth_prop:s0
Yasuhiro Matsuda3d328172015-06-24 15:24:17 +090046persist.debug. u:object_r:persist_debug_prop:s0
Mark Salyzyn9e7bbf62014-06-12 12:47:22 -070047persist.logd. u:object_r:logd_prop:s0
Jaekyun Seoke4971452017-10-19 16:54:49 +090048ro.logd. u:object_r:logd_prop:s0
Rubin Xu0c8286f2016-01-04 15:20:45 +000049persist.logd.security u:object_r:device_logging_prop:s0
Mark Salyzyn68d67a02016-06-06 12:18:46 -070050persist.logd.logpersistd u:object_r:logpersistd_logging_prop:s0
Mark Salyzyn91e7ac92016-07-08 08:41:08 -070051logd.logpersistd u:object_r:logpersistd_logging_prop:s0
Mark Salyzyn44c98bb2016-06-06 12:10:00 -070052persist.log.tag u:object_r:log_tag_prop:s0
Mark Salyzynd1435602016-02-04 10:55:43 -080053persist.mmc. u:object_r:mmc_prop:s0
Lorenzo Colitti5b3efd32017-07-11 09:43:19 +090054persist.netd.stable_secret u:object_r:netd_stable_secret_prop:s0
Stephen Smalley124720a2012-04-04 10:11:16 -040055persist.sys. u:object_r:system_prop:s0
Sami Tolvanen9c168712016-02-05 15:42:32 -080056persist.sys.safemode u:object_r:safemode_prop:s0
dcashman3e8d1bf2016-03-02 16:14:17 -080057ro.sys.safemode u:object_r:safemode_prop:s0
Sami Tolvanen9c168712016-02-05 15:42:32 -080058persist.sys.audit_safemode u:object_r:safemode_prop:s0
Stephen Smalley124720a2012-04-04 10:11:16 -040059persist.service. u:object_r:system_prop:s0
Alex Klyubin3123b1e2013-05-06 10:18:27 -070060persist.service.bdroid. u:object_r:bluetooth_prop:s0
Stephen Smalley124720a2012-04-04 10:11:16 -040061persist.security. u:object_r:system_prop:s0
Lalit Maganti673b4db2018-04-20 19:09:45 +010062persist.traced.enable u:object_r:traced_enabled_prop:s0
Jason Monk0e1cbf52016-11-09 15:19:05 -050063persist.vendor.overlay. u:object_r:overlay_prop:s0
64ro.boot.vendor.overlay. u:object_r:overlay_prop:s0
Nick Kralevichbb9a3882016-12-13 19:50:36 -080065ro.boottime. u:object_r:boottime_prop:s0
Alex Klyubin20151072016-12-20 15:31:37 -080066ro.serialno u:object_r:serialno_prop:s0
Alex Klyubin6e4508e2016-12-27 18:05:46 -080067ro.boot.btmacaddr u:object_r:bluetooth_prop:s0
Alex Klyubin20151072016-12-20 15:31:37 -080068ro.boot.serialno u:object_r:serialno_prop:s0
Alex Klyubin6e4508e2016-12-27 18:05:46 -080069ro.bt. u:object_r:bluetooth_prop:s0
Mark Salyzyn006c2e92017-08-14 14:25:10 -070070ro.boot.bootreason u:object_r:bootloader_boot_reason_prop:s0
71persist.sys.boot.reason u:object_r:last_boot_reason_prop:s0
72sys.boot.reason u:object_r:system_boot_reason_prop:s0
Mark Salyzyna1bce772018-06-05 09:41:59 -070073sys.boot.reason.last u:object_r:last_boot_reason_prop:s0
Calin Juravle53165482017-11-16 05:28:14 +000074pm. u:object_r:pm_prop:s0
Mark Salyzyn3443caf2015-10-24 16:20:18 -070075test.sys.boot.reason u:object_r:test_boot_reason_prop:s0
Suren Baghdasaryanc8ed8552018-07-24 17:04:18 -070076sys.lmk. u:object_r:system_lmk_prop:s0
William Roberts9e70c8b2013-01-23 14:02:43 -080077
Rubin Xu0c8286f2016-01-04 15:20:45 +000078# Boolean property set by system server upon boot indicating
79# if device owner is provisioned.
80ro.device_owner u:object_r:device_logging_prop:s0
81
William Roberts9e70c8b2013-01-23 14:02:43 -080082# selinux non-persistent properties
Jeff Sharkey7617cd42015-06-09 11:01:04 -070083selinux.restorecon_recursive u:object_r:restorecon_prop:s0
Stephen Smalley124720a2012-04-04 10:11:16 -040084
85# default property context
86* u:object_r:default_prop:s0
87
88# data partition encryption properties
89vold. u:object_r:vold_prop:s0
Tom Cherryf89847a2016-01-11 13:06:25 -080090ro.crypto. u:object_r:vold_prop:s0
Stephen Smalley124720a2012-04-04 10:11:16 -040091
Nick Kralevichc48971f2014-11-18 14:36:23 -080092# ro.build.fingerprint is either set in /system/build.prop, or is
93# set at runtime by system_server.
Tom Cherryf89847a2016-01-11 13:06:25 -080094ro.build.fingerprint u:object_r:fingerprint_prop:s0
Nick Kralevichc48971f2014-11-18 14:36:23 -080095
Keun-young Parkf67c3462017-02-28 19:21:31 -080096ro.persistent_properties.ready u:object_r:persistent_properties_ready_prop:s0
97
Stephen Smalley124720a2012-04-04 10:11:16 -040098# ctl properties
Robert Craig4b3893f2014-02-18 13:24:26 -050099ctl.bootanim u:object_r:ctl_bootanim_prop:s0
Wei Wanga1db36e2018-04-05 12:13:43 -0700100ctl.android.hardware.dumpstate u:object_r:ctl_dumpstate_prop:s0
Stephen Smalley124720a2012-04-04 10:11:16 -0400101ctl.dumpstate u:object_r:ctl_dumpstate_prop:s0
Robert Craig4b3893f2014-02-18 13:24:26 -0500102ctl.fuse_ u:object_r:ctl_fuse_prop:s0
103ctl.mdnsd u:object_r:ctl_mdnsd_prop:s0
Stephen Smalley124720a2012-04-04 10:11:16 -0400104ctl.ril-daemon u:object_r:ctl_rildaemon_prop:s0
Stephen Smalley1c0c0102014-03-06 14:47:22 -0500105ctl.bugreport u:object_r:ctl_bugreport_prop:s0
Jeff Vander Stoep8b015f92015-04-24 14:39:16 -0700106ctl.console u:object_r:ctl_console_prop:s0
Stephen Smalley124720a2012-04-04 10:11:16 -0400107ctl. u:object_r:ctl_default_prop:s0
Martijn Coenen9ac7df22014-09-25 15:13:41 -0700108
Tom Cherry7b8be352018-05-03 17:00:16 -0700109# Don't allow blind access to all services
110ctl.sigstop_on$ u:object_r:ctl_sigstop_prop:s0
111ctl.sigstop_off$ u:object_r:ctl_sigstop_prop:s0
112ctl.start$ u:object_r:ctl_start_prop:s0
113ctl.stop$ u:object_r:ctl_stop_prop:s0
114ctl.restart$ u:object_r:ctl_restart_prop:s0
115ctl.interface_start$ u:object_r:ctl_interface_start_prop:s0
116ctl.interface_stop$ u:object_r:ctl_interface_stop_prop:s0
117ctl.interface_restart$ u:object_r:ctl_interface_restart_prop:s0
118
Samuel Ha22f98192018-06-26 19:52:21 +0000119 # Restrict access to starting/stopping adbd
120ctl.start$adbd u:object_r:ctl_adbd_prop:s0
121ctl.stop$adbd u:object_r:ctl_adbd_prop:s0
122ctl.restart$adbd u:object_r:ctl_adbd_prop:s0
123
Martijn Coenen9ac7df22014-09-25 15:13:41 -0700124# NFC properties
125nfc. u:object_r:nfc_prop:s0
Stephen Smalley54e9bc42014-09-04 08:44:49 -0400126
127# These properties are not normally set by processes other than init.
128# They are only distinguished here for setting by qemu-props on the
129# emulator/goldfish.
130config. u:object_r:config_prop:s0
Tom Cherryf89847a2016-01-11 13:06:25 -0800131ro.config. u:object_r:config_prop:s0
Stephen Smalley54e9bc42014-09-04 08:44:49 -0400132dalvik. u:object_r:dalvik_prop:s0
Tom Cherryf89847a2016-01-11 13:06:25 -0800133ro.dalvik. u:object_r:dalvik_prop:s0
Christopher Wileybf18eca2016-06-29 11:28:20 -0700134
135# Shared between system server and wificond
136wlan. u:object_r:wifi_prop:s0
Iliyan Malchev96031a82016-09-19 15:23:41 -0700137
Dan Cashman91d398d2017-09-26 12:58:29 -0700138# Lowpan properties
139lowpan. u:object_r:lowpan_prop:s0
140ro.lowpan. u:object_r:lowpan_prop:s0
141
Iliyan Malchev96031a82016-09-19 15:23:41 -0700142# hwservicemanager properties
143hwservicemanager. u:object_r:hwservicemanager_prop:s0
Jaekyun Seoke4971452017-10-19 16:54:49 +0900144
Jaekyun Seokafca82a2018-01-18 13:25:28 +0900145# Common default properties for vendor and odm.
146init.svc.odm. u:object_r:vendor_default_prop:s0
Jaekyun Seoke4971452017-10-19 16:54:49 +0900147init.svc.vendor. u:object_r:vendor_default_prop:s0
148ro.hardware. u:object_r:vendor_default_prop:s0
Jaekyun Seokafca82a2018-01-18 13:25:28 +0900149ro.odm. u:object_r:vendor_default_prop:s0
Jaekyun Seoke4971452017-10-19 16:54:49 +0900150ro.vendor. u:object_r:vendor_default_prop:s0
Jaekyun Seokafca82a2018-01-18 13:25:28 +0900151odm. u:object_r:vendor_default_prop:s0
152persist.odm. u:object_r:vendor_default_prop:s0
Jaekyun Seoke4971452017-10-19 16:54:49 +0900153persist.vendor. u:object_r:vendor_default_prop:s0
154vendor. u:object_r:vendor_default_prop:s0
Neil Fullerb794ad02018-06-25 15:36:51 +0100155
156# Properties that relate to time / time zone detection behavior.
157persist.time. u:object_r:time_prop:s0