android_system_core/trusty
Arve Hjønnevåg f29f1a2a38 trusty-ut-ctrl: Allow stream mode
When using vsock in stream mode (or any other stream mode connection)
message boundaries are not preserved, so the original messages can get
both split and merged. The TEST_MESSAGE and TEST_TEXT messages don't
have a length field which makes it imposible to support every possible
message that can be sent over a channel that preserves message
boundaries. Since the current message header types don't contain any
printable character, we assume any of these characters in a message
payload means that two messages got merged, so we split them back up.
Additionally, if we receive a message that does not start with a valid
message header, we assume it is a continuation of the previous message.

Test: trusty-ut-ctrl -D VSOCK:2:1 com.android.libctest ^Z fg
Bug: 298705967
Change-Id: I0e470a23664268f86e4defd824c47be3479c8f25
2024-10-03 04:33:38 +00:00
..
apploader trusty: apploader: fail specifically if app package is 0 bytes 2023-12-07 12:16:09 +00:00
confirmationui trusty: Remove explicit page-alignment of mmap and dmabuf allocations 2023-10-12 13:50:31 -07:00
coverage trusty: Remove explicit page-alignment of mmap and dmabuf allocations 2023-10-12 13:50:31 -07:00
fuzz Merge "Revert "rpc_binder: Change trusty_tipc_fuzzer to support multiple connections and messages"" into main 2024-01-26 10:15:47 +00:00
gatekeeper trusty: keymint/gatekeeper: Pass device name from init scripts 2024-09-10 04:00:09 +00:00
keymaster trusty: keymint/gatekeeper: Pass device name from init scripts 2024-09-10 04:00:09 +00:00
keymint trusty: keymint: rename trusty_ipc_dev property 2024-09-19 14:25:45 +00:00
libtrusty trusty: libtrusty: Add vsock support 2024-08-06 13:06:24 +00:00
libtrusty-rs trusty: libtrusty-rs: Add vsock support 2024-08-07 11:27:27 +00:00
line-coverage [Coverage] Fix coverage bug in which extra garbage is being written 2024-04-30 14:32:07 +00:00
metrics Update struct to include far and elr on the NS side 2024-09-18 14:31:04 +00:00
secretkeeper Update needed for Rust v1.77.0 2024-04-02 04:53:01 +00:00
secure_dpu [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
stats s/master/main/ 2023-10-04 23:31:09 +00:00
storage trusty: support secure storage in system-ext 2024-09-25 06:46:54 +00:00
test trusty/test/binder: Add package support for modules that have AIDL interfaces 2022-12-02 20:27:28 +00:00
utils trusty-ut-ctrl: Allow stream mode 2024-10-03 04:33:38 +00:00
Android.bp trusty: update default_applicable_licenses "Android-Apache-2.0" 2021-11-29 19:53:54 +00:00
OWNERS Use shared trusty OWNERs file 2024-05-28 23:00:10 +00:00
trusty-base.mk [km] Include non-secure KM HAL with Trusty VM in /system_ext 2024-09-04 09:29:00 +00:00
trusty-storage-cf.mk trusty: support secure storage in system-ext 2024-09-25 06:46:54 +00:00
trusty-storage.mk trusty: storage: implement storage proxy daemon 2016-05-02 15:12:01 -07:00
trusty-test.mk trusty: Convert Trusty driver tests to python_test 2022-02-22 17:40:29 -08:00