6 Commits

Author SHA1 Message Date
Mitch Phillips
17de88981f [MTE] Enable ASYNC MTE in the Zygote.
This allows applications to turn on MTE. The current design of MTE
inside of Scudo doesn't allow us to late-enable MTE (but we can
late-disable it). Thus, we have to enable tagging in the Zygote in order
to allow apps and the system_server to control their own MTE behaviour.

We intentionally use ASYNC mode so that we don't waste memory collecting
stack traces from the zygote pre-fork. Given that the zygote is mostly
Java code, the process itself should be pretty low risk for memory
corruption.

Bug: 135772972
Bug: 172365548
Test: On FVP: atest -s localhost:5555 \
com.android.cts.tagging.TaggingSdk30Test#testMemoryTagChecksCompatFeatureEnabled \
com.android.cts.tagging.TaggingSdk30Test#testMemoryTagChecksCompatFeatureDisabled

Change-Id: I9da2c33cb6022033264f443308d5508b3ff8da9e
2021-01-13 14:37:08 -08:00
Martin Stjernholm
c7c462af25 Move libsigchain version scripts to app_process, where they are used.
This is a temporary measure to avoid exporting filegroups in the SDK
snapshots. The version scripts will go away when libsigchain can be a
shared lib.

Test: Build and boot
Bug: 153338107
Bug: 142944043
Change-Id: Id7bff041413569342cc5dcaeff144287b2ae1ef9
2020-04-17 00:03:41 +01:00
Steven Moreland
0daed48a88 Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I136e4d4459bb8c3c5abf3c0758dd5ae14d0ad2a2
2019-09-09 16:28:55 +00:00
Steven Moreland
ef6a7da0f9 app_process: use libhidlbase
libhwbinder symbols are moving into libhidlbase for memory/performance.
This change is preparing for this (and also to avoid a merge conflict).
Later changes will be added to remove dependencies on libhwbinder once
it is no longer required.

Bug: 134961554
Test: N/A
Change-Id: I128a007749356d4a8d75eba3e2c678c0f66c59fe
2019-06-17 15:23:41 -07:00
Roland Levillain
7103a89d39 Use suffixes instead of stems in the definition of module app_process.
Test: Device boot test
Change-Id: Ibbf888383b4fe3204b71978243267765092d51c6
2019-06-07 12:02:04 +01:00
Colin Cross
45c0d71e77 Convert frameworks/base/cmds/* to Android.bp
See build/soong/README.md for more information.

Also converts the rest of frameworks/base/tools/streaming_proto.

Bug: 122332340
Test: m checkbuild
Change-Id: I87c500c5464fb1722b4b518d89065f5e1ee29a97
Merged-In: Ieb54feb3902bddfd5a571369fbf50161ae646647
2019-03-29 16:35:06 -07:00