Re: [uml-devel] [PATCH] um: Add mark_rodata_ro support.

From: Thomas Meyer
Date: Mon May 22 2017 - 16:40:22 EST



> Am 22.05.2017 um 21:37 schrieb Richard Weinberger <richard@xxxxxx>:
>
> Thomas,
>
>> Am 22.05.2017 um 21:18 schrieb Thomas Meyer:
>>
>>> Am 22.05.2017 um 20:34 schrieb Richard Weinberger <richard@xxxxxx>:
>>>
>>> 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?

Will do so!

>
> Thanks,
> //richard
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> User-mode-linux-devel mailing list
> User-mode-linux-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Attachment: smime.p7s
Description: S/MIME cryptographic signature