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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89931EB64D9 for ; Thu, 6 Jul 2023 14:37:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233183AbjGFOho (ORCPT ); Thu, 6 Jul 2023 10:37:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231482AbjGFOhm (ORCPT ); Thu, 6 Jul 2023 10:37:42 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD27010F5; Thu, 6 Jul 2023 07:37:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=baht0WSMZ6QbZM7pntmZjkkjFnLfU481ZUm81KibBA4=; b=X0+ZV0gap58VSs2uIfMFpkbEJf x6AtYUJWe4uER2c03zE0niPknfxHoSLbdWmPzjJx+EoXBduZ+/GnPN0+4IxD+D2xME6glwrK6iWou Ylj5KzcGYagn1hvcb7+E1hKb9IHJFIPqjRv92s5TMRoN5+ZNr1nxw2rLJbO3i7aKUmolj2RoGdy+U V9VcpZbTdLaN8qLwRtFjBbIuUop/Kf/7jWpPZE4p0AZQKj9Li+PkEfkmhc7qVvEj/1e8XZ+D19KdN zy/ozN7aaZEYB9U5bK/N03hXRcuLmF5F5hiA0yCSJteaHM/A7vadQyCfFlf4iE57iwSpFzkdgMVUV kHYihmeQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qHQ6y-001t1W-02; Thu, 06 Jul 2023 14:37:36 +0000 Date: Thu, 6 Jul 2023 07:37:35 -0700 From: Christoph Hellwig To: Christian Brauner Cc: Hou Tao , Alexey Gladkov , bpf@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Viro , Alexei Starovoitov Subject: Re: [PATCH v1] fs: Add kfuncs to handle idmapped mounts Message-ID: References: <20230704-anrollen-beenden-9187c7b1b570@brauner> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230704-anrollen-beenden-9187c7b1b570@brauner> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Tue, Jul 04, 2023 at 03:01:21PM +0200, Christian Brauner wrote: > That's too much stability for my taste for these helpers. The helpers > here exposed have been modified multiple times and once we wean off > idmapped mounts from user namespaces completely they will change again. > So I'm fine if they're traceable but not as kfuncs with any - even > minimal - stability guarantees. I fully agree. I also don't think any eBPF program has any business looking at idmapping.