Re: [PATCH 1/3 v8] livepatch: add old_sympos as disambiguator field to klp_func

2015-11-23 Thread Miroslav Benes
On Fri, 20 Nov 2015, Chris J Arges wrote: > Currently, patching objects with duplicate symbol names fail because the > creation of the sysfs function directory collides with the previous > attempt. Appending old_addr to the function name is problematic as it > reveals the address of the function b

[PATCH 1/3 v8] livepatch: add old_sympos as disambiguator field to klp_func

2015-11-20 Thread Chris J Arges
Currently, patching objects with duplicate symbol names fail because the creation of the sysfs function directory collides with the previous attempt. Appending old_addr to the function name is problematic as it reveals the address of the function being patch to a normal user. Using the symbol's occ