From nobody Sat Aug 31 02:03:38 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wwdbb0pjRz5TLZ5; Sat, 31 Aug 2024 02:03:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WwdbZ6z56z4G48; Sat, 31 Aug 2024 02:03:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725069819; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cfOm6DH1pVRwwJA7YoAvpyu2bEeKXxfuqkYZvzjmGoQ=; b=hplFi55V0xwMIgupLHmY/Bh1f2EMs1jdu6Pkx2QD7ux5tj5pF79B46yWHr+P7MusHbjdiF VqNLipRgweLPwOeAgX0XQ3YjbFq+6mR2zh2Y9ES16NiHpi4ZE8RpZpd0Nxi0ZYombE2QXX +4N0/imDmWtPp7NDBvpEoXfT7XxozOtRF85MnO4gHZITBbLGIWAnhrpcWQLKR/WykKDSls D/vIwosrMIj6MQBKZHl3BFaLGBoYSTcd3gZH9yJoJPraJIDMj7iwEPfIjojxbGB+/fZNga 0tzxpDo2K8262hNSb0mKObILmd8zaR4LBhV7tct2SM2kDSoxVaS4eRe0WSPn/Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725069819; a=rsa-sha256; cv=none; b=Q8YJWmOO2jA9W3OWLeHzO0WZCZrBIl7HSf0goZTyyHbiumSu0SuN+l2z+f4oNsGqfIxw2T NAcmTnljs0VvXI9AD03jg5qwsxGroN4IJDwhIqFcYWkfYearK6xukfnUGO/Jmy2/HV+pSv u+z2Om+omrYHTWJt6qLM/u+BsF2CLdrKL6LnQep85BxhX4GqQJGWzpq/U61RHvVvEmIrk9 GSojt0p2x/I6vzSW9EKC99H3fP44Vl0b6XuTTlfBPO/iCLwaJDVHmxn8vwpI3ToEsBJpI5 n2FxzPDMnguStpnlmpwH0jfHM+H+DNdOHqKj3YSsi0j8Jr1y5G7wooB4wyVVlA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725069819; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cfOm6DH1pVRwwJA7YoAvpyu2bEeKXxfuqkYZvzjmGoQ=; b=mWyjulFPkas1v8yxw7+YBre90hoEF3nFi8DUomkZkKxd+eGC580uIxuDBxFSzwFzlh8ljs B+b133NQLFMP6V3xBJikElsvMYnyI9UgXQ55vF/k+Y8XYEs9vVQyk4U20Uz9wvrHKwi9aj t9cy1f0+ADccP4O5+Wf8sGS3bKFmcrNh4QkFn8BTOw6EN2lJcCRTTh/aNhnz8Slj5I5I0g MPdSrVhX7FJyGqZDw2sTBAepRGMFa/hR8/Gg9Yn7pMhmmr1dvMN1i5dEJa22aaWzNa/vWz XFTEdM7SLrU9qnXB4ij7fVHfVjIFgEMKe/AgaqGInPCTFSmXTDZptLmvTRTnOg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WwdbZ6TNrzQd6; Sat, 31 Aug 2024 02:03:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47V23cTm041068; Sat, 31 Aug 2024 02:03:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47V23cxu041065; Sat, 31 Aug 2024 02:03:38 GMT (envelope-from git) Date: Sat, 31 Aug 2024 02:03:38 GMT Message-Id: <202408310203.47V23cxu041065@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Rick Macklem Subject: git: 6bde10b638d1 - stable/13 - nfsproto.h: Define the new mode_umask attribute List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 6bde10b638d103f18b2ba08ea743f7999b0a9abe Auto-Submitted: auto-generated The branch stable/13 has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=6bde10b638d103f18b2ba08ea743f7999b0a9abe commit 6bde10b638d103f18b2ba08ea743f7999b0a9abe Author: Rick Macklem AuthorDate: 2024-08-17 00:40:52 +0000 Commit: Rick Macklem CommitDate: 2024-08-31 02:02:57 +0000 nfsproto.h: Define the new mode_umask attribute RFC8275 defines a new attribute as an extension to NFSv4.2 called MODE_UMASK. This patch adds the attribute number to nfsproto.h. Future patches will add optional support for the attribute. This patch does not cause any semantics change. (cherry picked from commit 10d5b43424da7fadfbdcc41bbffe40d130af1e1d) --- sys/fs/nfs/nfsproto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/fs/nfs/nfsproto.h b/sys/fs/nfs/nfsproto.h index cf162dbf24e8..9c0569d97215 100644 --- a/sys/fs/nfs/nfsproto.h +++ b/sys/fs/nfs/nfsproto.h @@ -1002,7 +1002,7 @@ struct nfsv3_sattr { #define NFSATTRBIT_SPACEFREED 78 #define NFSATTRBIT_CHANGEATTRTYPE 79 #define NFSATTRBIT_SECLABEL 80 -/* Not sure what attribute bit #81 is? */ +#define NFSATTRBIT_MODEUMASK 81 #define NFSATTRBIT_XATTRSUPPORT 82 #define NFSATTRBM_SUPPORTEDATTRS 0x00000001 @@ -1086,7 +1086,7 @@ struct nfsv3_sattr { #define NFSATTRBM_SPACEFREED 0x00004000 #define NFSATTRBM_CHANGEATTRTYPE 0x00008000 #define NFSATTRBM_SECLABEL 0x00010000 -/* Not sure what attribute bit#81/0x00020000 is? */ +#define NFSATTRBM_MODEUMASK 0x00020000 #define NFSATTRBM_XATTRSUPPORT 0x00040000 #define NFSATTRBIT_MAX 83