KSP: implemented basic kernel patching

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>