[PATCH 0/4 v5] livepatch: disambiguate symbols with the same name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following set of patches use symbol positioning instead of old
addresses to disambiguate symbols that have the same name in a given
object. This requires modifications to the klp_func and klp_reloc
structures to add an additional element. In addition the scheme used for
the func directory in sysfs is modified to append the symbols occurrence in
kallsyms.

v5:
 - remove val from klp_reloc struct
 - klp_write_object_relocations doesn't use sympos with external relocs
 - add Petr Mladek's patch to simplify relocated external symbol code
 - add optimization in klp_find_callback in unique case
 - remove klp_find_verify_func_addr
 - amend/remove commit messages/comments to be more precise

Chris J Arges (3):
  livepatch: add old_sympos as disambiguator field to klp_func
  livepatch: add sympos as disambiguator field to klp_reloc
  livepatch: function,sympos scheme in livepatch sysfs directory

Petr Mladek (1):
  livepatch: Simplify code for relocated external symbols

 Documentation/ABI/testing/sysfs-kernel-livepatch |   6 +-
 include/linux/livepatch.h                        |  28 ++--
 kernel/livepatch/core.c                          | 164 +++++++++--------------
 3 files changed, 80 insertions(+), 118 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe live-patching" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux