From: agraf@suse.de (Alexander Graf)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: Add config to limit user space to 47bits
Date: Thu, 14 Jul 2016 09:14:23 +0200 [thread overview]
Message-ID: <e24481b9-fb6a-aead-a72b-43b7d561b940@suse.de> (raw)
In-Reply-To: <VI1PR0801MB1423AC2E8EDEE7EA33A6233196320@VI1PR0801MB1423.eurprd08.prod.outlook.com>
On 14.07.16 09:03, Zheng Xu wrote:
> LuaJIT also fix the 48VA issue by allocating heap memory below 47 bits.
>
> For mozjs issue, if there are pointers to .rodata, it can be a problem. Does it happen on master and do we have any case to reproduce the issue so that I can take a look?
mozjs is fixed with your patch. I backported it to all of the ancient
versions of mozjs, so we're probably good there. Though every distro
will have to redo that work in their own trees, because older versions
of mozjs are no longer maintained upstream. If you want to be a hero,
you can try to port polkitd and gnome to use more recent versions of
mozjs ;). Or maybe they can already and we just messed up packaging.
The issue I mentioned with "js 1.8.5" is this gem:
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/1.8.5
I don't know the exact history, but I think it predates mozjs. With a
bit of sledge hammering your heap allocation patch applies there too,
but we still get the rodata references.
Alex
next prev parent reply other threads:[~2016-07-14 7:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-13 15:42 [PATCH] arm64: Add config to limit user space to 47bits Alexander Graf
2016-07-13 15:59 ` Ard Biesheuvel
2016-07-13 16:14 ` Alexander Graf
2016-07-14 1:08 ` Steve Capper
2016-07-14 6:38 ` Alexander Graf
2016-07-14 7:03 ` Zheng Xu
2016-07-14 7:14 ` Alexander Graf [this message]
2016-07-14 7:49 ` Zheng Xu
2016-07-14 8:01 ` Alexander Graf
2016-07-14 18:07 ` Jeremy Linton
2016-07-14 15:17 ` Ard Biesheuvel
2016-07-13 16:10 ` Mark Rutland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e24481b9-fb6a-aead-a72b-43b7d561b940@suse.de \
--to=agraf@suse.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox