lkml.org 
[lkml]   [2017]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6] livepatch: introduce shadow variable API
On Thu, 31 Aug 2017, Joe Lawrence wrote:

> Add exported API for livepatch modules:
>
> klp_shadow_get()
> klp_shadow_alloc()
> klp_shadow_get_or_alloc()
> klp_shadow_free()
> klp_shadow_free_all()
>
> that implement "shadow" variables, which allow callers to associate new
> shadow fields to existing data structures. This is intended to be used
> by livepatch modules seeking to emulate additions to data structure
> definitions.
>
> See Documentation/livepatch/shadow-vars.txt for a summary of the new
> shadow variable API, including a few common use cases.
>
> See samples/livepatch/livepatch-shadow-* for example modules that
> demonstrate shadow variables.
>
> Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>

Acked-by: Miroslav Benes <mbenes@suse.cz>

I'd wait for Petr's review.

Thanks,
Miroslav

\
 
 \ /
  Last update: 2017-09-13 14:00    [W:0.052 / U:34.024 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site