On 18.09.2019 09:35, Pawel Wieczorkiewicz wrote: > This is needed for more precise patchability verification. > Only non-special .rodata sections should be subject > for such a non-referenced check in kpatch_verify_patchability(). > Current check (non-standard, non-rela, non-debug) is too weak and > allows also non-rodata sections without referenced symbols to slip > through. > > Detect .rodata section by checking section's type (SHT_PROGBITS), > flags (no exec, no write) and finally name prefix. > > Signed-off-by: Pawel Wieczorkiewicz <wipa...@amazon.de> > Reviewed-by: Andra-Irina Paraschiv <andra...@amazon.com> > Reviewed-by: Bjoern Doebel <doe...@amazon.de> > Reviewed-by: Norbert Manthey <nmant...@amazon.de> > --- > common.c | 7 +++++++ > common.h | 1 + > create-diff-object.c | 13 ++++++------- > 3 files changed, 14 insertions(+), 7 deletions(-)
Seeing that I have been Cc-ed here - what tree is this against? I don't recognize the file names as anything I'm a maintainer for. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel