Disable fdsan after clone()

libbrillo closes all file descriptors after calling clone() to prepare
for exec(). FDSAN complains because child process is trying to close
file descriptors already owned by unique_fd. This is a false positive,
as child process will immediately call execv(), making all unique_fd
obsolete.

Test: th
Bug: 321373933
Change-Id: Ib5331dbca68cfa98134ccf3d761eaa21d0ffc4e6
2 files changed
tree: 158f5f4eba68adeaa20d94d9626b0ff92114be9e
  1. brillo/
  2. install_attributes/
  3. policy/
  4. Android.bp
  5. BUILD.gn
  6. libpolicy.ver
  7. METADATA
  8. MODULE_LICENSE_BSD
  9. NOTICE
  10. OWNERS
  11. PRESUBMIT.cfg
  12. README.md
  13. testrunner.cc
  14. testrunner_android.cc
README.md

libbrillo: platform utility library

libbrillo is a shared library meant to hold common utility code that we deem useful for platform projects. It supplements the functionality provided by libbase/libchrome since that project, by design, only holds functionality that Chromium (the browser) needs. As a result, this tends to be more OS-centric code.

AOSP Usage

This project is also used by Update Engine which is maintained in AOSP. However, AOSP doesn't use this codebase directly, it maintains its own libbrillo fork.

To help keep the projects in sync, we have a gsubtree set up on our GoB: https://chromium.googlesource.com/chromiumos/platform2/libbrillo/

This allows AOSP to cherry pick or merge changes directly back into their fork.