Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1579831pxa; Thu, 13 Aug 2020 11:40:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3J69gaLc3krEeJuYugUGUlZKSh3NPvFfZ8kz6+Uv8CT25ktQk215s291YddeinyjpxU0V X-Received: by 2002:aa7:c88f:: with SMTP id p15mr6077358eds.33.1597344034057; Thu, 13 Aug 2020 11:40:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597344034; cv=none; d=google.com; s=arc-20160816; b=0lxrhHlS1KcHwN0QlhzpLcXQWmh/NoLHC6FIR6w3TIO1QXw/jXpSDH916QUCez5G3C dK5l215YeO0leGAr+QnFBXgVYFjr1onnuXsFiW7zu2lmYkx50bUA1MDTvxPrP4feqwxM jm5zl8evqmQAPsy+fMC+28BXjdiHQWX+DlnIS6tUeLDci2g25F0aFohnbmzjt3HMMcMD 4qhKq2nrdCnFKuN9poXckjlUqeKeddRqH/t+f/aihlyg5lW3+/Q1pJfp0ZMK36Gn/gg+ bR9xdXb8uT+h+ffDky+KCBZn4dnq5fwW7CprNLSVbiMQbQlioK8TkuFJf0HL/S6RDgGf Xdbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Y7lNN8r9lQHJr7MGliJHH6oai9G3/LoeZrHO1ezSymg=; b=E5cvl0FSAuFSAiQv78qxiGD6aAUL3uJiQ5blO+kXrDfrA3ay7TPPfWhqX60Xo97JSB X5DLI0G/5FOsQ0t1IdNUw2fYUMkvP7VbFwDDXLmte/OKbVWD894w5b1mIHSMDybHecAw RmxjbazkBd5+WLdzv4WPsbnj2s7PogkksyFGPcL1ULtXiOQg3nrmDf+QX/TnJhujKaN5 kKnbAGwD9W2XFoaBuTMs4N1Q+EcOyghjurfeL0qDXjljip4h5sqpvcJ+zdk1f29csiLs my+ax40QRvo0hS2ZMjcnkp24oCuSwkaH/1CHNRM7w1t31o+5eT4VoiF6DtHZHP4CJJJS OFMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hZRKobHr; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h16si3745523edw.5.2020.08.13.11.40.10; Thu, 13 Aug 2020 11:40:34 -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=@gmail.com header.s=20161025 header.b=hZRKobHr; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726622AbgHMSjZ (ORCPT + 99 others); Thu, 13 Aug 2020 14:39:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726167AbgHMSjX (ORCPT ); Thu, 13 Aug 2020 14:39:23 -0400 Received: from mail-ot1-x344.google.com (mail-ot1-x344.google.com [IPv6:2607:f8b0:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABDF5C061757; Thu, 13 Aug 2020 11:39:23 -0700 (PDT) Received: by mail-ot1-x344.google.com with SMTP id k12so5646114otr.1; Thu, 13 Aug 2020 11:39:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Y7lNN8r9lQHJr7MGliJHH6oai9G3/LoeZrHO1ezSymg=; b=hZRKobHrmcwd7ZBaJZr1UhFE9EkEawa4jcXjhvjc7A0JwqsL2rpjf/L2SIHFKiStNe soofYzcuF4lbxAffpF62tDVqI6gyYJ9/0dqVuP2p7hHzu1f0m160hVIWhzVrFQDGnPGA qgizYVuYrqGjKEBqH2Q3s65w4PlO6j52SlGLMZajVogKJwB30YP3dvngY4Gy/1MwL31a GDBac+LreOXZsEeDAnjUis2LdW5yrixuTiK8/6lkZ8uTgg5/JfoiAm0Cx4HcAb7AbIG9 zlTtycrarSA3+uJtnGv3xkTJqZ/SES7upawwm/Jcj2Rqwbr4NcmYDVBn8WKQtr7Ka2b6 Tvjw== 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:content-transfer-encoding; bh=Y7lNN8r9lQHJr7MGliJHH6oai9G3/LoeZrHO1ezSymg=; b=uDCEVHg7hO3fvln7wjUzgzYofzVbFn3MdE3RJbTHdMVMizZdyhITg3vHWKHHRqIpV0 gpvTNkBjhxs6HTGrfwepySZLMsBesdSH24bQYfw8V54auncthqR0c8W0nfkOEhWq30tD hr2mAUODg+JW3PGMADcnIgoyM9XLR6lXd6SddXKdJt7JCiN5GPt0aV51qL/FbHzv3OgX p87+4yNNjFLNJr9YyiV/aGUymEtxM8nlWqaT1+Ym309ImjJM2Cd5zb3ULTTaK8mzrFeI xAooL73jwnzFJZp3stGWDhKF6jdnjk8MZaYwBOy4Z/40pzXsjSATMg+v9RYO4bX/LKoV nKsQ== X-Gm-Message-State: AOAM531dO0W+CnLp0FxcRQTQ2b76SjtoMgKsU0Py6Eilbxwm65TKX9Ij hLhXpl5MrCoQpXfCEJJIW0g2pF6g1kQ6571HzRA= X-Received: by 2002:a05:6830:16d8:: with SMTP id l24mr5273440otr.89.1597343963111; Thu, 13 Aug 2020 11:39:23 -0700 (PDT) MIME-Version: 1.0 References: <20200802215903.91936-1-mic@digikod.net> <20200802215903.91936-6-mic@digikod.net> <779c290b-45f5-b86c-c573-2edb4004105d@tycho.nsa.gov> <03f522c0-414c-434b-a0d1-57c3b17fa67f@digikod.net> In-Reply-To: <03f522c0-414c-434b-a0d1-57c3b17fa67f@digikod.net> From: Stephen Smalley Date: Thu, 13 Aug 2020 14:39:12 -0400 Message-ID: Subject: Re: [PATCH v20 05/12] LSM: Infrastructure management of the superblock To: =?UTF-8?B?TWlja2HDq2wgU2FsYcO8bg==?= Cc: Stephen Smalley , Casey Schaufler , Kees Cook , John Johansen , linux-kernel , Al Viro , Andy Lutomirski , Anton Ivanov , Arnd Bergmann , James Morris , Jann Horn , Jeff Dike , Jonathan Corbet , Michael Kerrisk , Richard Weinberger , "Serge E . Hallyn" , Shuah Khan , Vincent Dagonneau , kernel-hardening@lists.openwall.com, linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, Linux FS Devel , linux-kselftest@vger.kernel.org, LSM List , x86@kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 13, 2020 at 10:17 AM Micka=C3=ABl Sala=C3=BCn = wrote: > > > On 12/08/2020 21:16, Stephen Smalley wrote: > > On 8/2/20 5:58 PM, Micka=C3=ABl Sala=C3=BCn wrote: > >> From: Casey Schaufler > >> > >> Move management of the superblock->sb_security blob out > >> of the individual security modules and into the security > >> infrastructure. Instead of allocating the blobs from within > >> the modules the modules tell the infrastructure how much > >> space is required, and the space is allocated there. > >> > >> Signed-off-by: Casey Schaufler > >> Reviewed-by: Kees Cook > >> Reviewed-by: John Johansen > >> Reviewed-by: Stephen Smalley > >> Reviewed-by: Micka=C3=ABl Sala=C3=BCn > >> Link: > >> https://lore.kernel.org/r/20190829232935.7099-2-casey@schaufler-ca.com > >> --- > >> > >> Changes since v17: > >> * Rebase the original LSM stacking patch from v5.3 to v5.7: I fixed so= me > >> diff conflicts caused by code moves and function renames in > >> selinux/include/objsec.h and selinux/hooks.c . I checked that it > >> builds but I didn't test the changes for SELinux nor SMACK. > > > > You shouldn't retain Signed-off-by and Reviewed-by lines from an earlie= r > > patch if you made non-trivial changes to it (even more so if you didn't > > test them). > > I think I made trivial changes according to the original patch. But > without reply from other people with Signed-off-by or Reviewed-by > (Casey, Kees, John), I'll remove them. I guess you don't want your > Reviewed-by to be kept, so I'll remove it, except if you want to review > this patch (or the modified part). At the very least your Reviewed-by line is wrong - yours should be Signed-off-by because the patch went through you and you modified it. I'll try to take a look as time permits but FYI you should this address (already updated in MAINTAINERS) going forward.