Skip to content
Snippets Groups Projects
Commit 47c2dee5 authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN
Browse files

Add selinux policies for network stack service

The policies allow the system server to register a network_stack_service
used to communicate with the network stack process.

Test: atest FrameworksNetTests
Bug: b/112869080
Change-Id: Ib9b7d9150fe4afcce03c8b3dbb36b81c67e39366
parent 41b62630
No related branches found
No related tags found
No related merge requests found
...@@ -122,6 +122,7 @@ ...@@ -122,6 +122,7 @@
mnt_vendor_file mnt_vendor_file
netd_stable_secret_prop netd_stable_secret_prop
network_stack network_stack
network_stack_service
network_watchlist_data_file network_watchlist_data_file
network_watchlist_service network_watchlist_service
overlayfs_file overlayfs_file
......
...@@ -110,6 +110,7 @@ ...@@ -110,6 +110,7 @@
mnt_product_file mnt_product_file
mnt_vendor_file mnt_vendor_file
network_stack network_stack
network_stack_service
network_watchlist_data_file network_watchlist_data_file
network_watchlist_service network_watchlist_service
overlayfs_file overlayfs_file
......
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
mediaswcodec_tmpfs mediaswcodec_tmpfs
mnt_product_file mnt_product_file
network_stack network_stack
network_stack_service
overlayfs_file overlayfs_file
permissionmgr_service permissionmgr_service
recovery_socket recovery_socket
......
...@@ -118,6 +118,7 @@ mount u:object_r:mount_service:s0 ...@@ -118,6 +118,7 @@ mount u:object_r:mount_service:s0
netd u:object_r:netd_service:s0 netd u:object_r:netd_service:s0
netpolicy u:object_r:netpolicy_service:s0 netpolicy u:object_r:netpolicy_service:s0
netstats u:object_r:netstats_service:s0 netstats u:object_r:netstats_service:s0
network_stack u:object_r:network_stack_service:s0
network_management u:object_r:network_management_service:s0 network_management u:object_r:network_management_service:s0
network_score u:object_r:network_score_service:s0 network_score u:object_r:network_score_service:s0
network_time_update_service u:object_r:network_time_update_service:s0 network_time_update_service u:object_r:network_time_update_service:s0
......
...@@ -118,6 +118,7 @@ type netpolicy_service, app_api_service, ephemeral_app_api_service, system_serve ...@@ -118,6 +118,7 @@ type netpolicy_service, app_api_service, ephemeral_app_api_service, system_serve
type netstats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type netstats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
type network_management_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type network_management_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
type network_score_service, system_api_service, system_server_service, service_manager_type; type network_score_service, system_api_service, system_server_service, service_manager_type;
type network_stack_service, system_server_service, service_manager_type;
type network_time_update_service, system_server_service, service_manager_type; type network_time_update_service, system_server_service, service_manager_type;
type notification_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type notification_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
type oem_lock_service, system_api_service, system_server_service, service_manager_type; type oem_lock_service, system_api_service, system_server_service, service_manager_type;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment