Detect non-oneway calls leaving system_server.

To protect system stability, any Binder calls leaving the
system_server must carefully be performed using FLAG_ONEWAY (or
the 'oneway' verb in AIDL) which prevents the call from blocking
indefinitely on the remote process.

Allow blocking calls to a handful of known-safe interfaces.

Test: builds, boots, runs with minimal logs triggered
Bug: 32715088
Change-Id: I7754a829564fdbf610c02303f7c6aae908834b61
1 file changed
tree: 7a8f640082f40946547fa3e6fd888f9a63e6190b
  1. service/
  2. PREUPLOAD.cfg