Re: [PATCH v2 1/2] livepatch: enforce patch stacking semantics

2015-01-20 Thread Jiri Slaby
On 01/20/2015, 04:26 PM, Josh Poimboeuf wrote: > Only allow the topmost patch on the stack to be enabled or disabled, so > that patches can't be removed or added in an arbitrary order. > > Suggested-by: Jiri Kosina > Signed-off-by: Josh Poimboeuf Reviewed-by: Jiri Slaby > --- >

[PATCH v2 1/2] livepatch: enforce patch stacking semantics

2015-01-20 Thread Josh Poimboeuf
Only allow the topmost patch on the stack to be enabled or disabled, so that patches can't be removed or added in an arbitrary order. Suggested-by: Jiri Kosina Signed-off-by: Josh Poimboeuf --- kernel/livepatch/core.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH v2 1/2] livepatch: enforce patch stacking semantics

2015-01-20 Thread Josh Poimboeuf
Only allow the topmost patch on the stack to be enabled or disabled, so that patches can't be removed or added in an arbitrary order. Suggested-by: Jiri Kosina jkos...@suse.cz Signed-off-by: Josh Poimboeuf jpoim...@redhat.com --- kernel/livepatch/core.c | 10 ++ 1 file changed, 10

Re: [PATCH v2 1/2] livepatch: enforce patch stacking semantics

2015-01-20 Thread Jiri Slaby
On 01/20/2015, 04:26 PM, Josh Poimboeuf wrote: Only allow the topmost patch on the stack to be enabled or disabled, so that patches can't be removed or added in an arbitrary order. Suggested-by: Jiri Kosina jkos...@suse.cz Signed-off-by: Josh Poimboeuf jpoim...@redhat.com Reviewed-by: Jiri