aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject-usercopy.c
diff options
context:
space:
mode:
authorElena Petrova <[email protected]>2020-10-16 03:13:35 +0000
committerLinus Torvalds <[email protected]>2020-10-16 18:11:22 +0000
commit5cf53f3ce3b9ff5321b56f9ed9d90d59307be7d0 (patch)
tree375cf185bce28d7efddb131ba813063bd2d2a620 /lib/fault-inject-usercopy.c
parentscripts/gdb/tasks: add headers and improve spacing format (diff)
downloadkernel-5cf53f3ce3b9ff5321b56f9ed9d90d59307be7d0.tar.gz
kernel-5cf53f3ce3b9ff5321b56f9ed9d90d59307be7d0.zip
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 protected]> Signed-off-by: Andrew Morton <[email protected]> Acked-by: Kees Cook <[email protected]> Cc: Jann Horn <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/fault-inject-usercopy.c')
0 files changed, 0 insertions, 0 deletions