lkml.org 
[lkml]   [2017]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] livepatch: Make livepatch dependent on !TRIM_UNUSED_KSYMS
On Fri, 26 May 2017, Miroslav Benes wrote:

> If TRIM_UNUSED_KSYMS is enabled, all unneeded exported symbols are made
> unexported. Two-pass build of the kernel is done to find out which
> symbols are needed based on a configuration. This effectively
> complicates things for out-of-tree modules.
>
> Livepatch exports functions to (un)register and enable/disable a live
> patch. The only in-tree module which uses these functions is a sample in
> samples/livepatch/. If the sample is disabled, the functions are
> trimmed and out-of-tree live patches cannot be built.
>
> Note that live patches are intended to be built out-of-tree.
>
> Suggested-by: Michal Marek <mmarek@suse.com>
> Signed-off-by: Miroslav Benes <mbenes@suse.cz>

Applied, thanks.

--
Jiri Kosina
SUSE Labs

\
 
 \ /
  Last update: 2017-05-27 03:33    [W:0.058 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site