[lkml]   [2022]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v4 19/45] x86/livepatch: Validate __fentry__ location
On Tue, 8 Mar 2022, Peter Zijlstra wrote:

> Currently livepatch assumes __fentry__ lives at func+0, which is most
> likely untrue with IBT on. Instead make it use ftrace_location() by
> default which both validates and finds the actual ip if there is any
> in the same symbol.
> Suggested-by: Josh Poimboeuf <>
> Signed-off-by: Peter Zijlstra (Intel) <>

Acked-by: Miroslav Benes <>


 \ /
  Last update: 2022-03-09 10:00    [W:0.336 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site