Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 1 | ########################## |
| 2 | # property service keys |
| 3 | # |
| 4 | # |
Stephen Smalley | fee4915 | 2014-06-19 10:27:02 -0400 | [diff] [blame] | 5 | net.rmnet u:object_r:net_radio_prop:s0 |
| 6 | net.gprs u:object_r:net_radio_prop:s0 |
| 7 | net.ppp u:object_r:net_radio_prop:s0 |
| 8 | net.qmi u:object_r:net_radio_prop:s0 |
| 9 | net.lte u:object_r:net_radio_prop:s0 |
| 10 | net.cdma u:object_r:net_radio_prop:s0 |
| 11 | net.dns u:object_r:net_radio_prop:s0 |
| 12 | sys.usb.config u:object_r:system_radio_prop:s0 |
| 13 | ril. u:object_r:radio_prop:s0 |
Tom Cherry | f89847a | 2016-01-11 13:06:25 -0800 | [diff] [blame] | 14 | ro.ril. u:object_r:radio_prop:s0 |
Stephen Smalley | 730957a | 2012-04-04 16:01:19 -0400 | [diff] [blame] | 15 | gsm. u:object_r:radio_prop:s0 |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 16 | persist.radio u:object_r:radio_prop:s0 |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 17 | |
| 18 | net. u:object_r:system_prop:s0 |
| 19 | dev. u:object_r:system_prop:s0 |
Tom Cherry | f89847a | 2016-01-11 13:06:25 -0800 | [diff] [blame] | 20 | ro.runtime. u:object_r:system_prop:s0 |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 21 | hw. u:object_r:system_prop:s0 |
Tom Cherry | f89847a | 2016-01-11 13:06:25 -0800 | [diff] [blame] | 22 | ro.hw. u:object_r:system_prop:s0 |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 23 | sys. u:object_r:system_prop:s0 |
Nick Kralevich | 7914a47 | 2013-06-28 20:15:37 -0700 | [diff] [blame] | 24 | sys.powerctl u:object_r:powerctl_prop:s0 |
Nick Kralevich | caefbd7 | 2015-04-23 19:42:25 -0700 | [diff] [blame] | 25 | sys.usb.ffs. u:object_r:ffs_prop:s0 |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 26 | service. u:object_r:system_prop:s0 |
| 27 | wlan. u:object_r:system_prop:s0 |
Stephen Smalley | fee4915 | 2014-06-19 10:27:02 -0400 | [diff] [blame] | 28 | dhcp. u:object_r:dhcp_prop:s0 |
Paul Jensen | 97a2cfd | 2014-06-18 09:20:36 -0400 | [diff] [blame] | 29 | dhcp.bt-pan.result u:object_r:pan_result_prop:s0 |
Alex Klyubin | 3123b1e | 2013-05-06 10:18:27 -0700 | [diff] [blame] | 30 | bluetooth. u:object_r:bluetooth_prop:s0 |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 31 | |
Nick Kralevich | dd1ec6d | 2013-11-01 10:45:03 -0700 | [diff] [blame] | 32 | debug. u:object_r:debug_prop:s0 |
Nick Kralevich | 116a20f | 2014-02-05 16:36:25 -0800 | [diff] [blame] | 33 | debug.db. u:object_r:debuggerd_prop:s0 |
Felipe Leme | 83fd8a5 | 2015-12-01 18:03:05 -0800 | [diff] [blame] | 34 | dumpstate. u:object_r:dumpstate_prop:s0 |
mukesh agrawal | 84cfde2 | 2016-04-15 11:10:06 -0700 | [diff] [blame] | 35 | log. u:object_r:log_prop:s0 |
Mark Salyzyn | 44c98bb | 2016-06-06 12:10:00 -0700 | [diff] [blame] | 36 | log.tag u:object_r:log_tag_prop:s0 |
mukesh agrawal | e651f6f | 2016-04-15 11:10:39 -0700 | [diff] [blame] | 37 | log.tag.WifiHAL u:object_r:wifi_log_prop:s0 |
Daniel Micay | 38ac77e | 2016-05-31 16:01:08 -0400 | [diff] [blame] | 38 | security.perf_harden u:object_r:shell_prop:s0 |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 39 | service.adb.root u:object_r:shell_prop:s0 |
| 40 | service.adb.tcp.port u:object_r:shell_prop:s0 |
| 41 | |
William Roberts | e2ad318 | 2012-11-27 17:34:54 -0800 | [diff] [blame] | 42 | persist.audio. u:object_r:audio_prop:s0 |
Andre Eisenbach | eebdb47 | 2016-02-08 15:39:00 -0800 | [diff] [blame] | 43 | persist.bluetooth. u:object_r:bluetooth_prop:s0 |
Yasuhiro Matsuda | 3d32817 | 2015-06-24 15:24:17 +0900 | [diff] [blame] | 44 | persist.debug. u:object_r:persist_debug_prop:s0 |
Mark Salyzyn | 9e7bbf6 | 2014-06-12 12:47:22 -0700 | [diff] [blame] | 45 | persist.logd. u:object_r:logd_prop:s0 |
Rubin Xu | 0c8286f | 2016-01-04 15:20:45 +0000 | [diff] [blame] | 46 | persist.logd.security u:object_r:device_logging_prop:s0 |
Mark Salyzyn | 68d67a0 | 2016-06-06 12:18:46 -0700 | [diff] [blame] | 47 | persist.logd.logpersistd u:object_r:logpersistd_logging_prop:s0 |
Mark Salyzyn | 91e7ac9 | 2016-07-08 08:41:08 -0700 | [diff] [blame] | 48 | logd.logpersistd u:object_r:logpersistd_logging_prop:s0 |
Mark Salyzyn | 44c98bb | 2016-06-06 12:10:00 -0700 | [diff] [blame] | 49 | persist.log.tag u:object_r:log_tag_prop:s0 |
Mark Salyzyn | d143560 | 2016-02-04 10:55:43 -0800 | [diff] [blame] | 50 | persist.mmc. u:object_r:mmc_prop:s0 |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 51 | persist.sys. u:object_r:system_prop:s0 |
Sami Tolvanen | 9c16871 | 2016-02-05 15:42:32 -0800 | [diff] [blame] | 52 | persist.sys.safemode u:object_r:safemode_prop:s0 |
dcashman | 3e8d1bf | 2016-03-02 16:14:17 -0800 | [diff] [blame] | 53 | ro.sys.safemode u:object_r:safemode_prop:s0 |
Sami Tolvanen | 9c16871 | 2016-02-05 15:42:32 -0800 | [diff] [blame] | 54 | persist.sys.audit_safemode u:object_r:safemode_prop:s0 |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 55 | persist.service. u:object_r:system_prop:s0 |
Alex Klyubin | 3123b1e | 2013-05-06 10:18:27 -0700 | [diff] [blame] | 56 | persist.service.bdroid. u:object_r:bluetooth_prop:s0 |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 57 | persist.security. u:object_r:system_prop:s0 |
William Roberts | 9e70c8b | 2013-01-23 14:02:43 -0800 | [diff] [blame] | 58 | |
Rubin Xu | 0c8286f | 2016-01-04 15:20:45 +0000 | [diff] [blame] | 59 | # Boolean property set by system server upon boot indicating |
| 60 | # if device owner is provisioned. |
| 61 | ro.device_owner u:object_r:device_logging_prop:s0 |
| 62 | |
William Roberts | 9e70c8b | 2013-01-23 14:02:43 -0800 | [diff] [blame] | 63 | # selinux non-persistent properties |
Jeff Sharkey | 7617cd4 | 2015-06-09 11:01:04 -0700 | [diff] [blame] | 64 | selinux.restorecon_recursive u:object_r:restorecon_prop:s0 |
| 65 | selinux. u:object_r:security_prop:s0 |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 66 | |
| 67 | # default property context |
| 68 | * u:object_r:default_prop:s0 |
| 69 | |
| 70 | # data partition encryption properties |
| 71 | vold. u:object_r:vold_prop:s0 |
Tom Cherry | f89847a | 2016-01-11 13:06:25 -0800 | [diff] [blame] | 72 | ro.crypto. u:object_r:vold_prop:s0 |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 73 | |
Nick Kralevich | c48971f | 2014-11-18 14:36:23 -0800 | [diff] [blame] | 74 | # ro.build.fingerprint is either set in /system/build.prop, or is |
| 75 | # set at runtime by system_server. |
Tom Cherry | f89847a | 2016-01-11 13:06:25 -0800 | [diff] [blame] | 76 | ro.build.fingerprint u:object_r:fingerprint_prop:s0 |
Nick Kralevich | c48971f | 2014-11-18 14:36:23 -0800 | [diff] [blame] | 77 | |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 78 | # ctl properties |
Robert Craig | 4b3893f | 2014-02-18 13:24:26 -0500 | [diff] [blame] | 79 | ctl.bootanim u:object_r:ctl_bootanim_prop:s0 |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 80 | ctl.dumpstate u:object_r:ctl_dumpstate_prop:s0 |
Robert Craig | 4b3893f | 2014-02-18 13:24:26 -0500 | [diff] [blame] | 81 | ctl.fuse_ u:object_r:ctl_fuse_prop:s0 |
| 82 | ctl.mdnsd u:object_r:ctl_mdnsd_prop:s0 |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 83 | ctl.ril-daemon u:object_r:ctl_rildaemon_prop:s0 |
Stephen Smalley | 1c0c010 | 2014-03-06 14:47:22 -0500 | [diff] [blame] | 84 | ctl.bugreport u:object_r:ctl_bugreport_prop:s0 |
Jeff Vander Stoep | 8b015f9 | 2015-04-24 14:39:16 -0700 | [diff] [blame] | 85 | ctl.console u:object_r:ctl_console_prop:s0 |
Stephen Smalley | 124720a | 2012-04-04 10:11:16 -0400 | [diff] [blame] | 86 | ctl. u:object_r:ctl_default_prop:s0 |
Martijn Coenen | 9ac7df2 | 2014-09-25 15:13:41 -0700 | [diff] [blame] | 87 | |
| 88 | # NFC properties |
| 89 | nfc. u:object_r:nfc_prop:s0 |
Stephen Smalley | 54e9bc4 | 2014-09-04 08:44:49 -0400 | [diff] [blame] | 90 | |
| 91 | # These properties are not normally set by processes other than init. |
| 92 | # They are only distinguished here for setting by qemu-props on the |
| 93 | # emulator/goldfish. |
| 94 | config. u:object_r:config_prop:s0 |
Tom Cherry | f89847a | 2016-01-11 13:06:25 -0800 | [diff] [blame] | 95 | ro.config. u:object_r:config_prop:s0 |
Stephen Smalley | 54e9bc4 | 2014-09-04 08:44:49 -0400 | [diff] [blame] | 96 | dalvik. u:object_r:dalvik_prop:s0 |
Tom Cherry | f89847a | 2016-01-11 13:06:25 -0800 | [diff] [blame] | 97 | ro.dalvik. u:object_r:dalvik_prop:s0 |