Loading
ANDROID: x86/alternatives: Use C int3 selftest but disable KASAN
Instead of using inline asm for the int3 selftest (which confuses the Clang's ThinLTO pass), this restores the C function but disables KASAN (and tracing for good measure) to keep the things simple and avoid unexpected side-effects. This attempts to keep the fix from commit ecc60610 ("x86/alternatives: Fix int3_emulate_call() selftest stack corruption") without using inline asm. Bug: 145297900 Change-Id: I2b6e237d89968b677c34e162b71a520ed8375e2d Signed-off-by:Kees Cook <keescook@chromium.org> Signed-off-by:
Sami Tolvanen <samitolvanen@google.com>