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

From: Thomas Meyer
Date: Mon May 22 2017 - 15:19:02 EST



> 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 ?
>
> Thanks,
> //richard

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