commit | abed653939c5a81efd1e32ded4a3b73c10b55a0b | [log] [tgz] |
---|---|---|
author | Ayrton Munoz <ayrton@google.com> | Tue Oct 11 15:30:39 2022 -0400 |
committer | Ayrton Munoz <ayrton@google.com> | Fri Oct 28 23:58:32 2022 -0400 |
tree | 15c312e3430a945aaec75d194a0ca8bd92d75dbc | |
parent | 840fe6ee11a1311734ee928120c9e1984dd5e254 [diff] |
Modify stdio to support Trusty kernel This commit modifies musl's stdio to support the kernel by 1. replacing the syscall in __stdio_write with a call to writev 2. removing support for the floating-point code in stdio 3. replacing __pthread_self with current_thread_libc_state 4. redefining macros that don't apply to stdout/stderr (e.g. FLOCK) to avoid needing to compile/stub out pthread sources Bug: 230134581 Change-Id: I985496b6fc62176ff33ad5ebb90c694cd5309977