[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <226aeb10-87bc-f891-e709-1125e4d6011c@nod.at>
Date: Mon, 22 May 2017 21:37:17 +0200
From: Richard Weinberger <richard@....at>
To: Thomas Meyer <thomas@...3r.de>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
user-mode-linux-devel <user-mode-linux-devel@...ts.sourceforge.net>
Subject: Re: [uml-devel] [PATCH] um: Add mark_rodata_ro support.
Thomas,
Am 22.05.2017 um 21:18 schrieb Thomas Meyer:
>
>> Am 22.05.2017 um 20:34 schrieb Richard Weinberger <richard@....at>:
>>
>> Thomas,
>>
>>> Am 22.05.2017 um 20:14 schrieb Thomas Meyer:
>>> It's purely cosmetic; to get rid of the boot message: "This architecture does not have kernel memory protection." in init/main.c
>>>
>>> Which isn't true for UML as all read only stuff should end up in a read only ELF section. Shouldn't it?
>>
>> Hmm, reading /proc/<pid of uml>/maps tells a different story on my host.
>> Did you check?
>
> No... I may should have done so...
>
> Okay, but it should be possible to mprotect those regions ?
Yes, it should.
Can you give it a try?
Thanks,
//richard
Powered by blists - more mailing lists