Re: Problem with (?) hardened-sources-3.15.x on kvm-vm

Alex Xu <alex_y_xu-FFYn/[email protected]>
Newsgroups gmane.linux.gentoo.hardened
Message-ID <[email protected]>
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.
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJT/7eCAAoJEOFfLQs172iqyaEQAKmvIsnVQGXDY7RyMEXAsIKD
V96zz6II27+ZEu5p3tXF+p9aSysHmVdQPZiNsUn0/c/K03+Ow7ostSjEmlJwtRa0
c2bD079J/xeY1AFzbiL76BHwZhcn0AL0eMGhqIdw0bOo4122OQWErIYlHeBqkpqE
MftV1ntdtczEIxpJOa925dM9h5Yz7/F92rrGn/PajAVtLHYbHKfEseZrH2Y/vAiS
V2k54NloSpUv1OsQmAGIxvIYpqBlTuAGz4ryNlz5CQh6T1LtjJQPnlmwsVW+e5VC
7WMCMGjlfg8juD2o5h+lDgPFL9hlCxHePm8/jv9Xb01M5+HeEUe8pc1zAA+wOjLi
2/EG66F8VmLAi81t3t2mQsJ2PYO5lHCtZCD31YWWpr3DPL3aVPspL4pNvL1/jn/t
eH4TqTVMCTMKgiaZop27Eb+WlosjB720fWoVpUiwtEcoJRLxW9ktN7wkdgUQPht3
+1hyL88UR02/gnCeejjfCKKsEFFb6+h1nP91AYKRWWDjc8vaFsUXFMDNHCqDf3R4
shw9opKkYyo7Ui0tYDVAd2Qmq5hckCFIZfAlwHqk8lFcp6hRPhmTUhjdao9p/sNU
Sdva/gv1A9ejYEnnEtvRKd7naLcRD8K6uCA3VoRkNpB3gjspiREFEPH/ctByt0Co
ByvjbI8cK8x4A9tb/jpo
=qndG
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.