Camera: add setsched capability. am: 7997d6a8a0

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/16943772

Change-Id: I3cf5fac31683c37c05f427d8226e013f11e3f5a2
This commit is contained in:
Krzysztof Kosiński 2022-02-22 08:51:22 +00:00 committed by Automerger Merge Worker
commit 7fa1b979e3
2 changed files with 1 additions and 5 deletions

View file

@ -1,10 +1,5 @@
# b/205072921
dontaudit hal_camera_default kernel:process { setsched };
# b/205780065
dontaudit hal_camera_default system_data_file:dir { search };
# b/205904406
dontaudit hal_camera_default init:unix_stream_socket { connectto };
dontaudit hal_camera_default property_socket:sock_file { write };
# b/218585004
dontaudit hal_camera_default traced:unix_stream_socket { connectto };
dontaudit hal_camera_default traced_producer_socket:sock_file { write };

View file

@ -1,6 +1,7 @@
type hal_camera_default_tmpfs, file_type;
allow hal_camera_default self:global_capability_class_set sys_nice;
allow hal_camera_default kernel:process setsched;
binder_use(hal_camera_default);
vndbinder_use(hal_camera_default);