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=-6.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 E563AC2D0A7 for ; Fri, 4 Sep 2020 14:08:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A86DE206B7 for ; Fri, 4 Sep 2020 14:08:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="pb+ilJUJ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730567AbgIDOHm (ORCPT ); Fri, 4 Sep 2020 10:07:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730564AbgIDOG7 (ORCPT ); Fri, 4 Sep 2020 10:06:59 -0400 Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 398FAC061245; Fri, 4 Sep 2020 07:06:38 -0700 (PDT) Received: by mail-oi1-x242.google.com with SMTP id w16so6628745oia.2; Fri, 04 Sep 2020 07:06:38 -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=Wr4ik479hXJMABoUt+QySGUcxYVpD0giYre42tl6Lak=; b=pb+ilJUJRPhJ/T5Cca3PbrSqzWYKDzd+9lVwpvCtKeG4tVFR5fQw4XDiIQxMEernf8 cN/W80EeOycrznLPrK9RkdvnacufPub2oUdkxxGTpGcA1GBMVIWkw8BcapZhRF7M9hCX LrD+cFDk+B5RNXXHuTCwraVJ0QWLjLRxgn87VwM/dXlhI1esf59Ab11er8fAr6j7znQn 1V9KCjQAelo+dg9xaytKB3gQHCJarbecol+hxcLg9/Xw65DqUlhuFRQhvem9IilKf3KU QrlZV18mXNtahcZ9xGvB827p/mMnHDDm/dVEvJf//2styAsjRlmRlP03lJjgKsdCw9HM LR3w== 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=Wr4ik479hXJMABoUt+QySGUcxYVpD0giYre42tl6Lak=; b=YFHRXYJWMLh/4WzZyeLNHs3mmdzOgyik91fNNkBpqM3zEmRv3il4NDFA7mZ/STlxJV IeV4gRztZGpD87BTxLBVwgLwVusI9T+EicOa8swRiG2OxnXgJPIH2eDe5U+0M1cWkSrF IQ3DQzB4lts4gNRZ/Rw+JOxLvrqi/QabCX2ZxOVLwrNy8W3cWli6uTjlpaoL0uDRwg4v Fkv/lu2mJJVL78g17xCS9LK+OG3Y5ch9iQ9wjtWxntnGtuGUtuIOmbrn+Y/11EIhkpL1 zcMfp6UtrLhC/XuaL3yES9g0Wg+J7xJTWOCBDVbfh3zOnUTUAZBcO6+64qBHQupDXGd2 5X5g== X-Gm-Message-State: AOAM530raUbSwRRHlwxX1FcBx7yj2JLPjwWF/dw0kOOw7jJVIsb4S0+U lFOD24nFZqpfTacMsoHpv6100zi+/J1egJAlUuU= X-Google-Smtp-Source: ABdhPJziFDpId3xQV+kTiECfez29XequCwVUbV9zAOTxbsVuPohRo7dKhwXxjzjzByWc3HuEEQrlxZ5l47bnwwTL+yY= X-Received: by 2002:a54:4f9b:: with SMTP id g27mr5430650oiy.140.1599228397615; Fri, 04 Sep 2020 07:06:37 -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: From: Stephen Smalley Date: Fri, 4 Sep 2020 10:06:26 -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 ML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-arch-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org On Thu, Aug 13, 2020 at 2:39 PM Stephen Smalley wrote: > > 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.c= om > > >> --- > > >> > > >> Changes since v17: > > >> * Rebase the original LSM stacking patch from v5.3 to v5.7: I fixed = some > > >> 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 earl= ier > > > 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. I finally got around to reviewing your updated patch. You can drop the old line and add: Reviewed-by: Stephen Smalley