Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2764780pxb; Tue, 21 Sep 2021 07:12:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQwpZku0/2AkHFyxOVPjHoa5yXKu5RscMGMI/1CSHARgF9/e95U1e5ncl9X+G/wLOkxCGj X-Received: by 2002:a5d:8505:: with SMTP id q5mr137136ion.53.1632233566139; Tue, 21 Sep 2021 07:12:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632233566; cv=none; d=google.com; s=arc-20160816; b=NdwDaBBouhdcO1s6hUfdIsB3RYkskSmpaPkGTJy5tTAN0FqALyezrygmuUKwG2SE53 AWcqejgQ0a26AXqh5DYY4C/8LBBjNVzkvRJpmkjRystqoRSFF6xZTBw5UNY5TIs2jUDJ 381sjmujnTzpeCM186TUOS+iFZ7UspEwM2a76PjOXGFOoKexQWNgOO1Dg+j3oV50gisv lJG3LCEJ/BrZkDjuQYxXHNrbdJL4PB92z16WOpmgW6/TQqFHOUQsw7x1ryBTqwmrocCB qebV/Wfudp38sVWHLK6eUQCAue2OsMgV4R2vMtXSSspdUvs+pF27EUg/ax9ghKVj7m/0 Rd8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=SjcvMyiL+bTjpjyeXzGNGSMMrG9Q9hXIatEKEB7TpAU=; b=Tg7On+HqNOESNBllITn1rYZvyMM0kYQHKIMdUisWtmapNbllyluWfNyK3C5vw6k/7S +46iRMByAprKxrHrHp1Z81UIjWJbrW6QqQHFAqMuuiGw43/FOLxgQR++sjFAc33ajviB 7sPff4XbEwkuknsqZzZTsSEel6yHyxICO+MO4juoHKtC9uQryUGa9rR5UAX2K8RrcKxH I/R8JHM5a27TGFjI2jTM01cCSW9irbmUmST3TrHmhF4KldbQnMAskLNC+LRi/+o5Z54t wytrtibXIrlk0PnCpn9ajTS4bEYnIBcICpzHKdMfw2EH0vlf0l9gHle0CC5TClK+25B+ n6+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=NvX0hfW+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l13si9991871ilh.150.2021.09.21.07.12.30; Tue, 21 Sep 2021 07:12:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=NvX0hfW+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233455AbhIUOMo (ORCPT + 99 others); Tue, 21 Sep 2021 10:12:44 -0400 Received: from pv50p00im-ztbu10011701.me.com ([17.58.6.53]:46094 "EHLO pv50p00im-ztbu10011701.me.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231781AbhIUOMn (ORCPT ); Tue, 21 Sep 2021 10:12:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1632233475; bh=SjcvMyiL+bTjpjyeXzGNGSMMrG9Q9hXIatEKEB7TpAU=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To; b=NvX0hfW+Gn44qWq+Wo7coiLFtkJGdIVDUBdD+/Hu/890+VXzjG0QaEWV5t0NGixha 4VWVEOdcc8ybBTOl6cG5L1W5Mf5Mo27lNqQs6NXG351DzwEI9e6oJQpsVrvZUQjPaw W1e4G02R1p1GjGpMnfJ9PWXgZwPnCA517iujNJZDVN8blOgKQqKEP9OgLHCxwC3hK5 VQnVOeQwNmG4UpGUpvp0HGaZ7FRdlwa3KuzuuU838rmxb4u1RqR3Uw2id7kMr9icjA n0macdZriuICmIECZgMriwQuvhejnGoTKY32TcB6ZcG5blQi3zxZ17uSeeM4AQUS39 VgQUALCQiasAg== Received: from 192.168.1.7 (unknown [120.245.3.37]) by pv50p00im-ztbu10011701.me.com (Postfix) with ESMTPSA id 071E38A02FD; Tue, 21 Sep 2021 14:11:04 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: [PATCH 0/2] Use generic code for virtual address of randomization of x86 From: Xiongwei Song In-Reply-To: <4EB3D825-264D-447A-8C55-FA0CE8BC31F6@chromium.org> Date: Tue, 21 Sep 2021 22:11:01 +0800 Cc: x86@kernel.org, linux-mm@kvack.org, Xiongwei Song , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Andy Lutomirski , Gabriel Krisman Bertazi , "Chang S. Bae" , Al Viro , Arvind Sankar , Alexey Dobriyan , Oleg Nesterov , Balbir Singh , Jens Axboe , Lai Jiangshan , Dave Hansen , Peter Zijlstra , Andrew Morton , Arnd Bergmann , "David S. Miller" , Kim Phillips , Yazen Ghannam , Davidlohr Bueso , Stefan Metzmacher , Marco Elver , "Eric W. Biederman" , Christophe Leroy , linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: References: <20210921110252.2593542-1-sxwjean@me.com> <4EB3D825-264D-447A-8C55-FA0CE8BC31F6@chromium.org> To: Kees Cook X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-09-21_04:2021-09-20,2021-09-21 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=522 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2109210088 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Sep 21, 2021, at 9:24 PM, Kees Cook wrote: > > > > On September 21, 2021 4:02:50 AM PDT, sxwjean@me.com wrote: >> From: Xiongwei Song >> >> Hello, >> >> The two patches are to use generic code for randomization of virtual >> address of x86. Since the basic code logic of x86 is same as generic >> code, so no need to implement these functions on x86, please see the >> details in comments of patch 2. > > Hi! > > The other patches do not seem to have arrived; I only see 0/2. Sorry for that. Let me resend the patches. Regards, Xiongwei