On 28/08/14 05:02 PM, Sven Vermeulen wrote:
> On Wed, Aug 27, 2014 at 05:34:20PM +0100, André Aparício wrote:
>> I encountered the same problem with qemu/kvm but can't even login, I
>> get random segfaults and even failed malloc assertions
>> in /sbin/init, /sbin/rc or /bin/login (never past this).
>>
>> But it works fine with CONFIG_PAX_MEMORY_UDEREF disabled.
> 
> I am not able to reproduce this :-(
> 
> Host and guest are both on 3.15.5-hardened-r2 and both have UDEREF enabled.
> 
> I tried emerging boost on the guest as recommended in another post but this
> didn't fail.
> 
> Wkr,
>   Sven Vermeulen
> 

My VM has 12 CPUs but I use MAKEOPTS=-j3. Maybe this affects
reproducibility.

My host is of unknown kernel, but I'm pretty sure it's not Gentoo, let
alone Hardened.

Also, I am using <cpu mode="host-passthrough"/> in libvirt (equivalent
to -cpu host in qemu opts), so PAX detects PCID and enables strong
UDEREF. I will try with pax_weakuderef as soon as I get a chance to
reboot the VM.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to