Skip to content
Snippets Groups Projects
Commit fdf770d1 authored by Kevin Chyn's avatar Kevin Chyn Committed by android-build-merger
Browse files

Merge "Add placeholder iris and face policy for vold data directory" am: 5ea85b5f am: 7a89b6a1

am: 9404d49e

Change-Id: If718a5dece1bf61b540bda46043b6310dd7f3aed
parents 0ce280a5 9404d49e
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
device_config_reset_performed_prop device_config_reset_performed_prop
device_config_flags_health_check_prop device_config_flags_health_check_prop
face_service face_service
face_vendor_data_file
fastbootd fastbootd
flags_health_check flags_health_check
flags_health_check_exec flags_health_check_exec
...@@ -43,6 +44,7 @@ ...@@ -43,6 +44,7 @@
idmap_service idmap_service
intelligence_service intelligence_service
iris_service iris_service
iris_vendor_data_file
llkd llkd
llkd_exec llkd_exec
llkd_prop llkd_prop
......
...@@ -483,6 +483,12 @@ ...@@ -483,6 +483,12 @@
# Fingerprint vendor data file # Fingerprint vendor data file
/data/vendor_de/[0-9]+/fpdata(/.*)? u:object_r:fingerprint_vendor_data_file:s0 /data/vendor_de/[0-9]+/fpdata(/.*)? u:object_r:fingerprint_vendor_data_file:s0
# Face vendor data file
/data/vendor_de/[0-9]+/facedata(/.*)? u:object_r:face_vendor_data_file:s0
# Iris vendor data file
/data/vendor_de/[0-9]+/irisdata(/.*)? u:object_r:iris_vendor_data_file:s0
# Bootchart data # Bootchart data
/data/bootchart(/.*)? u:object_r:bootchart_data_file:s0 /data/bootchart(/.*)? u:object_r:bootchart_data_file:s0
......
...@@ -14,12 +14,16 @@ allow vold_prepare_subdirs { ...@@ -14,12 +14,16 @@ allow vold_prepare_subdirs {
vendor_data_file vendor_data_file
}:dir { open read write add_name remove_name rmdir relabelfrom }; }:dir { open read write add_name remove_name rmdir relabelfrom };
allow vold_prepare_subdirs { allow vold_prepare_subdirs {
face_vendor_data_file
fingerprint_vendor_data_file fingerprint_vendor_data_file
iris_vendor_data_file
storaged_data_file storaged_data_file
vold_data_file vold_data_file
}:dir { create_dir_perms relabelto }; }:dir { create_dir_perms relabelto };
allow vold_prepare_subdirs { allow vold_prepare_subdirs {
face_vendor_data_file
fingerprint_vendor_data_file fingerprint_vendor_data_file
iris_vendor_data_file
storaged_data_file storaged_data_file
system_data_file system_data_file
vold_data_file vold_data_file
......
...@@ -361,6 +361,10 @@ type fingerprintd_data_file, file_type, data_file_type, core_data_file_type; ...@@ -361,6 +361,10 @@ type fingerprintd_data_file, file_type, data_file_type, core_data_file_type;
type fingerprint_vendor_data_file, file_type, data_file_type; type fingerprint_vendor_data_file, file_type, data_file_type;
# Type for appfuse file. # Type for appfuse file.
type app_fuse_file, file_type, data_file_type, core_data_file_type, mlstrustedobject; type app_fuse_file, file_type, data_file_type, core_data_file_type, mlstrustedobject;
# Type for face template file
type face_vendor_data_file, file_type, data_file_type;
# Type for iris template file
type iris_vendor_data_file, file_type, data_file_type;
# Socket types # Socket types
type adbd_socket, file_type, coredomain_socket; type adbd_socket, file_type, coredomain_socket;
......
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