Merge "Adding /odm support" am: 0bbe19a4c6

am: ab9f70bad1

Change-Id: I2aa6e0d475f1590d76bb990f4d4ef728c04f1a8a
This commit is contained in:
Bowgo Tsai 2018-03-12 19:47:13 +00:00 committed by android-build-merger
commit abdcfc6a4e

View file

@ -180,8 +180,9 @@ allow domain vendor_configs_file:dir r_dir_perms;
allow domain vendor_configs_file:file { read open getattr };
full_treble_only(`
# Allow all domains to be able to follow /system/vendor symlink
allow domain vendor_file:lnk_file { getattr open read };
# Allow all domains to be able to follow /system/vendor and/or
# /vendor/odm symlinks.
allow domain vendor_file_type:lnk_file { getattr open read };
# This is required to be able to search & read /vendor/lib64
# in order to lookup vendor libraries. The execute permission
@ -914,7 +915,7 @@ full_treble_only(`
userdebug_or_eng(`-perfprofd')
-postinstall_dexopt
-system_server
} vendor_app_file:{ file lnk_file } r_file_perms;
} vendor_app_file:file r_file_perms;
')
full_treble_only(`
@ -941,7 +942,7 @@ full_treble_only(`
-system_server
-webview_zygote
-zygote
} vendor_overlay_file:{ file lnk_file } r_file_perms;
} vendor_overlay_file:file r_file_perms;
')
full_treble_only(`