diff options
author | Kees Cook <[email protected]> | 2024-02-06 12:32:05 +0800 |
---|---|---|
committer | Huacai Chen <[email protected]> | 2024-02-06 12:32:05 +0800 |
commit | cca5efe77a6a2d02b3da4960f799fa233e460ab1 (patch) | |
tree | d6f173ce95333db653247b62830b80114b7b619a /net/unix/sysctl_net_unix.c | |
parent | 639420e9f6cd9ca074732b17ac450d2518d5937f (diff) |
LoongArch: vDSO: Disable UBSAN instrumentation
The vDSO executes in userspace, so the kernel's UBSAN should not
instrument it. Solves these kind of build errors:
loongarch64-linux-ld: arch/loongarch/vdso/vgettimeofday.o: in function `vdso_shift_ns':
lib/vdso/gettimeofday.c:23:(.text+0x3f8): undefined reference to `__ubsan_handle_shift_out_of_bounds'
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Cc: Huacai Chen <[email protected]>
Cc: WANG Xuerui <[email protected]>
Cc: Vincenzo Frascino <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Fangrui Song <[email protected]>
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions