Allow gsid to callback system server for oneway method

Bug: 149790245
Bug: 149716497
Test: adb shell am start-activity \
    -n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
    -a android.os.image.action.START_INSTALL \
    -d file:///storage/emulated/0/Download/system.raw.gz \
    --el KEY_SYSTEM_SIZE $(du -b system.raw|cut -f1) \
    --el KEY_USERDATA_SIZE 8589934592

Change-Id: I41c7b1278cfc103c90282b6a6781eab66fc9dcdb
This commit is contained in:
Howard Chen 2020-02-26 17:19:10 +08:00
parent aa6dba2770
commit 389bc7baec

View File

@ -135,6 +135,8 @@ allowxperm gsid {
ota_image_data_file ota_image_data_file
}:file ioctl FS_IOC_FIEMAP; }:file ioctl FS_IOC_FIEMAP;
allow gsid system_server:binder call;
neverallow { neverallow {
domain domain
-init -init