Skip to content
Snippets Groups Projects
Commit 7a23fcc8 authored by Geremy Condra's avatar Geremy Condra
Browse files

Fix various SELinux denials.

Change-Id: I73a2b841ab3399b7528b8084a5c4736e6ecea48a
parent d7be122e
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ type adbd, domain, mlstrustedsubject; ...@@ -4,7 +4,7 @@ type adbd, domain, mlstrustedsubject;
allow adbd adb_device:chr_file rw_file_perms; allow adbd adb_device:chr_file rw_file_perms;
allow adbd qemu_device:chr_file rw_file_perms; allow adbd qemu_device:chr_file rw_file_perms;
allow adbd self:capability { net_raw setgid setuid dac_override sys_boot sys_admin }; allow adbd self:capability { net_raw setgid setuid dac_override sys_boot sys_admin };
allow adbd rootfs:file { read entrypoint }; allow adbd rootfs:file { r_file_perms entrypoint };
allow adbd init:process sigchld; allow adbd init:process sigchld;
allow adbd self:tcp_socket *; allow adbd self:tcp_socket *;
allow adbd self:unix_stream_socket *; allow adbd self:unix_stream_socket *;
......
...@@ -112,6 +112,7 @@ unix_socket_connect(system, gps, gpsd) ...@@ -112,6 +112,7 @@ unix_socket_connect(system, gps, gpsd)
unix_socket_connect(system, bluetooth, bluetoothd) unix_socket_connect(system, bluetooth, bluetoothd)
unix_socket_connect(system, racoon, racoon) unix_socket_connect(system, racoon, racoon)
unix_socket_send(system, wpa, wpa) unix_socket_send(system, wpa, wpa)
unix_socket_send(system, wpa, init)
# Communicate over a socket created by surfaceflinger. # Communicate over a socket created by surfaceflinger.
allow system surfaceflinger:unix_stream_socket { read write setopt }; allow system surfaceflinger:unix_stream_socket { read write setopt };
......
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