Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1990882lqa; Tue, 30 Apr 2024 05:40:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX2RxaNvK/NnBLayqCqNidWBKbrNC3teHAfeamicPloqFgJwhHJBBS9NAxQqJ9d5q/rBPuxTUy5fhKPz3qNgaGXIl6HjuxPITbnxCWfkg== X-Google-Smtp-Source: AGHT+IFgYCIXo8uCVVbB3hWmt3E8mjOGx6o1WM8RKfLdvCHlkU6T7Wmv2Lp0ryhB/nwIDITQhHPq X-Received: by 2002:a05:6a21:3483:b0:1aa:674a:94e0 with SMTP id yo3-20020a056a21348300b001aa674a94e0mr2282526pzb.43.1714480846779; Tue, 30 Apr 2024 05:40:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714480846; cv=pass; d=google.com; s=arc-20160816; b=wj1D14Vaz8XLeL7iE8hONa7+VNvl+PMZDQlHIoY7eXFd/hRtXIqXwpNg0hn1ZAVYQc ze0+CngHR4ZF9U/aFtweJJmDsxUr1oBk4jN46XgnaklvLRLDUkm+INoWSC48aolYRZ3w MRegbBBRpPM/AhfwTABioQoMXMZndL6Suipmv6k1F++FAJYTIGzxGoYIpmK+/B0uLk/Z a2G98VNF2YbX6vPZRU8jrAb0hO4wGY3k7xFDQnr2MNoIkFJWLEbz7uwhryV2EsFc827a X0ZYMPj2kFqLUvmi2evHqnZgm0X63rB4xNEcGcxPStU29x5iF3M86VXdu1oovRCvrh2z n/Jw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=AbhM0BGFFvyX1sl9BUysu0te1MNPcQ4a253Mg2C8YIU=; fh=VQJRTr/LsCU0W0RXS2lxT83qjSM14mlOUs+tQ/UE1PU=; b=BPY2ZH9PD6snS8EEf9AJnCUpjaHy387ryoiC5l6mjaX+5f3jNrLnMPZj9pHLZvaz18 LTpkZomcNsRuOinJsQwAkmEcDL4aIBA6dd5L8ZAFcQhaYB1NWaht/7S3YEli7i3fZM6b NuRzy+LOg1Rfzcr2vNjb8T4MJsazLthTUk48ZwXopvEa4y9BNxyLzRyVt0LT5V9BY6Qk XvNfwlJEmKljjKuuQlVrdv85SGqPRaV6sEB+mgtLVoC8jUE+2k68RWZ5zHy53AFhkQZ4 uBopOPzjkq1jenxg7qR+HBtbToDUv1wPRQf71D2ljCanML7ckQGexoBQst7ihhd8AZVo elJA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZFPOBSoY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-163924-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163924-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id qc5-20020a17090b288500b002adefef518esi16312234pjb.163.2024.04.30.05.40.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 05:40:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163924-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZFPOBSoY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-163924-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163924-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 304BE284860 for ; Tue, 30 Apr 2024 12:40:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4CF0171646; Tue, 30 Apr 2024 12:40:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZFPOBSoY" 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 13D4F13F43D; Tue, 30 Apr 2024 12:40:35 +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=1714480836; cv=none; b=kDjq1IQ++tJIhaEpOslMYWYLLhMTXYWYfwjfnYt115NufxMQpLgQ9At1JVQ/JWU69zcw01CpjpdD2dv+ZJoGWOPlBB68f5tr2pSBJ0R0SOw/wunsrWczKHw/4YTUabjX/z02qHT8Dh95ahtECGHdIV0jqT0Bq9O5ojgguhV7Lwc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714480836; c=relaxed/simple; bh=L1Aic3xKzmIUnbMtx7dn18xXuu7pZty9NcrqDKTeuSY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=OKWd8ssXUeHCKWJblb1Ji+myyXaGb2PNhm5hBeuynOW4E60IkE4J74JnTdZSMcuhbA1AAB4/GtqLjmBd+K5QxyeBgfwGKW0IPZVtatOGsIhRLFk4S++7e4V4nS2g2W0sEWp4B4y97ys5aXi+h/9JevxAuzh/S3nFgZLSd0cPIJQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZFPOBSoY; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 31BEFC2BBFC; Tue, 30 Apr 2024 12:40:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714480835; bh=L1Aic3xKzmIUnbMtx7dn18xXuu7pZty9NcrqDKTeuSY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZFPOBSoYBWDlnA1pUzMNku5YhKYgJIyeFt+nCXrgIDzAbVv6chpGNDPF2tp25cwSt bOgUAhhMoZlvRJEgG9hu86gODCfiDkPOj9YQpIJ/kA/NLknUP7pKeJw8DgYQFEeL21 r4edywvo2zCazHNSN+o/2YibPIBxeacaHPl5VKu6Nk8Vn7Oz/SracQ9Q4VqUSsA3ca dGEMBNGZ3/H9dJ7lUFFn6VaYOC9btjdPKDqc5t8YioS1Jj/11mSgYl1eqZ3wNAB3OA j3yMoy211eF0DNz6lld3xsQT4gZ+mbOOJW9I76K0V/y3/wktoX+j2qElTEOaPOOn3j gGRw3ouNI+Vng== From: Christian Brauner To: cgzones@googlemail.com, cgoettsche@seltendoof.de Cc: Christian Brauner , Alexander Viro , Jan Kara , Jens Axboe , Pavel Begunkov , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, io-uring@vger.kernel.org Subject: Re: [PATCH v3 1/2] fs: rename struct xattr_ctx to kernel_xattr_ctx Date: Tue, 30 Apr 2024 14:40:15 +0200 Message-ID: <20240430-machbar-jogginganzug-7fd3cff2c3ed@brauner> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240426162042.191916-2-cgoettsche@seltendoof.de> References: <20240426162042.191916-1-cgoettsche@seltendoof.de> <20240426162042.191916-2-cgoettsche@seltendoof.de> 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="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=1792; i=brauner@kernel.org; h=from:subject:message-id; bh=L1Aic3xKzmIUnbMtx7dn18xXuu7pZty9NcrqDKTeuSY=; b=owGbwMvMwCU28Zj0gdSKO4sYT6slMaQZPNvp2Bi3a/usql//CnpXfvbykf/aFlH/fJNtQJZt1 AoHUz2mjlIWBjEuBlkxRRaHdpNwueU8FZuNMjVg5rAygQxh4OIUgIk4MDAy/FdaeEPxYKpuavrU /9sigo+8NnrBq22wZLL4tO7pdg+UtjEyXGvwW6Z/6keDpOsz0fh52/4klhgsb/H6cMnXN9vo/EJ hJgA= X-Developer-Key: i=brauner@kernel.org; a=openpgp; fpr=4880B8C9BD0E5106FC070F4F7B3C391EFEA93624 Content-Transfer-Encoding: 8bit On Fri, 26 Apr 2024 18:20:15 +0200, Christian Göttsche wrote: > Rename the struct xattr_ctx to increase distinction with the about to be > added user API struct xattr_args. > > No functional change. > > So I've picked that series up as this is still a useful addition. Obviously too late for this merge window. However, I stated multiple times that we're not going to add *xattrat() variants that allow to set or get xattrs with AT_EMPTY_PATH on O_PATH file descriptors. Not just because conceptually setting and getting xattrs should be treated akin to read/write wrt to O_PATH but also because it makes the concept of an O_PATH more and more meaningless if we can do ever more things we it. But it will also break assumptions of code that would be surprised if an O_PATH fd suddenly can be used to set and get xattr. So I'll fix it up so AT_EMPTY_PATH is handled to exclude O_PATH file descriptors. --- Applied to the vfs.xattr branch of the vfs/vfs.git tree. Patches in the vfs.xattr branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.xattr [1/2] fs: rename struct xattr_ctx to kernel_xattr_ctx https://git.kernel.org/vfs/vfs/c/836c8e8bb147 [2/2] fs/xattr: add *at family syscalls https://git.kernel.org/vfs/vfs/c/71491cbe0205