Skip to content
Snippets Groups Projects
Commit 47c396d6 authored by Jiyong Park's avatar Jiyong Park Committed by android-build-merger
Browse files

Rename vndk-stable to vndk-sp (SP=Same-process) am: ba23c8fa

am: c1de2f31

Change-Id: I7febe6164813451ad38449642450e4bfee31480c
parents 60540ad8 c1de2f31
No related branches found
No related tags found
No related merge requests found
...@@ -266,7 +266,7 @@ ...@@ -266,7 +266,7 @@
/(vendor|system/vendor)/lib(64)?/egl(/.*)? u:object_r:same_process_hal_file:s0 /(vendor|system/vendor)/lib(64)?/egl(/.*)? u:object_r:same_process_hal_file:s0
/(vendor|system/vendor)/lib(64)?/vndk-stable(/.*)? u:object_r:vndk_stable_file:s0 /(vendor|system/vendor)/lib(64)?/vndk-sp(/.*)? u:object_r:vndk_sp_file:s0
# TODO: b/36790901 move this to /vendor/etc # TODO: b/36790901 move this to /vendor/etc
/(vendor|system/vendor)/manifest.xml u:object_r:vendor_configs_file:s0 /(vendor|system/vendor)/manifest.xml u:object_r:vendor_configs_file:s0
......
...@@ -119,10 +119,10 @@ allow domain vendor_hal_file:dir r_dir_perms; ...@@ -119,10 +119,10 @@ allow domain vendor_hal_file:dir r_dir_perms;
allow domain same_process_hal_file:dir r_dir_perms; allow domain same_process_hal_file:dir r_dir_perms;
allow domain same_process_hal_file:file { execute read open getattr }; allow domain same_process_hal_file:file { execute read open getattr };
# Any process can load vndk-stable libraries, which are system libraries # Any process can load vndk-sp libraries, which are system libraries
# used by same process HALs # used by same process HALs
allow domain vndk_stable_file:dir r_dir_perms; allow domain vndk_sp_file:dir r_dir_perms;
allow domain vndk_stable_file:file { execute read open getattr }; allow domain vndk_sp_file:file { execute read open getattr };
# All domains get access to /vendor/etc # All domains get access to /vendor/etc
allow domain vendor_configs_file:dir r_dir_perms; allow domain vendor_configs_file:dir r_dir_perms;
...@@ -546,7 +546,7 @@ full_treble_only(` ...@@ -546,7 +546,7 @@ full_treble_only(`
-coredata_in_vendor_violators -coredata_in_vendor_violators
} }
core_data_file_type core_data_file_type
-zoneinfo_data_file # VNDK stable API provided by libc -zoneinfo_data_file # Stable API provided by libc
:{ :{
file_class_set file_class_set
} ~{ append getattr ioctl read write }; } ~{ append getattr ioctl read write };
...@@ -561,7 +561,7 @@ full_treble_only(` ...@@ -561,7 +561,7 @@ full_treble_only(`
} { } {
core_data_file_type core_data_file_type
-system_data_file -system_data_file
-zoneinfo_data_file # VNDK stable API provided by libc -zoneinfo_data_file # Stable API provided by libc
}:dir *; }:dir *;
neverallow { neverallow {
domain domain
......
...@@ -94,8 +94,8 @@ type vendor_configs_file, vendor_file_type, file_type; ...@@ -94,8 +94,8 @@ type vendor_configs_file, vendor_file_type, file_type;
# Default type for all *same process* HALs. # Default type for all *same process* HALs.
# e.g. libEGL_xxx.so, android.hardware.graphics.mapper@2.0-impl.so # e.g. libEGL_xxx.so, android.hardware.graphics.mapper@2.0-impl.so
type same_process_hal_file, vendor_file_type, file_type; type same_process_hal_file, vendor_file_type, file_type;
# Default type for vndk-stable libs. /vendor/lib/vndk-stable # Default type for vndk-sp libs. /vendor/lib/vndk-sp
type vndk_stable_file, vendor_file_type, file_type; type vndk_sp_file, vendor_file_type, file_type;
# Default type for everything in /vendor/framework # Default type for everything in /vendor/framework
type vendor_framework_file, vendor_file_type, file_type; type vendor_framework_file, vendor_file_type, file_type;
# Default type for everything in /vendor/overlay # Default type for everything in /vendor/overlay
......
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