Re: [PATCH] klp: make object/func-walking helpers more robust

2016-04-29 Thread Jiri Kosina
On Thu, 28 Apr 2016, Miroslav Benes wrote: > Current object-walking helper checks the presence of obj->funcs to > determine the end of objs array in klp_object structure. This is > somewhat fragile because one can easily forget about funcs definition > during livepatch creation. In such a case the

Re: [PATCH] klp: make object/func-walking helpers more robust

2016-04-29 Thread Josh Poimboeuf
On Thu, Apr 28, 2016 at 04:34:08PM +0200, Miroslav Benes wrote: > Current object-walking helper checks the presence of obj->funcs to > determine the end of objs array in klp_object structure. This is > somewhat fragile because one can easily forget about funcs definition > during livepatch creation

[PATCH] klp: make object/func-walking helpers more robust

2016-04-28 Thread Miroslav Benes
Current object-walking helper checks the presence of obj->funcs to determine the end of objs array in klp_object structure. This is somewhat fragile because one can easily forget about funcs definition during livepatch creation. In such a case the livepatch module is successfully loaded and all obj