SEPolicy updates for adding native flag namespace(netd).
For experiment flag testing, we add a flag netd and have
SEPolicy updates.
Test: add sepolicy, m -j, check GetServerConfigurableFlag function in netd
Bug:122050512
Change-Id: I21c844c277afc358085d80447f16e4c0d4eba5b3
diff --git a/private/system_server.te b/private/system_server.te
index 46fb591..0baf4d6 100644
--- a/private/system_server.te
+++ b/private/system_server.te
@@ -581,6 +581,7 @@
# STOPSHIP: Remove the ability for system_server to set property
# device_config_flags_health_check_prop before release. (b/119627143)
set_prop(system_server, device_config_flags_health_check_prop)
+set_prop(system_server, device_config_netd_native_prop)
# BootReceiver to read ro.boot.bootreason
get_prop(system_server, bootloader_boot_reason_prop)
@@ -931,6 +932,7 @@
-flags_health_check
} {
device_config_flags_health_check_prop
+ device_config_netd_native_prop
}:property_service set;
# system_server should never be executing dex2oat. This is either