Skip to content
Snippets Groups Projects
Commit 49ff99ff authored by Florian Mayer's avatar Florian Mayer Committed by Gerrit Code Review
Browse files

Merge "Make heapprofd work with MLS."

parents 47c2dee5 23e1f4c7
Branches
No related tags found
No related merge requests found
...@@ -6,6 +6,9 @@ init_daemon_domain(heapprofd) ...@@ -6,6 +6,9 @@ init_daemon_domain(heapprofd)
set_prop(heapprofd, heapprofd_prop); set_prop(heapprofd, heapprofd_prop);
userdebug_or_eng(` userdebug_or_eng(`
# TODO(fmayer): We will also need this on user to read /proc/<pid>/cmdline
# and send signals.
typeattribute heapprofd mlstrustedsubject;
# Allow to send signal to processes. # Allow to send signal to processes.
# This excludes SIGKILL, SIGSTOP and SIGCHLD, # This excludes SIGKILL, SIGSTOP and SIGCHLD,
# which are controlled by separate permissions. # which are controlled by separate permissions.
......
...@@ -395,7 +395,7 @@ type traced_consumer_socket, file_type, coredomain_socket, mlstrustedobject; ...@@ -395,7 +395,7 @@ type traced_consumer_socket, file_type, coredomain_socket, mlstrustedobject;
type uncrypt_socket, file_type, coredomain_socket; type uncrypt_socket, file_type, coredomain_socket;
type wpa_socket, file_type, data_file_type, core_data_file_type; type wpa_socket, file_type, data_file_type, core_data_file_type;
type zygote_socket, file_type, coredomain_socket; type zygote_socket, file_type, coredomain_socket;
type heapprofd_socket, file_type, coredomain_socket; type heapprofd_socket, file_type, coredomain_socket, mlstrustedobject;
# UART (for GPS) control proc file # UART (for GPS) control proc file
type gps_control, file_type; type gps_control, file_type;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment