Re: [Xen-devel] [PATCH v7 1/5] livepatch: Disallow applying after an revert

2016-09-23 Thread Jan Beulich
>>> Konrad Rzeszutek Wilk 09/23/16 1:56 AM >>> >@@ -46,6 +46,10 @@ void livepatch_elf_free(struct livepatch_elf *elf); >int livepatch_elf_resolve_symbols(struct livepatch_elf *elf); >int livepatch_elf_perform_relocs(struct livepatch_elf *elf); > >+static inline bool

Re: [Xen-devel] [PATCH v7 1/5] livepatch: Disallow applying after an revert

2016-09-22 Thread Konrad Rzeszutek Wilk
On Thu, Sep 22, 2016 at 03:21:00AM -0600, Jan Beulich wrote: > >>> On 21.09.16 at 18:57, wrote: > > @@ -325,8 +327,13 @@ static int move_payload(struct payload *payload, > > struct livepatch_elf *elf) > > * and .shstrtab. For the non-relocate we allocate and

Re: [Xen-devel] [PATCH v7 1/5] livepatch: Disallow applying after an revert

2016-09-22 Thread Konrad Rzeszutek Wilk
On Thu, Sep 22, 2016 at 03:21:00AM -0600, Jan Beulich wrote: > >>> On 21.09.16 at 18:57, wrote: > > @@ -325,8 +327,13 @@ static int move_payload(struct payload *payload, > > struct livepatch_elf *elf) > > * and .shstrtab. For the non-relocate we allocate and

Re: [Xen-devel] [PATCH v7 1/5] livepatch: Disallow applying after an revert

2016-09-22 Thread Jan Beulich
>>> On 21.09.16 at 18:57, wrote: > @@ -325,8 +327,13 @@ static int move_payload(struct payload *payload, struct > livepatch_elf *elf) > * and .shstrtab. For the non-relocate we allocate and copy these > * via other means - and the .rel we can ignore as