[PATCH v6] Livepatch shadow variables

From: Joe Lawrence
Date: Thu Aug 31 2017 - 16:37:51 EST


This version cleans up a few minor tweaks requested by Josh and
Miroslav.

v6:

- Convert an enum into a function argument flag
- Update code comment that still referenced updating existing shadow
variables
- Doc: Add a closing ')' parenthesis character
- Doc: Add a blurb about callers providing mutual exclusion

Joe Lawrence (1):
livepatch: introduce shadow variable API

Documentation/livepatch/shadow-vars.txt | 192 +++++++++++++++++++++
include/linux/livepatch.h | 8 +
kernel/livepatch/Makefile | 2 +-
kernel/livepatch/shadow.c | 277 ++++++++++++++++++++++++++++++
samples/Kconfig | 5 +-
samples/livepatch/Makefile | 3 +
samples/livepatch/livepatch-shadow-fix1.c | 173 +++++++++++++++++++
samples/livepatch/livepatch-shadow-fix2.c | 168 ++++++++++++++++++
samples/livepatch/livepatch-shadow-mod.c | 224 ++++++++++++++++++++++++
9 files changed, 1048 insertions(+), 4 deletions(-)
create mode 100644 Documentation/livepatch/shadow-vars.txt
create mode 100644 kernel/livepatch/shadow.c
create mode 100644 samples/livepatch/livepatch-shadow-fix1.c
create mode 100644 samples/livepatch/livepatch-shadow-fix2.c
create mode 100644 samples/livepatch/livepatch-shadow-mod.c

--
1.8.3.1