Message ID | 20180521210455.229365124@linuxfoundation.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5160860545 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 21 May 2018 21:20:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 41BA8286E5 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 21 May 2018 21:20:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 363DF28A75; Mon, 21 May 2018 21:20:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A5AD28A46 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 21 May 2018 21:20:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9EBD06B0003; Mon, 21 May 2018 17:20:45 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 99CF76B0007; Mon, 21 May 2018 17:20:45 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 83E3E6B0008; Mon, 21 May 2018 17:20:45 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pl0-f69.google.com (mail-pl0-f69.google.com [209.85.160.69]) by kanga.kvack.org (Postfix) with ESMTP id 3E88A6B0003 for <linux-mm@kvack.org>; Mon, 21 May 2018 17:20:45 -0400 (EDT) Received: by mail-pl0-f69.google.com with SMTP id a5-v6so10662135plp.8 for <linux-mm@kvack.org>; Mon, 21 May 2018 14:20:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:date :message-id:in-reply-to:references:user-agent:mime-version; bh=StgKGzcDuO0ixe6qD7J9Wn5PLynifEoaTBoiVbNBvJg=; b=eCoI45kaeSuUs7j2gsyj/e12mcEExEkLKKMzq+WcdsWree8IRTVhnNBhjS/1n7iIN3 e30Jbs8jEQRE8ZiuoiA0xjfoVi221fwCHRpfcvBP6gyE3NFDK14jcwqnF1mlE80Zdkbx MSE1hvcegXEzDJnAztL+i05P1HmA0KiqmNTMGkzEcwhMv7bPagf7mCOjiJP0yEr90Gkk RLldS/MJRClwBLs8yHwXuZJkKPWfkOBEcZN0An9fcR9M8B+mYRiPEUb4keJFm5fHmKho AHmF6dNrWdgtiJL5bMEYtFhDYfuuRIKEWhLjvjsyRBXvNfuIj6J0z16HeKU41sNymker 2n4g== X-Gm-Message-State: ALKqPwehU9vbhmWeBmVN8c3YUA+VHUzmA67lF+OKcbBedUDLb8nRC6cm u/mHHZ6liv2lvDlnqh53YsOxOnYD0HDmQ+Rs6XDMajCO0p20rthVRw6bDEeywMtWFj+959N1aZp 2Dt3SO5wSTPE0oTtiZiuvyWbI9sPgEZHplX76RY05V2zbTQNjg8X3rFFiALzocY4= X-Received: by 2002:a17:902:b589:: with SMTP id a9-v6mr21304450pls.161.1526937644928; Mon, 21 May 2018 14:20:44 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpHyhh54/YnSTvYIA6CGi3wVVuHHjmVJINAeFz0sYOIAI881GRbzj9lf8VFb9FWNMTVMb6h X-Received: by 2002:a17:902:b589:: with SMTP id a9-v6mr21304408pls.161.1526937643953; Mon, 21 May 2018 14:20:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526937643; cv=none; d=google.com; s=arc-20160816; b=ZfXOETVe0Gp+jgag2ej+E2/qwxv4v1b54vMcRdKnMPkSp9ldNnnfj1a7S0CgcNUMTj ZGtKIy8j/l6Ld5082pcd0YFDloXemkPyvsbUYqBUlrruuwv0sUzrFYV4GgIgYBxWtL5L AHSe8RiZvhH+85xhiJVg9m+lNXBk4/ObQD4OS58bFPU/fXAXjgFEoBEkDfvBn+tXnuaR 4XXkT4IWYYHJz21JmFSYy0mRSfF3a17DqxXVHYV/+g1CkZQuef3ysxWYR+ghINVIXhwe S/U84NZu8bHqhRtYACxvm4xhnOReSeaP/gP7snWF5BD14wPxwyLnU9VmQVuFdi5G85C8 vR7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=StgKGzcDuO0ixe6qD7J9Wn5PLynifEoaTBoiVbNBvJg=; b=1BuJBJcohJlzMwVeirvQj94nN9QuKVXz52IiW6wiN2Dk4zo+41KeZwxaKHKVrIQc63 wgAGtxcGbUDUT9PBQS9/tUJtOqSkTTQIkdzXgvqp9i7sMIp6336yfFOCPILz+ddcfmmh Ohru3Ubw8fSq2hNvcsbeacDVm9F0pcUfsVpq4wFWcah+6oPIu86QFli7r8G8D32XdU2U mdLOgd2Eemv9DQPmdL08dBP6ZwnRnvn+92QVyZISu38oAxdDURetCPY18IQvhpw7n6sU o6c+QCvJ0bOaEjGupzeCQpKJ2nI2dOqYhA/FriR5xxlTp7bacD1b71lleCHnnzUYOQFt TDMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RF0Pz3tf; spf=pass (google.com: domain of srs0=nia/=ii=linuxfoundation.org=gregkh@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=SRS0=nia/=II=linuxfoundation.org=gregkh@kernel.org Received: from mail.kernel.org (mail.kernel.org. [198.145.29.99]) by mx.google.com with ESMTPS id q12-v6si16630487pli.419.2018.05.21.14.20.43 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 May 2018 14:20:43 -0700 (PDT) Received-SPF: pass (google.com: domain of srs0=nia/=ii=linuxfoundation.org=gregkh@kernel.org designates 198.145.29.99 as permitted sender) client-ip=198.145.29.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RF0Pz3tf; spf=pass (google.com: domain of srs0=nia/=ii=linuxfoundation.org=gregkh@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=SRS0=nia/=II=linuxfoundation.org=gregkh@kernel.org Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E87F020853; Mon, 21 May 2018 21:20:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526937643; bh=vkIKT9DGQWnq+XqEkuJuzCD150dKuZQyekqbgV4cyUA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RF0Pz3tf9hX6ZTIZMawNQfWZRvlLSHwtB0OSes4uQAugNoWXzycg6rsHMlNf/liDf W/yjELibyZ3jmLea592jZRyNg5896z5O7oJvPNWwYZXZ77JYWR80HwjhBI2ocGOW5C WRrG8dfLy/oy6qcBbbnz1Y6N4j0GW0qZMY13y+ZE= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Alexey Izbyshev <izbyshev@ispras.ru>, Dmitry Safonov <dima@arista.com>, Thomas Gleixner <tglx@linutronix.de>, Cyrill Gorcunov <gorcunov@openvz.org>, Borislav Petkov <bp@suse.de>, Alexander Monakov <amonakov@ispras.ru>, Dmitry Safonov <0x7f454c46@gmail.com>, linux-mm@kvack.org, Andy Lutomirski <luto@kernel.org>, "H. Peter Anvin" <hpa@zytor.com>, "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> Subject: [PATCH 4.14 36/95] x86/mm: Drop TS_COMPAT on 64-bit exec() syscall Date: Mon, 21 May 2018 23:11:26 +0200 Message-Id: <20180521210455.229365124@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180521210447.219380974@linuxfoundation.org> References: <20180521210447.219380974@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
--- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c @@ -528,6 +528,7 @@ void set_personality_64bit(void) clear_thread_flag(TIF_X32); /* Pretend that this comes from a 64bit execve */ task_pt_regs(current)->orig_ax = __NR_execve; + current_thread_info()->status &= ~TS_COMPAT; /* Ensure the corresponding mm is not marked. */ if (current->mm)