Skip to content
Snippets Groups Projects
Commit d4eb49d1 authored by Martijn Coenen's avatar Martijn Coenen Committed by Android (Google) Code Review
Browse files

Merge "Grant CAP_SYS_NICE to processes that need it." into oc-dev

parents e1074f8b 0d1f7d29
No related branches found
No related tags found
No related merge requests found
......@@ -25,3 +25,6 @@ set_prop(hal_bluetooth, bluetooth_prop)
# /proc access (bluesleep etc.).
allow hal_bluetooth proc_bluetooth_writable:file rw_file_perms;
# allow to run with real-time scheduling policy
allow hal_bluetooth self:capability sys_nice;
......@@ -8,3 +8,6 @@ allow hal_graphics_allocator_client hal_graphics_mapper_hwservice:hwservice_mana
# GPU device access
allow hal_graphics_allocator gpu_device:chr_file rw_file_perms;
allow hal_graphics_allocator ion_device:chr_file r_file_perms;
# allow to run with real-time scheduling policy
allow hal_graphics_allocator self:capability sys_nice;
......@@ -10,3 +10,6 @@ allow hal_sensors { appdomain -isolated_app }:fd use;
# Allow sensor hals to access ashmem memory allocated by android.hidl.allocator
# fd is passed in from framework sensorservice HAL.
allow hal_sensors hal_allocator:fd use;
# allow to run with real-time scheduling policy
allow hal_sensors self:capability sys_nice;
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