Drop prebuilt Trusty SDK (ab/9952814)

trusty/user/base: (43 changes)
  594f1c3c scudo: Update Trusty rules.mk
  33a23b06 make: MODLE_LIBRARY_DEPS should be below relative to TRUSTY_TOP.
  848f07a6 make: Add support for whole archives
  1790a15c Revert "make: Enable --whole-archive for user space apps"
  8ddfd278 make: Enable --whole-archive for user space apps
  3c4eb236 lib:spi: Remove circular dependency
  f2206437 [rust][tipc] Handling unordered channel disconnects
  fc13d733 storage: Always print timeout length
  dd683dc5 unittest: Log to stderr and IPC consistently
  b530c405 storage: Handle STORAGE_ERR_FS_REPAIRED
  e16f7965 storage: Add repair acknowledgement flag to client library
  d476debd trusty:confirmationalui: Add port test to run teeui layout
  bb2bc930 trusty: metrics: Update scudo manifest to match main manifest
  f89f075e app: metrics: use IStats.aidl as the NW and user-space interface
  33fce7e5 interface: Update the stats interfaces in sync with Android
  f39ee892 lib: stats: C Wrapper library for the IStats.aidl CPP client
  6090f622 interface: metrics: Deprecate the legacy interface for NW client
  62c1f54d metrics_atoms: Update plugin path
  39d27d94 interface: stats_setter: add a rules.mk to build IStatsSetter.aidl
  87c92212 interface: stats: add IStats.aidl NW and TZ flavors
  43d278fe lib: metrics_atoms: Add atoms library for metrics
  45fbd539 make: protoc_plugin.mk: Build system support for protoc plugins
  2b8048ea trusty:base:cfi-test: Disable BTI
  a87b5faf trusty:user:base: Mark objects as being BTI compatible on aarch64.
  f27216a3 trusty:user: Add support for building trusted apps with BTI.
  26f69a6d trusty:secure_dpu: workaround to accept newest connection from Linux.
  e7955389 Expose raw file descriptor to Rust code
  8dfde1f6 usertests: Add Binder to user test includes
  94aaf8ab Revert "usertests: Add usertests includes for Binder"
  54f60d8f usertests: Add usertests includes for Binder
  3d8cea42 device_tree: Fix misuse of shared_ptr<PortAcl>
  d864b04e tipc: Improve return types for `Service` methods
  7f11de89 make: Always use -fsplit-lto-unit in LTO mode
  f3e6d3e6 [ipc] improve the ipc-selfie test
  4ba23ee7 lib/unittest: Correct Payload Size in iovec
  33cd83b7 Increase memory limit for acvp application.
  fa912528 [ipc] update selfie test now kernel removes closed pending connections
  8e1d2859 bssl-sys: Remove functions that use va_list
  607a12ba make: Add ARCH_COMPILEFLAGS to bindgen command line
  d50d832e googletest: Add Trusty logging printer
  f3330d18 Enable creating UUIDs from Rust code.
  a17df95c interface:secure_fb: Add explicit error to indicate unsupported panel
  9c3bba82 Fix scudo_test.c for clang update

trusty/kernel: (22 changes)
  d61fb734 kernel: Detect duplicate TRUSTY_BUILTIN_USER_TASKS
  1ae481fd app/stdcalltest: smc call to clobber sve registers
  e7942ef9 lib: metrics: Add reason to the app crash message
  fd6a79b8 trusty_app: Add app crash notifier
  8ee1b9c8 unittest: make initialisation order match declaration order
  674a2111 kernel/include/shared/lk: Record Cold Run
  bab053bc kernel/include/shared/lk: Bench must not report more failures than tests
  1bbf4866 trusty:kernel: KERNEL_BTI_ENABLED no longer requires BTI support
  165aafa3 trusty:mmutest: Make compatible with BTI annotations in FUNCTION()
  83528bcc trusty:syscall: Add bti landing pads to syscall stubs on aarch64.
  86ae901f trusty:kernel: Add BTI parsing / handling from ELF .note.gnu.property section.
  87a416b4 lib: Add `strncmp` versions of `STREQ` macros
  9595ec3e lib: extmem: evolve binary_search_tree deps to a library deps
  09c82e1c trusty:kernel: fix incorrect free() on error path
  aa8d26f7 trusty:kernel: fix possible NULL access on trusty_app_start error path
  243957d7 [ipc] Fix possible ipc channel leak
  ebd25e93 make/dtb.mk: Support multiple input files per rules.mk
  d0fbec3f kernel:btitest: Only build if kernel BTI enabled on a supported arch
  df75df94 make: Use CLANG_HOST_LIBDIR to find libc++.so
  3c264ae5 make/dtb.mk: Replace all non-alphanumeric chars in symbol name
  26cf6f4d Revert "Update location of libc++.so for clang update"
  303feeeb Update location of libc++.so for clang update

