livepatch: Expand check for safe_for_reapply if livepatch has only .rodata.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 2 Aug 2017 00:29:01 +0000 (00:29 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 5 Oct 2017 14:29:12 +0000 (10:29 -0400)
commit66d3f83db68a529fee807151d9b2906851f58cac
tree47434205d68da96fd6f8e258db2243b66511d2fb
parent33f2d16690d15f9b34f81fa4d44097d00dedbd42
livepatch: Expand check for safe_for_reapply if livepatch has only .rodata.

If the livepatch has only .rodata sections then it is OK to also
apply/revert/apply the livepatch without having to worry about the
unforseen consequences.

See commit 98b728a7b235c67e210f67f789db5d9eb38ca00c
"livepatch: Disallow applying after an revert" for details.

Reviewed-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/common/livepatch.c