On 11/5/19 3:37 PM, 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 <[email protected]> > Reviewed-by: Andra-Irina Paraschiv <[email protected]> > Reviewed-by: Bjoern Doebel <[email protected]> > Reviewed-by: Norbert Manthey <[email protected]> > --- Reviewed-by: Ross Lagerwall <[email protected]>
_______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
