Re: [Xen-devel] [PATCH v3 08/17] livepatch/tests: Make sure all .livepatch.funcs sections are read-only

2017-09-18 Thread Konrad Rzeszutek Wilk
On Tue, Sep 12, 2017 at 08:49:55AM -0600, Jan Beulich wrote: > >>> On 12.09.17 at 02:37, wrote: > > --- a/xen/test/livepatch/Makefile > > +++ b/xen/test/livepatch/Makefile > > @@ -54,6 +54,7 @@ xen_hello_world.o: config.h livepatch_depends.h > > $(LIVEPATCH):

Re: [Xen-devel] [PATCH v3 08/17] livepatch/tests: Make sure all .livepatch.funcs sections are read-only

2017-09-12 Thread Jan Beulich
>>> On 12.09.17 at 02:37, wrote: > --- a/xen/test/livepatch/Makefile > +++ b/xen/test/livepatch/Makefile > @@ -54,6 +54,7 @@ xen_hello_world.o: config.h livepatch_depends.h > $(LIVEPATCH): xen_hello_world_func.o xen_hello_world.o > $(LD) $(LDFLAGS) $(build_id_linker) -r

[Xen-devel] [PATCH v3 08/17] livepatch/tests: Make sure all .livepatch.funcs sections are read-only

2017-09-11 Thread Konrad Rzeszutek Wilk
Instead of being writable (.data). This mimics the behavior of what livepatch-build-tools do. Other approaches such as 'struct const livepatch_funcs' still result in the WA section attributes. Signed-off-by: Konrad Rzeszutek Wilk --- xen/test/livepatch/Makefile | 4