Re: [PATCH 2/2] livepatch: x86: make kASLR logic more accurate
From: Minfei Huang
Date: Mon Apr 27 2015 - 20:08:19 EST
On 04/28/15 at 01:29P, Jiri Kosina wrote:
> On Mon, 27 Apr 2015, Minfei Huang wrote:
> > Found that kaslr_enabled is only exist for x86. Maybe you can define a
> > weak function klp_adjustment_function_addr in general. Then each arch
> > can overwrite the function to implemente it specially.
> It might start to make sense once there is at least one additional arch
> that supports kaslr. Currently, I don't see a benefit.
> Why are you so obstinate about this? I personally don't find that
> important at all; it's something that can always be sorted out once more
> archs start supporting kaslr.
ohhh... Previously, IMO, putting the relevant function address adjustment
into the specified arch is more clearly to be reviewed and understood.
Now, I know what you actual want according to above commit, I am fine
> Jiri Kosina
> SUSE Labs
> 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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/