[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4c56a146-211d-e2ba-4a77-96680a6d39bc@loongson.cn>
Date: Thu, 19 Nov 2020 17:31:34 +0800
From: Jinyang He <hejinyang@...ngson.cn>
To: Sergei Shtylyov <sergei.shtylyov@...il.com>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Huacai Chen <chenhc@...ote.com>,
Jiaxun Yang <jiaxun.yang@...goat.com>
Cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] MIPS: KASLR: Make relocation_address can be
configured
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@...ngson.cn>
> [...]
>
> MBR, Sergei
Powered by blists - more mailing lists