]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
livepatch: enforce patch stacking semantics
authorJosh Poimboeuf <jpoimboe@redhat.com>
Tue, 20 Jan 2015 15:26:18 +0000 (09:26 -0600)
committerJiri Kosina <jkosina@suse.cz>
Tue, 20 Jan 2015 19:09:41 +0000 (20:09 +0100)
commit83a90bb1345767f0cb96d242fd8b9db44b2b0e17
tree68a4466302071ededbed9c50f4d80e431e656f32
parent32b7eb877165fdb29f1722071c6c64ced1789014
livepatch: enforce patch stacking semantics

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 <jkosina@suse.cz>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Reviewed-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
kernel/livepatch/core.c