trusty/hardware/nxp: (4 changes)
  2988aaf2 scripts: test-map: Remove trusty_metrics_test
  2141c9f8 scripts: Add env var for clang host lib dir
  0ff28862 Revert "Update clang to r475365b"
  47a5d8b8 Update clang to r475365b

trusty/user/app/cast-auth: (1 changes)
  5a004893 Fix misuse of shared_ptr<PortAcl>

trusty/user/app/confirmationui: (4 changes)
  99598402 Revert "test/examples: MODLE_LIBRARY_DEPS should be below root directory"
  56709b16 test/examples: MODLE_LIBRARY_DEPS should be below root directory
  9f7b9e33 trusty:confirmationalui: Add port test to run teeui layout
  3fb3537d trusty:confirmationui: Mark object as being BTI compatible on aarch64.

trusty/user/app/gatekeeper: (1 changes)
  deb32f54 gatekeeper: scudo: Increase heap

trusty/user/app/keymaster: (2 changes)
  516bcc55 Use fallible allocation in UNIQUE_ID generation
  b3a46950 Add a note requesting to replicate the keymaster access policy.

trusty/user/app/keymint: (13 changes)
  d1d71c6e Allow one extra connection
  0971e549 Reject deletion slot 1 that holds factory secret
  4176f246 Pass entropy through to trusty_rng
  89915f58 keymint:scudo: Add scudo manifest
  65161a18 Adding RSA PKCS1 and EC SEC 1 formats to read_attestation_key
  b021dc94 rust: Update tipc interface usage
  ede91285 Adding keymint SetWrappedAttestationKey command
  1090e1ef Adding keymint ClearAttestationCertChain command
  ce0d536a Adding keymint AppendAttestationCertChain command
  94562a5e Put auto-increment for IMEI2 behind a feature
  ea485c4c Disable the test for keymint until KMR lands.
  e3bc700b Add generic access policy for keymint Rust.
  5a732bc2 Fixing SetAttestationKey command flow

trusty/user/app/sample: (5 changes)
  ea705551 trusty:app:sample: Split out hwrng tests
  a70bae04 Add stats-test validating the components involved in Metrics
  b2932bfd trusty:app:sample: Mark object as being BTI compatible on aarch64.
  5fd8eecd binder-test: Fix misuse of shared_ptr<PortAcl>
  bde983e9 rust: Update tipc interface usage

trusty/user/app/storage: (33 changes)
  c62c848f storage: test: Fix reserved count when re-initializing filesystem
  2667cec8 storage: Disallow restore if no checkpoint exists
  bc2bd7ea storage: Do not clear FS before restoring checkpoint
  12ec6692 storage: Add fs variants to block_mac API
  b03edaa5 storage: Add file info corruption host test
  79bcde38 storage: Add FS name to fs_init logging
  1aa7daea storage: Mark FS for full scan on invalid blocks
  bf0bf097 storage: block_device_tipc: Check TDP and restore to checkpoint if corrupt
  22823a19 storage: Do not probe invalid files root block
  c54160ec storage: Add repair ack flag to more file operations
  c122ac8a storage: [NFC] Improve block test expectations
  cdacb46a storage: Improve file operation return values
  149220cc storage: Re-enable storage_host_test build defines
  9bee01d3 storage: tipc_ns: Return number of bytes read
  905623f2 storage: fs: Add the ability to initialize from checkpoint
  54639ef8 storage: fs: Do not check data blocks in fs_check
  8cec3d3a storage: fs: Add granularity to the result of fs_check
  b706afd0 storage: Add writable flag to filesystem
  73ca713b storage: Add necessary includes for metrics library
  f7aa6743 storage: Fix include path for stats port header
  69566522 storage: Do not report transaction failure as file not found
  8201d117 storage: Add RPMB error reporting
  c8beede0 storage: Add metrics testing to storage_block_test
  18358cce storage: Add error reporting calls
  0e4d0c00 storage: Add helpers for error reporting
  851e56a0 storage: Add filesystem name during FS initialization
  daff540c storage: transaction: Detect and propagate block errors
  d7bfd486 storage: block_cache: Merge encrypted and data state fields
  7e80ca2d storage: Fix handling of proxy errors when getting max size
  8481c02a storage: Fix TIPC timeout logging
  b4989453 storage: client_tipc: Checkpoint without active transaction
  23c90c34 storage: unittest: Enable checkpoint tests on emulator only
  3ebc5c03 storage: Print checkpoint status when loading super block

