VR services: don't writepid to /dev/cpuset/tasks
Currently bufferhubd and performanced's pid gets written into
/dev/cpuset/tasks. When start them on systems without cpuset support, it
will cause the creation of /dev/cpuset/tasks file by accident and
confuses Android system that cpuset is actually supported. Actually,
there is no need to explicitly put the service in the root cpuset, it
goes there by default if cpuset is supported.
Bug: 69057609
Bug: 64377040
Test: Build and boot system
Change-Id: Ia53345869fb5381b0e51e48ef6c7b85ddcfcafa1
diff --git a/services/vr/bufferhubd/bufferhubd.rc b/services/vr/bufferhubd/bufferhubd.rc
index 46fe5f9..c470de5 100644
--- a/services/vr/bufferhubd/bufferhubd.rc
+++ b/services/vr/bufferhubd/bufferhubd.rc
@@ -2,5 +2,4 @@
class core
user system
group system
- writepid /dev/cpuset/tasks
socket pdx/system/buffer_hub/client stream 0660 system system u:object_r:pdx_bufferhub_client_endpoint_socket:s0
diff --git a/services/vr/performanced/performanced.rc b/services/vr/performanced/performanced.rc
index 2605a47..af9760e 100644
--- a/services/vr/performanced/performanced.rc
+++ b/services/vr/performanced/performanced.rc
@@ -2,5 +2,4 @@
class core
user root
group system readproc
- writepid /dev/cpuset/tasks
socket pdx/system/performance/client stream 0666 system system u:object_r:pdx_performance_client_endpoint_socket:s0