Skip to content
Snippets Groups Projects
Commit bed5a433 authored by Jeff Vander Stoep's avatar Jeff Vander Stoep
Browse files

Revert "system_server, bluetooth: grant access to priv socket ioctls"

This reverts commit f19bcfd5.

Bug: 31364540
Change-Id: I41d71202fe7d2e67742edd7915a95d37172ba7ea
parent 094ab7a8
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,6 @@
type bluetooth, domain, domain_deprecated;
app_domain(bluetooth)
net_domain(bluetooth)
# Allow access to net_admin ioctls
allowxperm bluetooth self:udp_socket ioctl priv_sock_ioctls;
wakelock_use(bluetooth);
......
......@@ -42,8 +42,8 @@ allow system_server zygote:unix_stream_socket { getopt getattr };
# system server gets network and bluetooth permissions.
net_domain(system_server)
# in addition to ioctls whitelisted for all domains, also allow system_server
# to use privileged ioctls commands. Needed to set up VPNs.
allowxperm system_server self:udp_socket ioctl priv_sock_ioctls;
# to use:
allowxperm system_server self:udp_socket ioctl SIOCSIFFLAGS;
bluetooth_domain(system_server)
# These are the capabilities assigned by the zygote to the
......
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