trusty/device/arm/generic-arm64: (5 changes)
  702c168b storage: Enable error reporting metrics
  9c2686cb make: Add usertests includes for stats-test
  04b1ba23 trusty:qemu-arm64-test-debug: enable user BTI
  dd012139 make: Add usertests includes for Binder
  62dda6e6 generic-arm64: Enable emulator storage tests

external/lk: (8 changes)
  1ef4bc98 lk: sve support functions
  3e229a4c trusty:lk: Add flag for platform to define additional compile flags
  4dea08bf arm&arm64: Pass crash reason to trusty_app_crash
  340260e8 trusty:lk: Add bti c annotation support.
  20a2dd97 trusty:lk: Add BTI ARCH support build flag
  16782428 Always delete from the region's BST on cleanup
  2af742f6 rust: Enable basic LTO for all Rust modules
  d655cbc8 Fix memtag.c for clang udpate

external/scudo: (268 changes)
bea4ce59 -> 433de031

prebuilts/clang/host/linux-x86: (182 changes)
4f7e5adc -> 357e23a0

prebuilts/rust: (28 changes)
420a4512 -> 7a11c74d

trusty/prebuilts/aosp: (5 changes)
e14510c1 -> 93d62f0c

The change is generated with prebuilt drop tool.

Bug: 269465090
Bug: 272182788
Bug: 270713899
Bug: 242839096
Bug: 271975483
Bug: 269180479
Bug: 272705599
Bug: 264965700
Bug: 271113797
Bug: 269591630
Bug: 276463183
Bug: 269577299
Bug: 244611675
Bug: 274780259
Bug: 259511922
Bug: 270756468
Bug: 260484725
Bug: 271816310
Bug: 253948023
Bug: 228238975
Bug: 239688839
Bug: 266588810
Bug: 266628746
Bug: 268498069
Bug: 276932249
Bug: 258602662
Bug: 264720040
Bug: 244608684
Bug: 235276465
Bug: 270197433
Bug: 271066812
Bug: 235342532
Bug: 270344909
Bug: 275022041
Bug: 267744475
Bug: 272005342
Bug: 270697696
Bug: 251888886
Bug: 272164611
Bug: 2459409
Bug: 263454481
Bug: 269521171
Bug: 274386218
Bug: 244607290
Bug: 273764155
Bug: 260252477
Bug: 259518785
Bug: 251217226
Bug: 276756817
Bug: 270942549
Bug: 269803863
Bug: 260912475
Bug: 259517277
Bug: 270751581
Bug: 276756319
Bug: 275719012
Bug: 271919464
Bug: 260397427
Bug: 242226036
Bug: 275429255
Bug: 273832845
Bug: 271248782
Bug: 276931992
Bug: 272967596
Bug: 244732345
Bug: 261733820
Bug: 269629885
Bug: 259292099
Bug: 230135749
Bug: 277072333
Bug: 274902489
Bug: 271393242
Bug: 266179549
Bug: 272408039
Bug: 231151082
Bug: 275620340
Bug: 269467126
Change-Id: Ic4f02ad3fe9f7bafaa5ab68e4a52bc7c7d1f51db
97 files changed
tree: fb3b6a000d8de1ec6a3e0d979ef254474a5ba9bc
  1. .prebuilt_info/
  2. clang/
  3. make/
  4. sysroots/
  5. LICENSE
  6. README.md
  7. Version.txt
README.md

Trusty TEE Application SDK

This SDK provides the necessary libraries, headers, and toolchain for building Trusty applications for integration into the Trusty TEE.

The Trusty API reference is available on our website.

This SDK is currently in flux and no stability guarantees are currently provided. Future versions may add, remove, or change APIs.

SDK structure

  • make
    • $ARCH/trusty_sdk.mk Makefile suitable for including into an existing build system. Sets up the CC, CXX, LD, CFLAGS, CXXFLAGS, ASMFLAGS, and LDFLAGS variables with appropriate values for building Trusty apps. Includes the function add-trusty-library that adds the needed flags to compile and link against a particular SDK library. See header comments in this file for more details.
    • $ARCH/lib....mk Library-specific makefiles that append necessary compile and link flags to use that library. Should be used via add-trusty-library if using make.
  • sysroots
    • $ARCH Sysroot containing the userspace libraries and headers for the corresponding architecture.
  • clang Version information for the clang toolchain used to compile the SDK and corresponding version of the Trusty kernel. This toolchain must be used to build apps in order to be compatible with this SDK.