sched.h: drop in_ubsan field when UBSAN is in trap mode
in_ubsan field of task_struct is only used in lib/ubsan.c, which in its
turn is used only `ifneq ($(CONFIG_UBSAN_TRAP),y)`.
Removing unnecessary field from a task_struct will help preserve the ABI
between vanilla and CONFIG_UBSAN_TRAP'ed kernels. In particular, this
will help enabling bounds sanitizer transparently for Android's GKI.
Signed-off-by: Elena Petrova <email@example.com>
Signed-off-by: Andrew Morton <firstname.lastname@example.org>
Acked-by: Kees Cook <email@example.com>
Cc: Jann Horn <firstname.lastname@example.org>
Signed-off-by: Linus Torvalds <email@example.com>
1 file changed