Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Avoiding RWX segments in XEN3_DOM0/XEN3_DOMU kernels



On Sun, Jul 16, 2023 at 10:24:35AM +0000, Taylor R Campbell wrote:
> The attached patch tries to fix it by splitting the linker script into
> three different segments -- one with read/execute (for .text), one
> read-only (for .rodata and various others), and one with read/write
> (for .data and everything else), along with the note.
> 
> Can someone try this and report back, or take a look and tell me if
> I'm barking up the wrong tree to fix the problem?  (Not a linker
> script expert here.)

Works for me - dom0 and domU kernel boot, linker warnings are gone.

Martin


Home | Main Index | Thread Index | Old Index