Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp458733rdb; Thu, 22 Feb 2024 08:51:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUr3uNIepnZ74/bpWaFvg/CQNOlylTylOZx5hr2mCZVxAGpJKKFKap2Hv/ytVyd0iJNaCzVm9hv7cKmdNddDGSpaiWgr0rejQ8yLLwfiQ== X-Google-Smtp-Source: AGHT+IF75QPXIVfEnD1mbX4irpNsnLeoFKH0Cf7/Ik8bZXR/lqQ6lxvoKfdlyU6Qnfrhcyd4XEHh X-Received: by 2002:a17:90a:f28e:b0:299:4a63:9e50 with SMTP id fs14-20020a17090af28e00b002994a639e50mr14264625pjb.14.1708620679289; Thu, 22 Feb 2024 08:51:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708620679; cv=pass; d=google.com; s=arc-20160816; b=f8q3n0+vmx+vUgx6gLW68Dai03Tq2Lf6PM56b1mk8EDbyKK+BRk/0zLRrSx6ScPRwT urUDtLSn0EkoVImUGtoyazjaI6W/QeWH1kg9/wf6IeBxxSHZ/f0D3Yqja0sMSYDZerZQ i7PaTjldOfjAnV6nXCJIzTuHzuIDXP2qd0KLHPceYNkPB/vIVZGuOaV7n9I/86oK678W G7xV+TiCSYHpZ7TQUvzvEoknMsSau4uxXoQHNqiY2hYusyyz9fCkDdFrob5lL8oJDsAV 4Pemv1krL8Md3lw7C6G/0Cum0VfE0987fDqzYpK9vsbHXmtyBWyx2MHHmE8N8GMgwi6s 3bcg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/N54fL35ZdVbtebauo84ov69w0sjILFhff+gvM1V4NQ=; fh=biYyjGNYlDBVdXso5Gb4P2wdDwErPWKCqEz3aryGDbQ=; b=HYxDfjk2Q7ksQs6e/CAkIY2yerbN/oq1BJmfEUN4JbKBPNReMe9PLnqORuPIqKtWWz PpTBNAyUnQLcX4L1mBu019kGFxg/UCnWNHj2PNaIcGqexQFH9zViU39YO1XmKsrOlf19 bCrSit6UM9/ipcEcD6MtGDJyAEoW+bL4wI7/C4D2x82bAMKUXP6nFnxkZzTBxRFwPzZl RkIKOrbiNz1dt+G5wi63aOnYaAmah51UurqGPwxKqEF3qdn8YJqVZZP8jCLiMmxW6xkx kk6GubTPP7sBccDhEiASjINuQlnY72JgHvEUsRrWlCqYgsT9lX996x7ftrBzmUzg90F8 jMtw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LSSOSWpv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-76878-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76878-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id il8-20020a17090b164800b00297f281691asi10968886pjb.98.2024.02.22.08.51.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 08:51:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76878-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LSSOSWpv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-76878-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76878-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 7EA51B268CA for ; Thu, 22 Feb 2024 16:28:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EBD5815350A; Thu, 22 Feb 2024 16:28:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LSSOSWpv" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 07D23130E32; Thu, 22 Feb 2024 16:28:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708619312; cv=none; b=R5LZAY6ByT1/2lycbu7JQJj/u/QtvfDmBsey8xtQ5E/6skjHQdychmhZN0h4cHz+8rVR70t7kLC0hFptOQuh3gsXt5eGZjq4cek6LAE1ai0oARchok+kRwE67h4fdDYTrzKsDDEBZzQ0D+J7vUFesTO3hruTv4oLEaAN5lvi8I4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708619312; c=relaxed/simple; bh=/N54fL35ZdVbtebauo84ov69w0sjILFhff+gvM1V4NQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UmEvtRKf/RjR1Gmp5csvavt0vx7rs1oVBpn7P+fSq2boaWeRGFTc3b5r2I7yfKnsJZw0gH5PaAzN6HxcZzuhvrdudRH3MxaLsO8aHHuph7yFCqtzavUWE6AuKXYwWbvmqJbaIPwOu5tDx+pQksMG4r0n9C/kmptCrR8umZUPC1c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LSSOSWpv; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6AF65C433C7; Thu, 22 Feb 2024 16:28:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708619311; bh=/N54fL35ZdVbtebauo84ov69w0sjILFhff+gvM1V4NQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LSSOSWpvtYIZUdKHdK5v726xYpd5If9zSDsal9KwYkamz32CsMORMaSaXI/72Bpg5 22nEvBfXATGQPWXLadPhkOf6zHZgnVGaZQiW8KPJ2qugrI6tPe102a1KHsvoG+SHft nbLUkVuCRBv651s92Fc5UZWHtM9ev5xHVp4EIMgBMRAfCAqQ7ndd9W/ra89WBBWaYN loO2sTQELS5Qlk8MfRrVk3XeU2P4r+0CghckSCRoK7L+inB85apxFx7No8AVC6vshv 4x3f+HqI2OZp/pbxliU0m95ZleWOQ41TUq605vpcdWwnIf74RMBZDIrfIjJo31Xdq/ SrNw0kNrsqdUg== Date: Thu, 22 Feb 2024 10:28:30 -0600 From: "Seth Forshee (DigitalOcean)" To: Christian Brauner Cc: Serge Hallyn , Paul Moore , Eric Paris , James Morris , Alexander Viro , Jan Kara , Stephen Smalley , Ondrej Mosnacek , Casey Schaufler , Mimi Zohar , Roberto Sassu , Dmitry Kasatkin , Eric Snowberg , "Matthew Wilcox (Oracle)" , Jonathan Corbet , Miklos Szeredi , Amir Goldstein , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-security-module@vger.kernel.org, audit@vger.kernel.org, selinux@vger.kernel.org, linux-integrity@vger.kernel.org, linux-doc@vger.kernel.org, linux-unionfs@vger.kernel.org Subject: Re: [PATCH v2 00/25] fs: use type-safe uid representation for filesystem capabilities Message-ID: References: <20240221-idmap-fscap-refactor-v2-0-3039364623bd@kernel.org> <20240222-fluchen-viren-50e216b653fb@brauner> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240222-fluchen-viren-50e216b653fb@brauner> On Thu, Feb 22, 2024 at 04:27:50PM +0100, Christian Brauner wrote: > I still think that the generic_{get,set,remove}_fscaps() helpers falling > back to plain *vfs_*xattr() calls is a hackish. So ideally I'd like to > see this killed in a follow-up series and make all fses that support > them use the inode operation. Right, you brought this up last time, and I probably should have mentioned it in the cover letter. I haven't seriously looked at doing this yet, in large part because I got interrupted from working on this and felt like v2 patches were long overdue (and you said you were fine with doing it as a follow-up series anyway). But I will have a look to see if it makes sense to change that in the next version of this series.