sanders: update sepolicy.

-Fix Neverallows.
-Fix missing type.
-Fix type attributes.

Signed-off-by: Ashwin R C <ashwin2001achu@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
Ashwin R C
2019-06-07 06:13:41 -04:00
committed by ronaxdevil
parent 7cf114949c
commit f540803573
27 changed files with 51 additions and 99 deletions

View File

@@ -1,3 +1,6 @@
type_transition mm-qcamerad camera_data_file:sock_file camera_socket "cam_socket1";
type_transition mm-qcamerad camera_data_file:sock_file camera_socket "cam_socket2";
# binder_call(mm-qcamerad, servicemanager);
# binder_use(mm-qcamerad);
# binder_call(mm-qcamerad, binderservicedomain);
@@ -15,9 +18,6 @@ allow servicemanager mm-qcamerad:process { getattr };
allow mm-qcamerad vendor_camera_data_file:file rw_file_perms;
# allow mm-qcamerad permission_service:service_manager find;
allow mm-qcamerad debug_prop:property_service set;
allow mm-qcamerad persist_file:dir search;
allow mm-qcamerad persist_file:file { read getattr open };
allow mm-qcamerad system_data_file:dir read;
allow mm-qcamerad init:unix_stream_socket { read write };