From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751459AbcGNSHm (ORCPT ); Thu, 14 Jul 2016 14:07:42 -0400 Received: from foss.arm.com ([217.140.101.70]:44750 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751098AbcGNSHl (ORCPT ); Thu, 14 Jul 2016 14:07:41 -0400 Subject: Re: [PATCH] arm64: Add config to limit user space to 47bits To: Alexander Graf , Zheng Xu , Steve Capper References: <1468424567-15925-1-git-send-email-agraf@suse.de> <578668D3.6010406@suse.de> <20160714010812.GA17138@e103986-lin> <837E6456-4718-45D7-8EE7-E28E11DB8BD3@suse.de> Cc: Mark Rutland , "mbrugger@suse.com" , Ard Biesheuvel , Catalin Marinas , Will Deacon , "linux-kernel@vger.kernel.org" , Stuart Monteith , "linux-arm-kernel@lists.infradead.org" From: Jeremy Linton Message-ID: Date: Thu, 14 Jul 2016 13:07:30 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/14/2016 02:14 AM, Alexander Graf wrote: > > 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. I have a polkit built against mozjs45, getting it to work on the other hand is the yak of the day...