Allow GKI APEX to use apexd:fd

/dev/zero is inherited from apexd. This is required for
sh to start.

Bug: 126787589
Bug: 161563386
Test: apply GKI update
Change-Id: I8624996c129872b26d4c17242cb911b5e948d9bd
This commit is contained in:
Yifan Hong 2020-08-28 17:29:32 -07:00
parent 4c5220c2bc
commit a5809013a4

View file

@ -18,3 +18,6 @@ allow gki_apex_prepostinstall gki_apex_prepostinstall_exec:file execute_no_trans
binder_use(gki_apex_prepostinstall)
allow gki_apex_prepostinstall update_engine_stable_service:service_manager find;
binder_call(gki_apex_prepostinstall, update_engine)
# /dev/zero is inherited although it is not used. See b/126787589.
allow gki_apex_prepostinstall apexd:fd use;