Messages in this thread | | | Subject | Re: [PATCH 3/3] MIPS: KASLR: Make relocation_address can be configured | From | Jinyang He <> | Date | Thu, 19 Nov 2020 17:31:34 +0800 |
| |
Hi,
On 11/19/2020 04:06 PM, Sergei Shtylyov wrote: > Hello! > > On 19.11.2020 5:29, Jinyang He wrote: > >> When CONFIG_RANDOMIZE_BASE is not set, determine_relocation_address() >> always returns a constant. It is not friendly to users if the address >> cannot be used. Make it can be configured at Kconfig. > > Make it configurable? Oh, yes. Sorry for the expression. 0xffffffff81000000 cannot be used on Loongson64 if CONFIG_RANDOMIZE_BASE is disabled. It's lower than address of _end. It makes relocation_addr_valid() return 0 always.
Thanks! Jinyang
>> Signed-off-by: Jinyang He <hejinyang@loongson.cn> > [...] > > MBR, Sergei
| |