From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754200AbbJNPCK (ORCPT ); Wed, 14 Oct 2015 11:02:10 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:34934 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751947AbbJNPCH (ORCPT ); Wed, 14 Oct 2015 11:02:07 -0400 Date: Wed, 14 Oct 2015 17:01:55 +0200 From: Ingo Molnar To: Stas Sergeev Cc: Andy Lutomirski , x86@kernel.org, linux-kernel@vger.kernel.org, Brian Gerst , Denys Vlasenko , Linus Torvalds , Borislav Petkov , Cyrill Gorcunov , Pavel Emelyanov Subject: Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit signal context Message-ID: <20151014150155.GA21330@gmail.com> References: <6e14e2f7ce1c38fc1996bd4d5d3d9dc70b8bd94d.1444697927.git.luto@kernel.org> <561D1C53.8080302@list.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <561D1C53.8080302@list.ru> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Stas Sergeev wrote: > On an off-topic: there was recently a patch from you that > disables vm86() by mmap_min_addr. I've found that dosemu, when > started as root, could override mmap_min_addr. I guess this will > no longer work, right? Not a big regression, just something to > know and document. So I think it should still work, because we check for mmap_min_addr in the system call itself: static long do_sys_vm86(struct vm86plus_struct __user *user_vm86, bool plus) { ... err = security_mmap_addr(0); if (err) { /* So if dosemu first tweaks mmap_min_addr, the syscall should succeed. Thanks, Ingo