[PATCH v2 00/29] implement KASLR for ARM
From: Ard Biesheuvel <hidden>
Date: 2017-09-05 21:31:46
On 5 September 2017 at 22:27, Tony Lindgren [off-list ref] wrote:
* Ard Biesheuvel [off-list ref] [170905 12:43]:quoted
Right. Well, I will try to reproduce with the BB white I have.Yeah that should be reproducable, I got it to happen on BBB here after about 5 boots.quoted
Are you booting with an initrd?Not on this one, on beagleboard xm I do.
Interesting.
quoted
quoted
quoted
quoted
Then loading modules with CONFIG_RANDOMIZE_BASE=y seems to fail with: $ sudo modprobe rtc-twl rtc_twl: disagrees about version of symbol module_layout modprobe: ERROR: could not insert 'rtc_twl': Exec format errorIs this with CONFIG_MODVERSIONS enabled?Yes, but disabling that did not seem to make any difference based on just one test.Yeah, well, it appears I missed a couple of details :-) This should fix the module loading issues:Yeah now modprobe works :) That's after manually applying it as the tabs got munched in your patch somewhere, see below.
Yeah, Gmail tends to do that now and again. Apologies. Thanks for confirming that the module loading works for you, I will fold this into my v3.