Revert "Temporarily revert the SELinux policy for persist.netd.stable_secret."
This change must only be submitted when device-specific policies
have been reverted.
This reverts commit 07e631d2e0
.
Bug: 17613910
Test: builds
Change-Id: Ie33e293107bf1eba2498f2422d941544c76b8cad
Merged-In: I356c39a5dc955b3d7c28d8c7baf2887a17beb272
This commit is contained in:
parent
07e631d2e0
commit
5b3efd3b36
3 changed files with 11 additions and 0 deletions
|
@ -50,6 +50,7 @@ persist.logd.logpersistd u:object_r:logpersistd_logging_prop:s0
|
|||
logd.logpersistd u:object_r:logpersistd_logging_prop:s0
|
||||
persist.log.tag u:object_r:log_tag_prop:s0
|
||||
persist.mmc. u:object_r:mmc_prop:s0
|
||||
persist.netd.stable_secret u:object_r:netd_stable_secret_prop:s0
|
||||
persist.sys. u:object_r:system_prop:s0
|
||||
persist.sys.safemode u:object_r:safemode_prop:s0
|
||||
ro.sys.safemode u:object_r:safemode_prop:s0
|
||||
|
|
|
@ -58,6 +58,7 @@ allow netd dnsmasq:process signal;
|
|||
allow netd clatd:process signal;
|
||||
|
||||
set_prop(netd, ctl_mdnsd_prop)
|
||||
set_prop(netd, netd_stable_secret_prop)
|
||||
|
||||
# Allow netd to publish a binder service and make binder calls.
|
||||
binder_use(netd)
|
||||
|
@ -104,3 +105,11 @@ neverallow netd { app_data_file system_data_file }:dir_file_class_set write;
|
|||
neverallow { domain -system_server -dumpstate -netd } netd_service:service_manager find;
|
||||
neverallow { domain -system_server -dumpstate } netd:binder call;
|
||||
neverallow netd { domain -system_server -servicemanager userdebug_or_eng(`-su') }:binder call;
|
||||
|
||||
# persist.netd.stable_secret contains RFC 7217 secret key which should never be
|
||||
# leaked to other processes. Make sure it never leaks.
|
||||
neverallow { domain -netd -init } netd_stable_secret_prop:file r_file_perms;
|
||||
|
||||
# We want to ensure that no other process ever tries tampering with persist.netd.stable_secret,
|
||||
# the RFC 7217 secret key managed by netd. Doing so could compromise user privacy.
|
||||
neverallow { domain -netd -init } netd_stable_secret_prop:property_service set;
|
||||
|
|
|
@ -30,6 +30,7 @@ type log_tag_prop, property_type, log_property_type;
|
|||
type mmc_prop, property_type;
|
||||
type net_dns_prop, property_type;
|
||||
type net_radio_prop, property_type, core_property_type;
|
||||
type netd_stable_secret_prop, property_type;
|
||||
type nfc_prop, property_type, core_property_type;
|
||||
type overlay_prop, property_type;
|
||||
type pan_result_prop, property_type, core_property_type;
|
||||
|
|
Loading…
Reference in a new issue