Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933260AbdCUWZd convert rfc822-to-8bit (ORCPT ); Tue, 21 Mar 2017 18:25:33 -0400 Received: from terminus.zytor.com ([65.50.211.136]:48384 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933010AbdCUWZc (ORCPT ); Tue, 21 Mar 2017 18:25:32 -0400 Date: Tue, 21 Mar 2017 15:25:04 -0700 User-Agent: K-9 Mail for Android In-Reply-To: References: <20170321174711.29880-1-dsafonov@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [PATCHv3] x86/mm: set x32 syscall bit in SET_PERSONALITY() To: Thomas Gleixner , Dmitry Safonov CC: linux-kernel@vger.kernel.org, 0x7f454c46@gmail.com, Adam Borowski , linux-mm@kvack.org, Andrei Vagin , Cyrill Gorcunov , Borislav Petkov , "Kirill A. Shutemov" , x86@kernel.org, Andy Lutomirski , Ingo Molnar From: hpa@zytor.com Message-ID: <26CDE83A-CDBE-4F23-91F6-05B07B461BDD@zytor.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 587 Lines: 17 On March 21, 2017 3:21:13 PM PDT, Thomas Gleixner wrote: >On Tue, 21 Mar 2017, Dmitry Safonov wrote: >> v3: >> - clear x32 syscall flag during x32 -> x86-64 exec() (thanks, HPA). > >For correctness sake, this wants to be cleared in the IA32 path as >well. It's not causing any harm, but .... > >I'll amend the patch. > >Thanks, > > tglx Since the i386 syscall namespace is totally separate (and different), should we simply change the system call number to the appropriate sys_execve number? -- Sent from my Android device with K-9 Mail. Please excuse my brevity.