Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1700431yba; Thu, 25 Apr 2019 04:23:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzCP7wVqj3XWW+qI9yxNI4PKyVYi2sFnzNvBH/1rj/6JoIsNFm+E7qgqkb49r2dNjWwQ/4r X-Received: by 2002:a17:902:8d89:: with SMTP id v9mr39516844plo.230.1556191416206; Thu, 25 Apr 2019 04:23:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556191416; cv=none; d=google.com; s=arc-20160816; b=ewTdEOnai9RJ2PEwAAy2/OzV1Fz6IgFNSe+yVVkHe8oOZL63mGpfa9IrVdIVNToZOX nKQ3XUwe+WwfCBCWdNGoyVaqiGuaSm05CMrrJKJH9eSf8neMlRqs9FahgiXzIlLkjr+A vjFlaBUByZM4sSWS3zxAIE5NCe3oJn9ytdvxvj0qBIq70Zk7A9ZPyubRQEytPn42sLwS WgK5w8JnUT8up4hZPxd/SiacXNZlMkLKFbBwPeS9IoEaasVRmZ6crBtBUAQZiG7BkLEt mFIKcAk32n8LZrqdotHTNc8xFmTZ+nTmcPxEyhiSI4MfrsjiSG2Z3Cg6Z6O7i2a+bFkD t8YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=XGnnbGnoa1Ix9iDFS5f9uTubbVrTmmHzn9+oJ3ixh0c=; b=pTDOdgoz6w+vcQ3SquVEuxBHdDRgO/M5ervLeSi5QDRVBns/RXURZxV3vHeegVLiGC UX3rWHXV2WpZwnxxaep7GLL0wksjqEbL0xroh5KN2WY06sG0D2PBm/K7nDO/CmASYLOW 7V5ehgYtEnKjrEmGvCvZEsz88YhnL9E5mF2dcc9rhF6w9SxsTbisT20cqa92DPF6A58p H7Y0kMdDByR32HIoI38yhESgtzt5lM9urGh4qJiX6v9kKV5WXz5GzPEDQ5r7WnutTUCB GpaZbzuHOVRUK9Whf/lX8MB2OPKJfO28n6j9V67PCIfrwZTe1u2+eLO43DQ9s7TsFpcq 2HbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=oVkon3wy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id v23si10728047pga.500.2019.04.25.04.23.20; Thu, 25 Apr 2019 04:23:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=oVkon3wy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1732009AbfDXUrC (ORCPT + 99 others); Wed, 24 Apr 2019 16:47:02 -0400 Received: from mail-ua1-f66.google.com ([209.85.222.66]:42348 "EHLO mail-ua1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726823AbfDXUrB (ORCPT ); Wed, 24 Apr 2019 16:47:01 -0400 Received: by mail-ua1-f66.google.com with SMTP id h4so6501785uaj.9 for ; Wed, 24 Apr 2019 13:47:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XGnnbGnoa1Ix9iDFS5f9uTubbVrTmmHzn9+oJ3ixh0c=; b=oVkon3wy+COciLYDZ4nDPAO2zQt5Oms9wubxc1BY5yKNnUX2itOfL6QmKXd1M5S2Xr ijcKmWCpwAodDcke4IUkB9T8iocXZX5fAG5ezjB51JJN6PnkxG1Wp2crzGt4gvghlMGW lUIXU7kX9iyPYXfyzisUjvTuJJ1GAHn4/lcbU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XGnnbGnoa1Ix9iDFS5f9uTubbVrTmmHzn9+oJ3ixh0c=; b=oGxIqSiE3+m+Phj7MerbqaNHs85NxeCNsRIVmKDmqnavA85wH+qfxi54h41NXH/zNa FX13ochwsAcHB+V7W8xtAiQy+bg9FoXs1FaW5+lgFXTx9VIjmazsEevjVAx1FnvtyNRW FYnW8wt5Cz6nuXX1arEE7BKaOqL9K0ixh96/02BJPF/MTfaoBHummsTQk8tb+Dld8u7c qHlevk4CIK3rpAkuyrvl7EivRxwnvcy9UD1KUnqtv71YCOZKXII0trO1nJ2R2oQhtQbY 5+SCKwhxy5NM4nWT7bDGrLM4B1b8n0nCiTeTKUGKfxHWoK3+ZcSP6cSUtPqmoWj31hbX UZdg== X-Gm-Message-State: APjAAAWT1S4SsfwQEdJSsU/716jDxMjSQ+d2A/2wX7KnLmPTpiJcuzAR Tl8EPDk7LMcLKCu64wX6XN2JiADthho= X-Received: by 2002:ab0:7008:: with SMTP id k8mr17883077ual.40.1556138818714; Wed, 24 Apr 2019 13:46:58 -0700 (PDT) Received: from mail-vk1-f172.google.com (mail-vk1-f172.google.com. [209.85.221.172]) by smtp.gmail.com with ESMTPSA id z192sm10569699vkd.45.2019.04.24.13.46.57 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Wed, 24 Apr 2019 13:46:57 -0700 (PDT) Received: by mail-vk1-f172.google.com with SMTP id x84so4357959vkd.1 for ; Wed, 24 Apr 2019 13:46:57 -0700 (PDT) X-Received: by 2002:a1f:a4d:: with SMTP id 74mr18565549vkk.13.1556138816641; Wed, 24 Apr 2019 13:46:56 -0700 (PDT) MIME-Version: 1.0 References: <20190423194925.32151-1-keescook@chromium.org> In-Reply-To: From: Kees Cook Date: Wed, 24 Apr 2019 13:46:45 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 0/3] Refactor memory initialization hardening To: Masahiro Yamada Cc: Alexander Potapenko , James Morris , Alexander Popov , Nick Desaulniers , Kostya Serebryany , Dmitry Vyukov , Sandeep Patil , Laura Abbott , Randy Dunlap , Michal Marek , Emese Revfy , "Serge E. Hallyn" , Kernel Hardening , linux-security-module , Linux Kbuild mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 23, 2019 at 9:07 PM Masahiro Yamada wrote: > > On Wed, Apr 24, 2019 at 4:49 AM Kees Cook wrote: > > > > This refactors the stack memory initialization configs in order to > > keep things together when adding Clang stack initialization, and in > > preparation for future heap memory initialization configs. > > > > I intend to carry this in the gcc-plugins tree, but I'd really like > > to get Acks from Masahiro (Kconfig changes, Makefile change), and > > from James (adding the new Kconfig.hardening to security/Kconfig). > > If needed, > Acked-by: Masahiro Yamada Great; thanks! :) -- Kees Cook