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

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



> Am 21.05.2017 um 23:28 schrieb Richard Weinberger <richard.weinberger@xxxxxxxxx>:
>
> Thomas,
>
>> On Thu, May 18, 2017 at 12:11 AM, Thomas Meyer <thomas@xxxxxxxx> wrote:
>> This is actually a no-op as all read-only should be read-only in the ELF.
>
> What problem does this patch fix? Or what is the purpose?

Hi,

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?

>
> --
> 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