Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3089753ybt; Mon, 22 Jun 2020 14:52:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6nij4yKmYaGqapAuvgwVZkLlAC/1xfkkjjLHLJkQN3Zjba5YJR50bH4LsTRPBJBf75ixn X-Received: by 2002:a17:906:3952:: with SMTP id g18mr18563309eje.68.1592862740022; Mon, 22 Jun 2020 14:52:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592862740; cv=none; d=google.com; s=arc-20160816; b=XcWmthed4OogR2hYMZwW1/2e36fk0ngPRmuEW155hhmlAzliq7qPKh47zY6q7R3q9X sO0Q5TEXyAKG2jWm4JOjVCi8miYnh31CbkeHYo7IxhEuDJ+uGhuiDrhUxTlRbPQMWLYR FE8/STmECkt4Z4XyCzuYpctauUPknif1YdPO+2QHCks+/TtXvZr1yR3bTq85ngA5eshz HLiRQk3C44kfVyRE3g1ELz2XBc5zYN2v2qcSszEz4kZrqJJtL4zG0eckPydU7CUuUNHh fMfTZZxCkTJ1eHL8sYVlJFygM1GLxDj9CNVaW0JS81ZGtPzSns7SYDJ278iGXutvxN2s +Zrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=HO9AnfyoV6P1ml9RmfpxKfaeSgxzWVOaT2Vq3vNBOcc=; b=BWqJjaVF9qLBygC8B1xw4qmLuiY/k5dbYlde9tqf4gu9nDZBNFeriBH6guAeEMnQu+ SAq53j/dmiAVDBR/5q/mmGQoZEn+sGFjME1fyZ/LCRIAM6YHCrxP9eQSTmeHH8MdGmGH 1KpxDoPtBmccvuTEdOFK1sifXiZ2EdRk1Qz4WdkULcc2yJ5GWrmyl0nnojG0S+enhNnS suRw1MStWPTaTmWImrzVEcqXk8AnwT+gwbCrwyxRlkfpdCMs1QBqbJkNYZxIWCINVyoz MYosz4xGZQrT4NJExTBnoWUpU2pfElFDv+Rj5hxu1EFnjSLwpZADvu+XtI9puZdHMpp3 nbZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lnWs0M9b; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cc13si1146170edb.297.2020.06.22.14.51.57; Mon, 22 Jun 2020 14:52:20 -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=@chromium.org header.s=google header.b=lnWs0M9b; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730697AbgFVVuN (ORCPT + 99 others); Mon, 22 Jun 2020 17:50:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730576AbgFVVuN (ORCPT ); Mon, 22 Jun 2020 17:50:13 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C720C061797 for ; Mon, 22 Jun 2020 14:50:11 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id j4so8168457plk.3 for ; Mon, 22 Jun 2020 14:50:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=HO9AnfyoV6P1ml9RmfpxKfaeSgxzWVOaT2Vq3vNBOcc=; b=lnWs0M9bdocVBBBLhw+yUPaupQsgnQNFCJK+pJiVmZ07vNw8nK3vhTqTM7fjRtPrmQ BeXp8Y3BLVYRrEviTgHIDqlkTfPgwxk6+SKhwBh0lYzJXifq+81hLQjHZHXlwvYE7D3Z 338rLHdodna0JLZ+58OXLxtuOD7htkoppjQHc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=HO9AnfyoV6P1ml9RmfpxKfaeSgxzWVOaT2Vq3vNBOcc=; b=PSVWZZ4mRAdmHwyZTAEfNG4bXnHiH2hbaK6XKSMNYAG80ldQhHOEh+ZJIlnjsdlu6f BXs0EoQ20X3jQScpAYVvnOuGzPMc5VWfCAcpuF7NvBQ+XC/GfCt0R1kjNMQduqUZYUMR 0pHJ3JLhKMI9RCtH3cLQOjS2QPBYrrj855rUQpUPSbL74pK+Z1ylLZZnFlBJYPLYt8gw twrasG/MP59ufqjf7b9LDryE9wRRmi5S22w2eiCifXyBOYvcpk38iNMzZeHOQuOV2BeS zD1DJCFsDLWnwihUhQL6sHo/YKOTz8jMF0lnaODOsSQIkZNQ8jSzaFdNhA8xYfZfT0xg +NDw== X-Gm-Message-State: AOAM530mcpKIRPuwMVmpKYdJ6mv49apVs48x0+mnfKlh2tINo8TiYL62 4Bx4iQrwAwmMZJ9ylapIatu3rw== X-Received: by 2002:a17:90a:a405:: with SMTP id y5mr20189871pjp.15.1592862611014; Mon, 22 Jun 2020 14:50:11 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id p14sm428618pjf.32.2020.06.22.14.50.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 14:50:09 -0700 (PDT) Date: Mon, 22 Jun 2020 14:50:08 -0700 From: Kees Cook To: Randy Dunlap Cc: akpm@linux-foundation.org, broonie@kernel.org, mhocko@suse.cz, sfr@canb.auug.org.au, linux-next@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org, "open list:KERNEL SELFTEST FRAMEWORK" Subject: Re: mmotm 2020-06-20-21-36 uploaded (lkdtm/bugs.c) Message-ID: <202006221445.36E03CCBE9@keescook> References: <20200621043737.pb6JV%akpm@linux-foundation.org> <20a39fd4-622d-693c-c8d6-1fbab12af62a@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20a39fd4-622d-693c-c8d6-1fbab12af62a@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 22, 2020 at 08:37:17AM -0700, Randy Dunlap wrote: > On 6/20/20 9:37 PM, akpm@linux-foundation.org wrote: > > The mm-of-the-moment snapshot 2020-06-20-21-36 has been uploaded to > > > > http://www.ozlabs.org/~akpm/mmotm/ > > > > mmotm-readme.txt says > > > > README for mm-of-the-moment: > > > > http://www.ozlabs.org/~akpm/mmotm/ > > > > This is a snapshot of my -mm patch queue. Uploaded at random hopefully > > more than once a week. > > drivers/misc/lkdtm/bugs.c has build errors when building UML for i386 > (allmodconfig or allyesconfig): > > > In file included from ../drivers/misc/lkdtm/bugs.c:17:0: > ../arch/x86/um/asm/desc.h:7:0: warning: "LDT_empty" redefined > #define LDT_empty(info) (\ > > In file included from ../arch/um/include/asm/mmu.h:10:0, > from ../include/linux/mm_types.h:18, > from ../include/linux/sched/signal.h:13, > from ../drivers/misc/lkdtm/bugs.c:11: > ../arch/x86/um/asm/mm_context.h:65:0: note: this is the location of the previous definition > #define LDT_empty(info) (_LDT_empty(info)) The LKDTM test landed a while ago: b09511c253e5 ("lkdtm: Add a DOUBLE_FAULT crash type on x86") and nothing has touched arch/x86/um/asm/desc.h nor arch/x86/um/asm/mm_context.h in a while either. Regardless, it seems arch/x86/um/asm/desc.h is not needed any more? -- Kees Cook