Start processes that need real-time with CAP_SYS_NICE.

Bug: 37293077
Test: verified CAP_SYS_NICE granted in /proc/pid/status
Change-Id: If404450cbeb077d331b231bda1af2d6eae774b75
This commit is contained in:
Martijn Coenen 2017-05-09 09:57:00 -07:00
parent eca8d114bf
commit f9b3fb49df
3 changed files with 4 additions and 1 deletions

View file

@ -3,4 +3,5 @@ service camera-provider-2-4 /vendor/bin/hw/android.hardware.camera.provider@2.4-
user cameraserver
group audio camera input drmrpc
ioprio rt 4
writepid /dev/cpuset/camera-daemon/tasks /dev/stune/top-app/tasks
capabilities SYS_NICE
writepid /dev/cpuset/camera-daemon/tasks /dev/stune/top-app/tasks

View file

@ -2,4 +2,5 @@ service gralloc-2-0 /vendor/bin/hw/android.hardware.graphics.allocator@2.0-servi
class hal animation
user system
group graphics drmrpc
capabilities SYS_NICE
onrestart restart surfaceflinger

View file

@ -2,3 +2,4 @@ service sensors-hal-1-0 /vendor/bin/hw/android.hardware.sensors@1.0-service
class hal
user system
group system
capabilities SYS_NICE