Re: [RFC PATCH 07/10] powerpc/fsl_booke/32: randomize the kernel image offset

2019-07-29 Thread Jason Yan
On 2019/7/29 19:33, Christophe Leroy wrote: Le 17/07/2019 à 10:06, Jason Yan a écrit : After we have the basic support of relocate the kernel in some appropriate place, we can start to randomize the offset now. Entropy is derived from the banner and timer, which will change every build and

Re: [RFC PATCH 07/10] powerpc/fsl_booke/32: randomize the kernel image offset

2019-07-29 Thread Christophe Leroy
Le 17/07/2019 à 10:06, Jason Yan a écrit : After we have the basic support of relocate the kernel in some appropriate place, we can start to randomize the offset now. Entropy is derived from the banner and timer, which will change every build and boot. This not so much safe so additionally

[RFC PATCH 07/10] powerpc/fsl_booke/32: randomize the kernel image offset

2019-07-17 Thread Jason Yan
After we have the basic support of relocate the kernel in some appropriate place, we can start to randomize the offset now. Entropy is derived from the banner and timer, which will change every build and boot. This not so much safe so additionally the bootloader may pass entropy via the