Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp262493pxx; Thu, 29 Oct 2020 01:53:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJxOnPyuVyVUynrNwTNGmCG8jC6KmtjKGvGDNDD/QKztXr9wZQkLBS04Ym+1gnPC0bnwwK X-Received: by 2002:a17:906:2581:: with SMTP id m1mr470842ejb.28.1603961587499; Thu, 29 Oct 2020 01:53:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603961587; cv=none; d=google.com; s=arc-20160816; b=WPfWri1URXG2VUx3iETFJcv4V+OGzY7uS6jlca6hKrSXExpX93FlHme44Gj9OFkCVv 3b0IcCqFpNnVHNHYjAWe936PkKN92WaY4VSznS+y+nIyKLkJlqr9u0+2q9Gb1yuPxUwa sgdJG4ghYad55yQirCXAGhD8xjrhCLNCbqp+okOQX5T+aEncTDoKZZ9SWdL3k8tx+hr1 4PHi1ddHaMD6gDWkADVSkXdMEfSquJsTL7fiTcZpObRjr4/SuoNYzCMMQ7wzcnsXqwf7 znyXJIZPxk5bdQ1KlKpu0G6Hvppjn+mm/viEQkBIERsocuyBUtq2GgSGQbJ6Mi7An5N8 csMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=rlPQI2rDMJinYBlTUpeJMfSdU19ZI22jpgwWImE4+Ek=; b=TGH8GH4XjpC/3kbQ/e8foTiLEJXDfhY9JQaCV1cnhugNqvanr+HNwPXX086ACp2QMa zdv+owqk8NsYCI1shKWIOBcdj1GyEHDtHb9Js3VwAX9SJCXrzCWFd50vUpaybAeZbTQi vmlF2EHUjkG3oNGl99psXYJqD2QRDN1KDKBEc22H+vUsUrmc8hYxDLP5RVVKzhBYdrQr 4+xu1AeNtBXl3ncTdC/h61v8CzIdBnEngHEkaCds6yan7buKjuHZr6aIH7DAa5fLVltS 0MLK+rRdZ7wmQdeh3OPaecP1Xb1HVPhD/EQjYRCwfEDczeKNO1Oj8HQBuW15poL7KMqo 74aA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g5si1410157ejb.287.2020.10.29.01.52.45; Thu, 29 Oct 2020 01:53:07 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729087AbgJ2CDJ (ORCPT + 99 others); Wed, 28 Oct 2020 22:03:09 -0400 Received: from namei.org ([65.99.196.166]:38520 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726028AbgJ1Vsp (ORCPT ); Wed, 28 Oct 2020 17:48:45 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id 09S5USYt026992; Wed, 28 Oct 2020 05:30:28 GMT Date: Wed, 28 Oct 2020 16:30:28 +1100 (AEDT) From: James Morris To: =?ISO-8859-15?Q?Micka=EBl_Sala=FCn?= cc: "Serge E . Hallyn" , Al Viro , Andy Lutomirski , Anton Ivanov , Arnd Bergmann , Casey Schaufler , Jann Horn , Jeff Dike , Jonathan Corbet , Kees Cook , Michael Kerrisk , Richard Weinberger , 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-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-security-module@vger.kernel.org, x86@kernel.org, =?ISO-8859-15?Q?Micka=EBl_Sala=FCn?= Subject: Re: [PATCH v22 06/12] fs,security: Add sb_delete hook In-Reply-To: <20201027200358.557003-7-mic@digikod.net> Message-ID: References: <20201027200358.557003-1-mic@digikod.net> <20201027200358.557003-7-mic@digikod.net> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1665246916-1320537407-1603863028=:25689" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1665246916-1320537407-1603863028=:25689 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Tue, 27 Oct 2020, Mickaël Salaün wrote: > From: Mickaël Salaün > > The sb_delete security hook is called when shutting down a superblock, > which may be useful to release kernel objects tied to the superblock's > lifetime (e.g. inodes). > > This new hook is needed by Landlock to release (ephemerally) tagged > struct inodes. This comes from the unprivileged nature of Landlock > described in the next commit. > > Cc: Al Viro > Cc: James Morris > Cc: Jann Horn > Cc: Kees Cook > Cc: Serge E. Hallyn > Signed-off-by: Mickaël Salaün Al, Kees, JJ et al, any objections? -- James Morris --1665246916-1320537407-1603863028=:25689--