Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2778425pxb; Tue, 21 Sep 2021 07:29:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynDGpmqiYmt5ePSS1AYMMqk3aqSxPtO8Xhvs2B/s8DSHgPUTYas+Trf7uo2iudrWWmOX04 X-Received: by 2002:a5e:c110:: with SMTP id v16mr213756iol.43.1632234551482; Tue, 21 Sep 2021 07:29:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632234551; cv=none; d=google.com; s=arc-20160816; b=E/lVFYXd0zCEMKqM27bdUezTCis6Lr6EiKIFAJ+R2fd1+FeWLYT9r/TV+8EaOq0yiO mignCVMl81wFa/dr1TSewngCAAEqJ6HbFlmL2UJ5YrcRzZIzd2UO5sfUhDvE3Xs9S2Wh vbjMIynmuEDZ4zKJh5dkbjHUaowFxgpWKCv5jdO2IiA3uYM43CsQXCiRkzUNmzDWK3SP t6uRwPieb7e0tJMzBX4yebs/Z9+GGP2bbHgr1sw0UUlGmLa6vhn/wS5jVuEx4hjAyWM/ 603vRQ6LqG4RlvRJf450n6d9FVzhI3H7c5MCyJgoFAbUEaSvZY9WGjXiaUz42zV+Oj91 w9Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TjymtK4Uye3NIhYBiQcIsrxWTzAB+926rKoA7a0oIl4=; b=fXHA6bXLMjveCgZmJN5QJcKfkooI8jWy/IOTGEYBlcy4NDzUPR/Q8CZaJywngVpeeF pnrZppViKFhxDbg3NxyeWKiqynmKkGstCKqypPg3ncUfqTuVpWyyoa/UfX5kDjANkzPT E95kiEpWOk1Fdq7Y4YJglH2wz9Dmbxurbyh4aNPpoLCnKX5bEtqYxBTVYxuAKbz4vXpM mAupehKzT7uxuuuWzVtJf0j9DZHV6vuHYEv1p1j1q5TCnWv4mwLQsExWt0lSGMm0jPHt csB2CgumhHEFvXhEWdGWALr8Q9hYXGySrjC2s18SzPzMAfrCi07Efm/Zr10BWXYAXE0h I5Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="nJH/ZHUc"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z14si16243833ill.35.2021.09.21.07.28.52; Tue, 21 Sep 2021 07:29:11 -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=@infradead.org header.s=casper.20170209 header.b="nJH/ZHUc"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233532AbhIUO3Q (ORCPT + 99 others); Tue, 21 Sep 2021 10:29:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233059AbhIUO3M (ORCPT ); Tue, 21 Sep 2021 10:29:12 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC5DEC061574 for ; Tue, 21 Sep 2021 07:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=TjymtK4Uye3NIhYBiQcIsrxWTzAB+926rKoA7a0oIl4=; b=nJH/ZHUc056KnYDUhZ79RhbyLH 9b9XF3BRAv73fmIPFatTDQN/Y3+AaF2XHCtLDbKzj6FbO2ov3tvsT+OdPk3/yHS6WxO4wIzW+3rlj DxZLVOH5Z5yM1Wor9ga6Hnwqtdulifue2U8D0QDs8X1A8fgMq3MzNBsgiXLNff+E7sKQIH+YpzcWd xL1DQpyfeIyWByjCxv9UAdajFUR4xdK6tT8AK4LrI5qv8Av+XvAmKLSVK9idzgSfBdXOX8bgQrCVL a/y6Kqv8wUzoxdRJ3BpG7Ely0F1WICsadHA6fbxSwfNP0l4hgKyluHmIN2JFr29DA4t/7tO7ttxwx s11nPe6w==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mSgcQ-003s8S-WF; Tue, 21 Sep 2021 14:19:47 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id B137C3000A9; Tue, 21 Sep 2021 16:19:31 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 9EA762019DA07; Tue, 21 Sep 2021 16:19:31 +0200 (CEST) Date: Tue, 21 Sep 2021 16:19:31 +0200 From: Peter Zijlstra To: Kees Cook Cc: sxwjean@me.com, 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 , 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 Subject: Re: [PATCH 0/2] Use generic code for virtual address of randomization of x86 Message-ID: References: <20210921110252.2593542-1-sxwjean@me.com> <4EB3D825-264D-447A-8C55-FA0CE8BC31F6@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EB3D825-264D-447A-8C55-FA0CE8BC31F6@chromium.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 21, 2021 at 06:24:07AM -0700, 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. They were only sent to the list for some weird raisin. Operator error perhaps.