Skip to content
Snippets Groups Projects
Commit 48dae29f authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by Android (Google) Code Review
Browse files

Merge "Allow system_server to bind ping sockets." into mnc-dr-dev

parents 0b764ae9 16c36f68
No related branches found
No related tags found
No related merge requests found
...@@ -101,9 +101,13 @@ allow system_server proc_sysrq:file rw_file_perms; ...@@ -101,9 +101,13 @@ allow system_server proc_sysrq:file rw_file_perms;
# Read /sys/kernel/debug/wakeup_sources. # Read /sys/kernel/debug/wakeup_sources.
allow system_server debugfs:file r_file_perms; allow system_server debugfs:file r_file_perms;
# WifiWatchdog uses a packet_socket # The DhcpClient and WifiWatchdog use packet_sockets
allow system_server self:packet_socket create_socket_perms; allow system_server self:packet_socket create_socket_perms;
# NetworkDiagnostics requires explicit bind() calls to ping sockets. These aren't actually the same
# as raw sockets, but the kernel doesn't yet distinguish between the two.
allow system_server node:rawip_socket node_bind;
# 3rd party VPN clients require a tun_socket to be created # 3rd party VPN clients require a tun_socket to be created
allow system_server self:tun_socket create_socket_perms; allow system_server self:tun_socket create_socket_perms;
......
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