From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=3.0 tests=DATE_IN_PAST_12_24, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E8C0C04AB4 for ; Sun, 19 May 2019 18:53:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D01F520644 for ; Sun, 19 May 2019 18:53:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=intel-com.20150623.gappssmtp.com header.i=@intel-com.20150623.gappssmtp.com header.b="he4EegSm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727030AbfESSxG (ORCPT ); Sun, 19 May 2019 14:53:06 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:35603 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726436AbfESSxG (ORCPT ); Sun, 19 May 2019 14:53:06 -0400 Received: by mail-oi1-f194.google.com with SMTP id a132so8490651oib.2 for ; Sun, 19 May 2019 11:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gj9Btx/jtZWCRzYf1e68GHq9hnNL+Ogbx99PZIgoB74=; b=he4EegSmAY2zYl4r6S9HGzKLVkT8LcOlIiHygVYp7zaifYHKTOnLMI3o86dBf9LnbA hNpn27eEyN+qjhPr4EWsh41NZcuWKx0QV/Lm3hbJvmg4w/a4SM3A6yP64JFNN7ArzrWN LmBZN1YUxjOCOk3FCPXXbnD3ysP2yAjgaksZCoteXGH8VH61lmvwvYl8cSGa8tPvrlXr xPan3agZZxXKJmJ5Js9Nz6/gSEQCRSxaaZuflHI0xI3I3tFi+kBW1X+kpQ85pzisWSZk tKdYRCV0JX/Fq5SKy2oGR4hlkUeMEXHgWn14Ltr+Tbi08WwF6ZAeblRmiNNtO42MgwiT kfCw== 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=gj9Btx/jtZWCRzYf1e68GHq9hnNL+Ogbx99PZIgoB74=; b=FSqpVxjHJjs84hAAOuzLnyLeqahE1PPV9DkocKKisLdb1l568mgBcHjoJByfKo8ypQ pOi0u139MS3axnnEJ7sFRCqY3Yak6qWRRWsSHtDy0R/vo113sHvq9AjHSH7kY/nxSkoh l6HzXOoniXcpiCalgHHu4aQsppqwq/DweT94FMUYMjnC0SA2RxhVD9dwD5AtlUfNKTCx jNcQ5oVDEv/YMWaa2Fobk6ndSR2VJTPWLHAkFe+6uzuMs5fOvy1MK3wp+CG7nv8WqE1V Mr+DoEnBvbBoWmemP2oYTnVCQ4x3RXfLjE6mKSzjBSEogrqoM6xaM1yM+z3F2xJEDh90 J+EA== X-Gm-Message-State: APjAAAUavYBvjtxzkV/RQBtSjsCeGvg6tB6qq/T4KsfvsVqgrdN6xM64 un25Enwdp2f5d6sZERGHzujTaKGH2X5esHJArJBz9O7r X-Google-Smtp-Source: APXvYqzKuIF7DjE9geOB0iP+nbKCvx7yts/nthzaKm8X4SzrLuLauoovdM83byX6mPO6HfMrjjhanslT2cwm2r59jc8= X-Received: by 2002:aca:ab07:: with SMTP id u7mr2335808oie.73.1558241173924; Sat, 18 May 2019 21:46:13 -0700 (PDT) MIME-Version: 1.0 References: <155805321833.867447.3864104616303535270.stgit@dwillia2-desk3.amr.corp.intel.com> <20190517084739.GB20550@quack2.suse.cz> <201905170855.8E2E1AC616@keescook> <201905171225.29F9564BA2@keescook> In-Reply-To: <201905171225.29F9564BA2@keescook> From: Dan Williams Date: Sat, 18 May 2019 21:46:03 -0700 Message-ID: Subject: Re: [PATCH] libnvdimm/pmem: Bypass CONFIG_HARDENED_USERCOPY overhead To: Kees Cook Cc: Jan Kara , linux-nvdimm , stable , Jeff Moyer , Ingo Molnar , Christoph Hellwig , Al Viro , Thomas Gleixner , Matthew Wilcox , Jeff Smits , linux-fsdevel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Fri, May 17, 2019 at 12:25 PM Kees Cook wrote: > On Fri, May 17, 2019 at 10:28:48AM -0700, Dan Williams wrote: > > It seems dax_iomap_actor() is not a path where we'd be worried about > > needing hardened user copy checks. > > I would agree: I think the proposed patch makes sense. :) Sounds like an acked-by to me.