lkml.org 
[lkml]   [2024]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH AUTOSEL 6.8 69/98] sparc: vdso: Disable UBSAN instrumentation
On Fri, Mar 29, 2024 at 07:05:37PM -0700, Kees Cook wrote:
>On Fri, Mar 29, 2024 at 08:37:40AM -0400, Sasha Levin wrote:
>> From: Kees Cook <keescook@chromium.org>
>>
>> [ Upstream commit d4be85d068b4418c341f79b654399f7f0891069a ]
>>
>> The UBSAN instrumentation cannot work in the vDSO since it is executing
>> in userspace, so disable it in the Makefile. Fixes the build failures
>> such as:
>>
>> arch/sparc/vdso/vclock_gettime.c:217: undefined reference to `__ubsan_handle_shift_out_of_bounds'
>>
>> Acked-by: Sam Ravnborg <sam@ravnborg.org>
>> Link: https://lore.kernel.org/all/20240224073617.GA2959352@ravnborg.org
>> Signed-off-by: Kees Cook <keescook@chromium.org>
>> Signed-off-by: Sasha Levin <sashal@kernel.org>
>
>This is harmless to backport, but doesn't do anything. (The UBSAN
>changes needing this are only in Linus's tree.)

I'll drop this and the rest of the ubsan commits you've pointed out,
thanks!

--
Thanks,
Sasha

\
 
 \ /
  Last update: 2024-05-27 16:27    [W:0.137 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site