Do not hwasanitize init_first_stage.

Current hwasan implementation breaks when stderr (fd 2) is missing.

Bug: 118776698
Test: hwasan boots without serial console
Change-Id: Id095a87212096526a497563adab3d7f2f9fe8ab0
This commit is contained in:
Evgenii Stepanov 2018-11-01 13:38:38 -07:00
parent 6d7c8fcc92
commit 1f47f4add4
1 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,8 @@ LOCAL_STATIC_LIBRARIES := \
libcap \
LOCAL_SANITIZE := signed-integer-overflow
# First stage init is weird: it may start without stdout/stderr, and no /proc.
LOCAL_NOSANITIZE := hwaddress
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)